Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 110.8 kB / 18.47 MB, free: 4.594 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.001199/0.001199, allocations: 181.3 kB / 19.39 MB, free: 3.672 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.449/1.449, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2243/0.2243, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/2.871e-05, allocations: 2.281 kB / 471.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04856/0.04859, allocations: 39.02 MB / 0.4982 GB, free: 6.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3421/0.3908, allocations: 20.14 MB / 0.5179 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.3918, allocations: 22.5 kB / 0.5179 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.3933, allocations: 443.3 kB / 0.5184 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01783/0.4111, allocations: 5.143 MB / 0.5234 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009015/0.4201, allocations: 2.568 MB / 0.5259 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003886/0.424, allocations: 2.083 MB / 0.5279 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000909/0.425, allocations: 478.5 kB / 0.5284 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009145/0.4341, allocations: 4.267 MB / 0.5326 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009308/0.4434, allocations: 5.401 MB / 0.5378 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002578/0.4437, allocations: 60.91 kB / 0.5379 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01445/0.4582, allocations: 6.766 MB / 0.5445 GB, free: 2.633 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.00164/0.4599, allocations: 1.453 MB / 0.5459 GB, free: 1.602 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004836/0.4604, allocations: 0.9417 MB / 0.5468 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.4606, allocations: 135.6 kB / 0.547 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0002684/0.4609, allocations: 23.88 kB / 0.547 GB, free: 0.5352 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 (122) * Number of variables: 170 (131) Notification: Performance of Bindings: time 0.004305/0.4652, allocations: 4.298 MB / 0.5512 GB, free: 12.18 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.000247/0.4654, allocations: 181 kB / 0.5514 GB, free: 12.01 MB / 398.1 MB Notification: Performance of Early Inline: time 0.002204/0.4676, allocations: 2.045 MB / 0.5533 GB, free: 9.977 MB / 398.1 MB Notification: Performance of simplify1: time 0.0001563/0.4678, allocations: 116.8 kB / 0.5535 GB, free: 9.871 MB / 398.1 MB Notification: Performance of Alias: time 0.002352/0.4702, allocations: 1.958 MB / 0.5554 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simplify2: time 0.0001322/0.4703, allocations: 106 kB / 0.5555 GB, free: 7.629 MB / 398.1 MB Notification: Performance of Detect States: time 0.0005199/0.4709, allocations: 0.4948 MB / 0.556 GB, free: 7.129 MB / 398.1 MB Notification: Performance of Events: time 0.000459/0.4713, allocations: 349.9 kB / 0.5563 GB, free: 6.789 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0009678/0.4723, allocations: 0.9578 MB / 0.5572 GB, free: 5.656 MB / 398.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(4) {shortPipe.flowModel.states[1].d, shortPipe.flowModel.states[2].d}, does not fit the equation size 2. Error: Internal error NBSlice.resolveDependency failed for: shortPipe.flowModel.states.d. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (2) ($RES_BND_150) [----] for $i1 in 1:2 loop [----] [SCAL] (1) shortPipe.flowModel.rhos[$i1] = shortPipe.flowModel.states.d ($RES_BND_151) [----] end for;