#2882 closed defect (fixed)
Query of parameters of fluid components from OMEdit is really slow
Reported by: | Adrian Pop | Owned by: | Adrian Pop |
---|---|---|---|
Priority: | high | Milestone: | 1.9.2 |
Component: | Interactive Environment | Version: | trunk |
Keywords: | Cc: |
Description
From forum post:
https://www.openmodelica.org/forum/default-topic/1404-parameter-dialog-popup-in-omedit
This happens because we do instantiation to find out the types of the components.
Change History (7)
comment:1 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:2 by , 10 years ago
comment:3 by , 10 years ago
I have observed this bug, too, with Fluid.Vessels.ClosedVolume. Create a new modelin OMEdit, dropping a Fluid.System in it, then add a Fluid.Vessels.ClosedVolume. If I now right-click the volume to open Parameters, this takes several minutes to happen (but shows the dialog in the end). I noticed that when I do this, >1800 files named "Modelica_specificEnthalpy_pTX_NNNY" are created, where N is a number and Y is .c, .h, .o, .libs, .log, .makefile, _records.c/.o, _includes.h !
comment:5 by , 10 years ago
I'm anonymous from comment 3 and 4.
I am still seeing this bug in 1.9.1(r22929), and it makes working with OMEdit really tedious/near impossible, when opening parameters means you have to go for a coffee, and it drops thousands of files into your working directory.
Is there something I can do to speed up analysis of this bug to get it fixed soon?
comment:6 by , 10 years ago
Milestone: | Future → 1.9.2 |
---|---|
Resolution: | → fixed |
Status: | accepted → closed |
Fixed in r23131.
This bug was noticed when trying to open parameters box for the static pipe and controlled pump components. When attempting this, my computer would hang up for several minutes each time upon which the parameters box would finally open. I checked other components in the Blocks/Continuous library and the parameter popup opened instantly for those.