Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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 Adrian Pop, 10 years ago

Owner: changed from somebody to Adrian Pop
Status: newaccepted

comment:2 by anonymous, 10 years ago

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.

comment:3 by anonymous, 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:4 by anonymous, 10 years ago

To be clear, I'm not the (original?) reporter from comment 2.

comment:5 by Christoph, 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 Adrian Pop, 10 years ago

Milestone: Future1.9.2
Resolution: fixed
Status: acceptedclosed

Fixed in r23131.

comment:7 by Christoph <buchner@…>, 10 years ago

Great, thank you very much!

Note: See TracTickets for help on using tickets.