#2388 closed defect (wontfix)
The example "HeatExchangerSimulation" in Fluid Library doesn't work properly.
Reported by: | anonymous | Owned by: | Adrian Pop |
---|---|---|---|
Priority: | blocker | Milestone: | 1.9.4 |
Component: | Frontend | Version: | 1.9.0Beta |
Keywords: | Cc: |
Description
I have the latest version of openmodelica: OpenModelica 1.9.0 beta4+dev (r17414). When I simulate that project, there is an error: "Scripting: Failed to open simulation results...." Output log info is:
stdout | warning | | While solving non-linear system an assert was called.
| | | | | The non-linear solver tries to solve the problem that could take some time.
| | | | | It could help to provide better start-values for the iteration variables.
| | | | | For more information simulate with -lv LOG_NLS
LOG_NLS | warning | nonlinear system fails: Nonlinear function (residualFunc1510, size 160) at t=0
| | | | | proper start-values for some of the following iteration variables might help
| | | | | | [1] Real HEX._pipe_1._mediums[1]._p(start=?, nominal=?)
| | | | | | [2] Real HEX._pipe_2._mediums[19]._T(start=?, nominal=?)
| | | | | | [3] Real HEX._pipe_2._mediums[18]._T(start=?, nominal=?)
| | | | | | [4] Real HEX._wall._Ta[4](start=?, nominal=?)
| | | | | | [5] Real HEX._wall._T[4](start=?, nominal=?)
| | | | | | [6] Real HEX._wall._Ta[3](start=?, nominal=?)
| | | | | | [7] Real HEX._wall._T[3](start=?, nominal=?)
| | | | | | [8] Real HEX._pipe_1._mediums[2]._T(start=?, nominal=?)
| | | | | | [9] Real HEX._pipe_1._mediums[3]._p(start=?, nominal=?)
| | | | | | [10] Real HEX._pipe_1._mediums[5]._T(start=?, nominal=?)
| | | | | | [11] Real HEX._pipe_1._mediums[4]._p(start=?, nominal=?)
| | | | | | [12] Real HEX._pipe_1._heatTransfer._alphas[3](start=?, nominal=?)
| | | | | | [13] Real HEX._pipe_1._mediums[3]._T(start=?, nominal=?)
| | | | | | [14] Real HEX._wall._Tb[3](start=?, nominal=?)
| | | | | | [15] Real HEX._pipe_1._mediums[4]._T(start=?, nominal=?)
| | | | | | [16] Real HEX._pipe_1._heatTransfer._alphas[4](start=?, nominal=?)
| | | | | | [17] Real HEX._wall._Tb[4](start=?, nominal=?)
| | | | | | [18] Real HEX._wall._Ta[5](start=?, nominal=?)
| | | | | | [19] Real HEX._wall._T[5](start=?, nominal=?)
| | | | | | [20] Real HEX._wall._Tb[5](start=?, nominal=?)
| | | | | | [21] Real HEX._pipe_1._heatTransfer._alphas[5](start=?, nominal=?)
| | | | | | [22] Real HEX._pipe_1._mediums[5]._p(start=?, nominal=?)
| | | | | | [23] Real HEX._pipe_2._mediums[13]._p(start=?, nominal=?)
| | | | | | [24] Real HEX._pipe_1._mediums[7]._p(start=?, nominal=?)
| | | | | | [25] Real HEX._wall._Tb[7](start=?, nominal=?)
| | | | | | [26] Real HEX._pipe_1._heatTransfer._alphas[7](start=?, nominal=?)
| | | | | | [27] Real HEX._pipe_2._mediums[5]._p(start=?, nominal=?)
| | | | | | [28] Real HEX._pipe_2._mediums[6]._p(start=?, nominal=?)
| | | | | | [29] Real HEX._wall._Ta[18](start=?, nominal=?)
| | | | | | [30] Real HEX._wall._T[18](start=?, nominal=?)
| | | | | | [31] Real HEX._wall._Ta[16](start=?, nominal=?)
| | | | | | [32] Real HEX._wall._T[16](start=?, nominal=?)
| | | | | | [33] Real HEX._wall._Ta[14](start=?, nominal=?)
| | | | | | [34] Real HEX._wall._T[14](start=?, nominal=?)
| | | | | | [35] Real HEX._wall._Ta[13](start=?, nominal=?)
| | | | | | [36] Real HEX._wall._T[13](start=?, nominal=?)
| | | | | | [37] Real HEX._pipe_1._mediums[12]._p(start=?, nominal=?)
| | | | | | [38] Real HEX._pipe_1._mediums[13]._T(start=?, nominal=?)
| | | | | | [39] Real HEX._pipe_1._mediums[16]._p(start=?, nominal=?)
| | | | | | [40] Real HEX._pipe_1._mediums[15]._p(start=?, nominal=?)
| | | | | | [41] Real HEX._pipe_1._mediums[14]._p(start=?, nominal=?)
| | | | | | [42] Real HEX._pipe_1._mediums[13]._p(start=?, nominal=?)
| | | | | | [43] Real HEX._pipe_1._heatTransfer._alphas[13](start=?, nominal=?)
| | | | | | [44] Real HEX._wall._Tb[13](start=?, nominal=?)
| | | | | | [45] Real HEX._pipe_1._mediums[14]._T(start=?, nominal=?)
| | | | | | [46] Real HEX._pipe_1._heatTransfer._alphas[14](start=?, nominal=?)
| | | | | | [47] Real HEX._wall._Tb[14](start=?, nominal=?)
| | | | | | [48] Real HEX._wall._Ta[15](start=?, nominal=?)
| | | | | | [49] Real HEX._wall._T[15](start=?, nominal=?)
| | | | | | [50] Real HEX._wall._Tb[15](start=?, nominal=?)
| | | | | | [51] Real HEX._pipe_1._heatTransfer._alphas[15](start=?, nominal=?)
| | | | | | [52] Real HEX._pipe_1._mediums[15]._T(start=?, nominal=?)
| | | | | | [53] Real HEX._pipe_1._mediums[16]._T(start=?, nominal=?)
| | | | | | [54] Real HEX._pipe_1._heatTransfer._alphas[16](start=?, nominal=?)
| | | | | | [55] Real HEX._wall._Tb[16](start=?, nominal=?)
| | | | | | [56] Real HEX._pipe_1._mediums[17]._p(start=?, nominal=?)
| | | | | | [57] Real HEX._pipe_1._mediums[18]._p(start=?, nominal=?)
| | | | | | [58] Real HEX._pipe_1._mediums[19]._T(start=?, nominal=?)
| | | | | | [59] Real HEX._pipe_1._mediums[20]._T(start=?, nominal=?)
| | | | | | [60] Real HEX._pipe_2._mediums[1]._p(start=?, nominal=?)
| | | | | | [61] Real HEX._pipe_2._mediums[2]._p(start=?, nominal=?)
| | | | | | [62] Real HEX._pipe_2._mediums[1]._T(start=?, nominal=?)
| | | | | | [63] Real HEX._wall._Ta[20](start=?, nominal=?)
| | | | | | [64] Real HEX._wall._T[20](start=?, nominal=?)
| | | | | | [65] Real HEX._wall._Tb[20](start=?, nominal=?)
| | | | | | [66] Real HEX._pipe_1._heatTransfer._alphas[20](start=?, nominal=?)
| | | | | | [67] Real HEX._pipe_1._mediums[20]._p(start=?, nominal=?)
| | | | | | [68] Real HEX._wall._Ta[19](start=?, nominal=?)
| | | | | | [69] Real HEX._wall._T[19](start=?, nominal=?)
| | | | | | [70] Real HEX._wall._Tb[19](start=?, nominal=?)
| | | | | | [71] Real HEX._pipe_1._heatTransfer._alphas[19](start=?, nominal=?)
| | | | | | [72] Real HEX._pipe_1._mediums[19]._p(start=?, nominal=?)
| | | | | | [73] Real HEX._pipe_1._mediums[18]._T(start=?, nominal=?)
| | | | | | [74] Real HEX._pipe_1._heatTransfer._alphas[18](start=?, nominal=?)
| | | | | | [75] Real HEX._wall._Tb[18](start=?, nominal=?)
| | | | | | [76] Real HEX._pipe_1._heatTransfer._alphas[17](start=?, nominal=?)
| | | | | | [77] Real HEX._pipe_1._mediums[17]._T(start=?, nominal=?)
| | | | | | [78] Real HEX._wall._Tb[17](start=?, nominal=?)
| | | | | | [79] Real HEX._wall._T[17](start=?, nominal=?)
| | | | | | [80] Real HEX._wall._Ta[17](start=?, nominal=?)
| | | | | | [81] Real HEX._pipe_2._mediums[4]._T(start=?, nominal=?)
| | | | | | [82] Real HEX._pipe_2._mediums[3]._T(start=?, nominal=?)
| | | | | | [83] Real HEX._pipe_2._mediums[2]._T(start=?, nominal=?)
| | | | | | [84] Real HEX._pipe_2._mediums[3]._p(start=?, nominal=?)
| | | | | | [85] Real HEX._pipe_2._mediums[4]._p(start=?, nominal=?)
| | | | | | [86] Real HEX._pipe_2._mediums[5]._T(start=?, nominal=?)
| | | | | | [87] Real HEX._pipe_2._mediums[6]._T(start=?, nominal=?)
| | | | | | [88] Real HEX._pipe_2._mediums[7]._p(start=?, nominal=?)
| | | | | | [89] Real HEX._pipe_2._mediums[7]._T(start=?, nominal=?)
| | | | | | [90] Real HEX._pipe_2._mediums[8]._p(start=?, nominal=?)
| | | | | | [91] Real HEX._pipe_2._mediums[10]._p(start=?, nominal=?)
| | | | | | [92] Real HEX._pipe_2._mediums[9]._T(start=?, nominal=?)
| | | | | | [93] Real HEX._pipe_2._mediums[8]._T(start=?, nominal=?)
| | | | | | [94] Real HEX._pipe_2._mediums[9]._p(start=?, nominal=?)
| | | | | | [95] Real HEX._wall._Ta[12](start=?, nominal=?)
| | | | | | [96] Real HEX._wall._T[12](start=?, nominal=?)
| | | | | | [97] Real HEX._wall._Tb[12](start=?, nominal=?)
| | | | | | [98] Real HEX._pipe_1._mediums[12]._T(start=?, nominal=?)
| | | | | | [99] Real HEX._pipe_1._heatTransfer._alphas[12](start=?, nominal=?)
| | | | | | [100] Real HEX._pipe_1._mediums[11]._p(start=?, nominal=?)
| | | | | | [101] Real HEX._wall._Ta[11](start=?, nominal=?)
| | | | | | [102] Real HEX._wall._T[11](start=?, nominal=?)
| | | | | | [103] Real HEX._wall._Tb[11](start=?, nominal=?)
| | | | | | [104] Real HEX._pipe_1._heatTransfer._alphas[11](start=?, nominal=?)
| | | | | | [105] Real HEX._pipe_1._mediums[9]._T(start=?, nominal=?)
| | | | | | [106] Real HEX._pipe_1._mediums[10]._T(start=?, nominal=?)
| | | | | | [107] Real HEX._pipe_1._heatTransfer._alphas[10](start=?, nominal=?)
| | | | | | [108] Real HEX._pipe_1._mediums[10]._p(start=?, nominal=?)
| | | | | | [109] Real HEX._pipe_1._mediums[11]._T(start=?, nominal=?)
| | | | | | [110] Real HEX._wall._Tb[10](start=?, nominal=?)
| | | | | | [111] Real HEX._wall._T[10](start=?, nominal=?)
| | | | | | [112] Real HEX._wall._Ta[10](start=?, nominal=?)
| | | | | | [113] Real HEX._pipe_2._mediums[12]._T(start=?, nominal=?)
| | | | | | [114] Real HEX._pipe_2._mediums[11]._T(start=?, nominal=?)
| | | | | | [115] Real HEX._pipe_2._mediums[10]._T(start=?, nominal=?)
| | | | | | [116] Real HEX._pipe_2._mediums[11]._p(start=?, nominal=?)
| | | | | | [117] Real HEX._pipe_2._mediums[12]._p(start=?, nominal=?)
| | | | | | [118] Real HEX._wall._Ta[9](start=?, nominal=?)
| | | | | | [119] Real HEX._wall._T[9](start=?, nominal=?)
| | | | | | [120] Real HEX._wall._Tb[9](start=?, nominal=?)
| | | | | | [121] Real HEX._pipe_1._heatTransfer._alphas[9](start=?, nominal=?)
| | | | | | [122] Real HEX._pipe_1._mediums[9]._p(start=?, nominal=?)
| | | | | | [123] Real HEX._pipe_1._heatTransfer._alphas[8](start=?, nominal=?)
| | | | | | [124] Real HEX._pipe_1._mediums[8]._T(start=?, nominal=?)
| | | | | | [125] Real HEX._pipe_1._mediums[8]._p(start=?, nominal=?)
| | | | | | [126] Real HEX._wall._Tb[8](start=?, nominal=?)
| | | | | | [127] Real HEX._wall._T[8](start=?, nominal=?)
| | | | | | [128] Real HEX._wall._Ta[8](start=?, nominal=?)
| | | | | | [129] Real HEX._pipe_2._mediums[13]._T(start=?, nominal=?)
| | | | | | [130] Real HEX._pipe_2._mediums[16]._p(start=?, nominal=?)
| | | | | | [131] Real HEX._wall._Ta[6](start=?, nominal=?)
| | | | | | [132] Real HEX._pipe_2._mediums[15]._T(start=?, nominal=?)
| | | | | | [133] Real HEX._pipe_2._mediums[15]._p(start=?, nominal=?)
| | | | | | [134] Real HEX._pipe_2._mediums[14]._p(start=?, nominal=?)
| | | | | | [135] Real HEX._pipe_2._mediums[14]._T(start=?, nominal=?)
| | | | | | [136] Real HEX._wall._Ta[7](start=?, nominal=?)
| | | | | | [137] Real HEX._wall._T[7](start=?, nominal=?)
| | | | | | [138] Real HEX._pipe_1._mediums[7]._T(start=?, nominal=?)
| | | | | | [139] Real HEX._pipe_1._heatTransfer._alphas[6](start=?, nominal=?)
| | | | | | [140] Real HEX._pipe_1._mediums[6]._p(start=?, nominal=?)
| | | | | | [141] Real HEX._pipe_1._mediums[6]._T(start=?, nominal=?)
| | | | | | [142] Real HEX._wall._Tb[6](start=?, nominal=?)
| | | | | | [143] Real HEX._wall._T[6](start=?, nominal=?)
| | | | | | [144] Real HEX._pipe_2._mediums[16]._T(start=?, nominal=?)
| | | | | | [145] Real HEX._pipe_2._mediums[17]._p(start=?, nominal=?)
| | | | | | [146] Real HEX._pipe_2._mediums[17]._T(start=?, nominal=?)
| | | | | | [147] Real HEX._pipe_2._mediums[18]._p(start=?, nominal=?)
| | | | | | [148] Real HEX._wall._Ta[1](start=?, nominal=?)
| | | | | | [149] Real HEX._pipe_2._mediums[20]._T(start=?, nominal=?)
| | | | | | [150] Real HEX._pipe_2._mediums[20]._p(start=?, nominal=?)
| | | | | | [151] Real HEX._pipe_2._mediums[19]._p(start=?, nominal=?)
| | | | | | [152] Real HEX._wall._Ta[2](start=?, nominal=?)
| | | | | | [153] Real HEX._wall._T[2](start=?, nominal=?)
| | | | | | [154] Real HEX._wall._Tb[2](start=?, nominal=?)
| | | | | | [155] Real HEX._pipe_1._heatTransfer._alphas[2](start=?, nominal=?)
| | | | | | [156] Real HEX._pipe_1._mediums[2]._p(start=?, nominal=?)
| | | | | | [157] Real HEX._pipe_1._heatTransfer._alphas[1](start=?, nominal=?)
| | | | | | [158] Real HEX._pipe_1._mediums[1]._T(start=?, nominal=?)
| | | | | | [159] Real HEX._wall._Tb[1](start=?, nominal=?)
| | | | | | [160] Real HEX._wall._T[1](start=?, nominal=?)
stdout | warning | Error in initialization. Storing results and exiting.
| | | | Use -lv=LOG_INIT -w for more information.
Process crashed
Change History (14)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Component: | OMEdit → Backend |
---|---|
Owner: | changed from | to
comment:4 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
The non-linear system should probably be proper handled from the non-linear solver. The fallback heuristics seem to be weird somehow - even if they work in some cases ;-).
comment:5 by , 10 years ago
Milestone: | 1.9.1 → 1.9.2 |
---|
This ticket was not closed for 1.9.1, which has now been released. It was batch modified for milestone 1.9.2 (but maybe an empty milestone was more appropriate; feel free to change it).
comment:7 by , 10 years ago
btw, what is the release policy of OM? There are a number of blocking bugs still open for 1.9.2, but a release was tagged recently?
comment:8 by , 10 years ago
We're trying to get rid of as many critical or blocker bugs as possible but we also have to think about releasing sometime. It was decided to release now and continue working on the blocker bugs for the next releases.
comment:9 by , 10 years ago
Milestone: | 1.9.2 → 1.9.3 |
---|
Milestone changed to 1.9.3 since 1.9.2 was released.
comment:11 by , 9 years ago
Component: | Backend → Frontend |
---|---|
Owner: | changed from | to
This is the error message from the latest coverage test:
[/var/lib/hudson/jobs/OpenModelica_TEST_ALL_LIBRARIES/workspace/OpenModelica/build/lib/omlibrary/Modelica 3.1/Fluid/Examples/HeatExchanger.mo:190:7-195:111:writable] Error: Type mismatch for positional argument 3 in Modelica.Fluid.Examples.HeatExchanger.BaseClasses.BasicHX$HEX.Medium_1.specificEnthalpy_pTX(X={}). The argument has type: Real[0] expected type: Real[1] Error: Error occurred while flattening model Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation
comment:12 by , 9 years ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
MSL 3.1 is wrong. The model works in MSL 3.2.1 and above.
These are known issues. Check the library coverage here:
https://test.openmodelica.org/~marsj/MSL32/BuildModelRecursive.html
We're working on solving them but it will take a while.