Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 110.2 kB / 18.46 MB, free: 4.605 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.001415/0.001415, allocations: 194.5 kB / 19.4 MB, free: 3.68 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.394/1.394, allocations: 222.9 MB / 243.1 MB, free: 15.16 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.2132/0.2132, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.795e-05, allocations: 2.281 kB / 471.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.05139/0.05142, allocations: 41.65 MB / 0.5008 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3532/0.4047, allocations: 19.86 MB / 0.5202 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.4062, allocations: 18.91 kB / 0.5202 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.4077, allocations: 441.2 kB / 0.5206 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02069/0.4284, allocations: 5.173 MB / 0.5257 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009183/0.4376, allocations: 2.43 MB / 0.5281 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00378/0.4414, allocations: 1.899 MB / 0.5299 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007933/0.4422, allocations: 442.6 kB / 0.5303 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.4442, allocations: 0.8291 MB / 0.5311 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008939/0.4531, allocations: 3.736 MB / 0.5348 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002833/0.4534, allocations: 62.47 kB / 0.5348 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01818/0.4716, allocations: 7.305 MB / 0.542 GB, free: 4.461 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001659/0.4733, allocations: 1.395 MB / 0.5433 GB, free: 3.559 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.000574/0.4739, allocations: 0.8926 MB / 0.5442 GB, free: 2.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.4742, allocations: 140.4 kB / 0.5443 GB, free: 2.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0003371/0.4746, allocations: 25.84 kB / 0.5444 GB, free: 2.879 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: 142 (122) * Number of variables: 142 (142) Notification: Performance of Bindings: time 0.00386/0.4784, allocations: 4.095 MB / 0.5484 GB, free: 15.39 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0002793/0.4787, allocations: 185.5 kB / 0.5485 GB, free: 15.22 MB / 398.1 MB Notification: Performance of Early Inline: time 0.002995/0.4817, allocations: 2.491 MB / 0.551 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simplify1: time 0.0002288/0.482, allocations: 158.5 kB / 0.5511 GB, free: 12.6 MB / 398.1 MB Notification: Performance of Alias: time 0.003113/0.4851, allocations: 2.373 MB / 0.5535 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simplify2: time 0.0002022/0.4853, allocations: 141.7 kB / 0.5536 GB, free: 9.906 MB / 398.1 MB Notification: Performance of Events: time 0.0005978/0.4859, allocations: 431.5 kB / 0.554 GB, free: 9.496 MB / 398.1 MB Notification: Performance of Detect States: time 0.000789/0.4867, allocations: 0.7046 MB / 0.5547 GB, free: 8.77 MB / 398.1 MB Notification: Performance of Partitioning: time 0.001093/0.4878, allocations: 0.9205 MB / 0.5556 GB, free: 7.719 MB / 398.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(1) {pump.heatTransfer.states[1].phase}, does not fit the equation size 5. Error: Internal error NBSlice.resolveDependency failed for: pump.heatTransfer.states.phase. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (5) pump.heatTransfer.states = {pump.medium.state} ($RES_BND_133)