Opened 7 years ago
Last modified 3 years ago
#4903 new defect
Memory leak?
Reported by: | Owned by: | Lennart Ochel | |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Backend | Version: | v1.13.0-dev-nightly |
Keywords: | Cc: |
Description
I attached a fairly simple model that uses the AixLib for simulating a simple heat pump operation.
To run the model, within OMEdit:
- load AixLib (either installed default lib version 0.5.2 or github version)
- load all models in "components" subdirectory of archive
- load HPStorage_System4.mo
- run model (simulation time 1 year = 31536000 s, output steps 10 min = 600 s), use either colored jacobian (or numerical dense)...
When running the attached model I notice two things:
- performance is extremely low on Windows - model takes approx. 50 mins, OpenModelica on Linux (same machine) takes about 10 mins, whereas Dymola takes only 32 seconds... might be an indication that something is going wrong???
- during simulation the model continuously takes up memory starting with a few hundret Mb up to > 2 Gb of memory. That looks strange and may contribute to the performance problem.
Attachments (1)
Change History (8)
by , 7 years ago
Attachment: | HeatPumpTest.7z added |
---|
comment:1 by , 7 years ago
comment:2 by , 7 years ago
That would explain the poor performance. However, the continuous accumulation of memory still appears strange.
comment:4 by , 5 years ago
Milestone: | 1.14.0 → 1.16.0 |
---|
Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0
comment:6 by , 4 years ago
Milestone: | 1.17.0 → 1.18.0 |
---|
Retargeted to 1.18.0 because of 1.17.0 timed release.
Note:
See TracTickets
for help on using tickets.
Try enabling the performance debugger (simulation flags -> profiler) and you see why: many non-linear torn systems taking 50~100 evaluations per step where there are calls to expensive Media functions in the algebraic loop.