Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001191/0.001192, allocations: 103.9 kB / 18.41 MB, free: 4.648 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.00136/0.00136, allocations: 191.8 kB / 19.35 MB, free: 3.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.512e-05, allocations: 7.062 kB / 329.1 MB, free: 3.367 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01515/0.01518, allocations: 12.91 MB / 342.1 MB, free: 6.395 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.0277, allocations: 11.54 MB / 353.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.02785, allocations: 4 kB / 353.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.0282, allocations: 67.62 kB / 353.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.02848, allocations: 87.36 kB / 353.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01436/0.04291, allocations: 5.064 MB / 358.8 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.0434, allocations: 250.9 kB / 359.1 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.401e-05/0.04346, allocations: 8.234 kB / 359.1 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005597/0.04403, allocations: 207.1 kB / 359.3 MB, free: 5.125 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.04422, allocations: 71.7 kB / 359.3 MB, free: 5.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.04425, allocations: 8 kB / 359.3 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01045/0.0547, allocations: 6.466 MB / 365.8 MB, free: 14.57 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002305/0.05495, allocations: 221.6 kB / 366 MB, free: 14.36 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 9.57e-05/0.05505, allocations: 134.1 kB / 366.2 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.0551, allocations: 23.94 kB / 366.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.224e-05/0.05514, allocations: 11.94 kB / 366.2 MB, free: 14.19 MB / 318.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.001086/0.05624, allocations: 0.8599 MB / 367.1 MB, free: 13.22 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.201e-05/0.05631, allocations: 39.81 kB / 367.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001182/0.0575, allocations: 0.8995 MB / 368 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simplify1: time 8.297e-05/0.05759, allocations: 59.92 kB / 368 MB, free: 12.2 MB / 318.1 MB Notification: Performance of Alias: time 0.0007842/0.05838, allocations: 478.8 kB / 368.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simplify2: time 9.891e-05/0.05849, allocations: 71.91 kB / 368.6 MB, free: 11.58 MB / 318.1 MB Notification: Performance of Events: time 0.0002971/0.0588, allocations: 185 kB / 368.8 MB, free: 11.4 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002762/0.05908, allocations: 193.2 kB / 369 MB, free: 11.2 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000286/0.05938, allocations: 268.5 kB / 369.2 MB, free: 10.89 MB / 318.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) medium.phase = if $SEV_2 then 1 else 2 ($RES_SIM_25) slice: {} [SCAL] (1) state2.p = 1e5 * (1.0 + time) ($RES_SIM_33) slice: {}