Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 109.1 kB / 17.75 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 188.6 kB / 18.68 MB, free: 4.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.737e-05, allocations: 2.281 kB / 351.9 MB, free: 3.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01511/0.01515, allocations: 12.89 MB / 364.8 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2768/0.292, allocations: 11.54 MB / 376.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.2922, allocations: 5.125 kB / 376.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.2926, allocations: 74.3 kB / 376.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.293, allocations: 80.11 kB / 376.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01924/0.3123, allocations: 5.077 MB / 381.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005545/0.3129, allocations: 248.7 kB / 381.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.201e-05/0.313, allocations: 18.62 kB / 381.8 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005357/0.3135, allocations: 210.9 kB / 382 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.3137, allocations: 66.58 kB / 382.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.3137, allocations: 7.5 kB / 382.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01574/0.3295, allocations: 6.473 MB / 388.6 MB, free: 7.723 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003907/0.3299, allocations: 217.5 kB / 388.8 MB, free: 7.59 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001483/0.3301, allocations: 141.9 kB / 388.9 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.234e-05/0.3302, allocations: 24.47 kB / 389 MB, free: 7.484 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.14e-05/0.3302, allocations: 2.281 kB / 389 MB, free: 7.484 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 (26) * Number of variables: 34 (34) Notification: Performance of Bindings: time 0.001312/0.3315, allocations: 0.8564 MB / 389.8 MB, free: 6.805 MB / 302.1 MB Notification: Performance of FunctionAlias: time 9.923e-05/0.3316, allocations: 42.52 kB / 389.9 MB, free: 6.77 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001312/0.333, allocations: 0.8875 MB / 390.7 MB, free: 6.152 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001018/0.3331, allocations: 61.55 kB / 390.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of Alias: time 0.00083/0.3339, allocations: 477 kB / 391.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of simplify2: time 9.107e-05/0.334, allocations: 72.52 kB / 391.3 MB, free: 5.699 MB / 302.1 MB Notification: Performance of Events: time 0.0003119/0.3343, allocations: 173.2 kB / 391.5 MB, free: 5.594 MB / 302.1 MB Notification: Performance of Detect States: time 0.000286/0.3346, allocations: 212.8 kB / 391.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003712/0.335, allocations: 267.5 kB / 392 MB, free: 5.219 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [ALGB] (1) Real der_T slice: {} [ALGB] (1) Real der_p slice: {} (2|2) Unmatched Equations *************************** [SCAL] (1) state.T = Modelica.Media.Water.IF97_Utilities.T_ph(smooth(1, if $SEV_3 then medium.state.p else if $SEV_4 then state2.p else 0.5 * (state2.p + medium.state.p) + 5.0 * ((-0.5) + time) * ((-3.0) + (((-0.5) + time) / 0.05) ^ 2.0) * (state2.p - medium.state.p)), smooth(1, if $SEV_3 then medium.state.h else if $SEV_4 then state2.h else 0.5 * (state2.h + medium.state.h) + 5.0 * ((-0.5) + time) * ((-3.0) + (((-0.5) + time) / 0.05) ^ 2.0) * (state2.h - medium.state.h)), 0, 0) ($RES_SIM_37) slice: {} [SCAL] (1) state.p = smooth(1, if $SEV_3 then medium.state.p else if $SEV_4 then state2.p else 0.25 * (state2.p - medium.state.p) * ((-3.0) + (((-0.5) + time) / 0.05) ^ 2.0) * (20.0 * ((-0.5) + time)) + 0.5 * (medium.state.p + state2.p)) ($RES_SIM_38) slice: {}