Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 80.88 kB / 20.82 MB, free: 3.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002157/0.002157, allocations: 169 kB / 24.24 MB, free: 220 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.649/1.649, allocations: 177.1 MB / 204.7 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.08616/0.08616, allocations: 11.37 MB / 272.5 MB, free: 2.074 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.133e-05/1.133e-05, allocations: 2.312 kB / 291.7 MB, free: 17.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel): time 0.07372/0.07373, allocations: 62.1 MB / 353.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0643/0.138, allocations: 47.41 MB / 401.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005258/0.1386, allocations: 11.94 kB / 401.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.1401, allocations: 486.2 kB / 401.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.1417, allocations: 0.6607 MB / 402.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06975/0.2115, allocations: 23.54 MB / 425.9 MB, free: 2.469 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002771/0.2143, allocations: 1.828 MB / 427.8 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.2145, allocations: 76.31 kB / 427.8 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01244/0.227, allocations: 6.192 MB / 434 MB, free: 10.36 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008782/0.2279, allocations: 323.1 kB / 434.3 MB, free: 10.04 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.228, allocations: 44 kB / 434.4 MB, free: 10 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2052/0.4331, allocations: 17.53 MB / 451.9 MB, free: 48.11 MB / 394.7 MB Notification: Performance of combineBinaries: time 0.00142/0.4346, allocations: 0.8698 MB / 452.8 MB, free: 48.07 MB / 394.7 MB Notification: Performance of replaceArrayConstructors: time 0.000451/0.435, allocations: 0.5159 MB / 453.3 MB, free: 47.85 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.4352, allocations: 71.03 kB / 453.4 MB, free: 47.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.051e-05/0.4353, allocations: 8.656 kB / 453.4 MB, free: 47.85 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 (81) * Number of variables: 126 (126) Notification: Performance of [SIM] Bindings: time 0.002902/0.4382, allocations: 3.565 MB / 457 MB, free: 46.75 MB / 394.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007415/0.4389, allocations: 0.6891 MB / 457.6 MB, free: 46.63 MB / 394.7 MB Notification: Performance of [SIM] Early Inline: time 0.002957/0.4419, allocations: 3.695 MB / 461.3 MB, free: 46.34 MB / 394.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0003235/0.4422, allocations: 258.8 kB / 461.6 MB, free: 46.23 MB / 394.7 MB Notification: Performance of [SIM] Alias: time 0.003416/0.4456, allocations: 2.97 MB / 464.6 MB, free: 45.58 MB / 394.7 MB Notification: Performance of [SIM] Simplify 2: time 0.0002496/0.4459, allocations: 212.9 kB / 464.8 MB, free: 45.5 MB / 394.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0002053/0.4461, allocations: 244.2 kB / 465 MB, free: 45.43 MB / 394.7 MB Notification: Performance of [SIM] Detect States: time 0.0006953/0.4468, allocations: 0.7611 MB / 465.8 MB, free: 45.23 MB / 394.7 MB Notification: Performance of [SIM] Events: time 0.0002647/0.447, allocations: 304.6 kB / 466.1 MB, free: 45.21 MB / 394.7 MB Notification: Performance of [SIM] Partitioning: time 0.00109/0.4481, allocations: 1.308 MB / 467.4 MB, free: 44.65 MB / 394.7 MB Notification: Performance of [SIM] Causalize: time 0.003425/0.4516, allocations: 3.261 MB / 470.6 MB, free: 43.66 MB / 394.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002495/0.4541, allocations: 3.279 MB / 473.9 MB, free: 43.48 MB / 394.7 MB Notification: Performance of [INI] Simplify: time 0.001724/0.4558, allocations: 1.142 MB / 475.1 MB, free: 43.03 MB / 394.7 MB Notification: Performance of [INI] Inline: time 0.005108/0.4609, allocations: 5.013 MB / 480.1 MB, free: 42.75 MB / 394.7 MB Notification: Performance of [INI] Partitioning: time 0.0001442/0.461, allocations: 58.62 kB / 480.1 MB, free: 42.7 MB / 394.7 MB Notification: Performance of [INI] Cleanup: time 0.0004647/0.4615, allocations: 0.6076 MB / 480.7 MB, free: 42.7 MB / 394.7 MB Notification: Performance of [INI] Causalize: time 0.002416/0.4639, allocations: 2.104 MB / 482.8 MB, free: 42.25 MB / 394.7 MB Notification: Performance of [INI] Tearing: time 0.0004484/0.4644, allocations: 339.4 kB / 483.2 MB, free: 42.14 MB / 394.7 MB Notification: Performance of [SIM] Initialization: time 1.462e-06/0.4644, allocations: 0 / 483.2 MB, free: 42.14 MB / 394.7 MB Notification: Performance of [SIM] Remove Dummies: time 4.214e-05/0.4644, allocations: 7.938 kB / 483.2 MB, free: 42.14 MB / 394.7 MB Notification: Performance of [SIM] Tearing: time 0.0003911/0.4648, allocations: 279.5 kB / 483.4 MB, free: 42.04 MB / 394.7 MB Notification: Performance of [SIM] Categorize: time 6.14e-05/0.4649, allocations: 12.78 kB / 483.5 MB, free: 42.04 MB / 394.7 MB Notification: Performance of [SIM] Solve: time 0.002425/0.4673, allocations: 1.505 MB / 485 MB, free: 41.72 MB / 394.7 MB Notification: Performance of [SIM] Jacobian: time 0.002474/0.4698, allocations: 1.753 MB / 486.7 MB, free: 40.85 MB / 394.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 1.292e-06/0.4698, allocations: 0 / 486.7 MB, free: 40.85 MB / 394.7 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 21 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {volume.medium.h, volume.medium.p} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 15 (15) {volume.medium.state.phase, volume.medium.sat.liq.phase, volume.medium.sat.vap.phase, fixedMassFlowRate.medium.state.phase, fixedMassFlowRate.medium.sat.liq.phase, fixedMassFlowRate.medium.sat.vap.phase, ambient.medium.state.phase, ambient.medium.sat.liq.phase, ambient.medium.sat.vap.phase, $FUN_1.phase, $FUN_6.phase, $FUN_12.phase, $SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 127 (scalar:127, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 128 (scalar:128, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:3) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 1, nonlinear:3) Notification: Performance of backend: time 9.442e-05/0.4699, allocations: 69.42 kB / 486.8 MB, free: 40.8 MB / 394.7 MB Error: Internal error NSimVar.SimVar.createListsByType failed because of unhandled Variable $FUN_16.liq. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.9778651911765337]