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.001173/0.001173, allocations: 110.7 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.00138/0.00138, allocations: 185.4 kB / 19.39 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.401/1.401, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2227/0.2227, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/2.837e-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.04271/0.04275, allocations: 41.65 MB / 0.5008 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3952/0.438, allocations: 19.86 MB / 0.5202 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.4397, allocations: 19.28 kB / 0.5202 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.4415, allocations: 441.9 kB / 0.5206 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01959/0.4612, allocations: 5.177 MB / 0.5257 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008266/0.4694, allocations: 2.447 MB / 0.5281 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003424/0.4729, allocations: 1.895 MB / 0.5299 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009279/0.4738, allocations: 454 kB / 0.5304 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.4759, allocations: 0.8244 MB / 0.5312 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007767/0.4837, allocations: 3.733 MB / 0.5348 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002135/0.4839, allocations: 63.78 kB / 0.5349 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01665/0.5006, allocations: 7.306 MB / 0.542 GB, free: 4.461 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001511/0.5021, allocations: 1.394 MB / 0.5434 GB, free: 3.562 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005086/0.5027, allocations: 0.8942 MB / 0.5442 GB, free: 2.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002586/0.5029, allocations: 139.2 kB / 0.5444 GB, free: 2.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0002978/0.5032, allocations: 24.66 kB / 0.5444 GB, free: 2.883 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.003468/0.5067, allocations: 4.096 MB / 0.5484 GB, free: 15.36 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0002756/0.507, allocations: 197.1 kB / 0.5486 GB, free: 15.18 MB / 398.1 MB Notification: Performance of Early Inline: time 0.002745/0.5097, allocations: 2.485 MB / 0.551 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simplify1: time 0.0001891/0.5099, allocations: 162.4 kB / 0.5512 GB, free: 12.56 MB / 398.1 MB Notification: Performance of Alias: time 0.002855/0.5128, allocations: 2.352 MB / 0.5535 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simplify2: time 0.0001908/0.513, allocations: 156.1 kB / 0.5536 GB, free: 9.875 MB / 398.1 MB Notification: Performance of Detect States: time 0.0006007/0.5136, allocations: 0.5425 MB / 0.5541 GB, free: 9.332 MB / 398.1 MB Notification: Performance of Events: time 0.0006384/0.5143, allocations: 0.5126 MB / 0.5546 GB, free: 8.809 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0009811/0.5153, allocations: 0.9164 MB / 0.5555 GB, free: 7.766 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)