Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.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.TestWaterPumpNPSH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001772, allocations: 107.4 kB / 18.46 MB, free: 4.625 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.001708/0.001709, allocations: 182.5 kB / 19.39 MB, free: 3.703 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.405/1.405, 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.2365/0.2365, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.26e-05, allocations: 5.375 kB / 471.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH): time 0.04774/0.04777, allocations: 41.71 MB / 0.5009 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3157/0.3635, allocations: 20.48 MB / 0.5208 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.3648, allocations: 19.09 kB / 0.5209 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.3662, allocations: 443 kB / 0.5213 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01926/0.3855, allocations: 5.265 MB / 0.5264 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01048/0.396, allocations: 2.44 MB / 0.5288 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004791/0.4009, allocations: 1.898 MB / 0.5307 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007658/0.4016, allocations: 461.1 kB / 0.5311 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.4034, allocations: 0.8158 MB / 0.5319 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007066/0.4105, allocations: 3.688 MB / 0.5355 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000225/0.4108, allocations: 63.97 kB / 0.5356 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01592/0.4267, allocations: 7.345 MB / 0.5427 GB, free: 4.207 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001393/0.4281, allocations: 1.426 MB / 0.5441 GB, free: 3.289 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.000471/0.4286, allocations: 0.9114 MB / 0.545 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.4288, allocations: 144.9 kB / 0.5452 GB, free: 2.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0002638/0.4291, allocations: 20.66 kB / 0.5452 GB, free: 2.602 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: 146 (126) * Number of variables: 146 (146) Notification: Performance of Bindings: time 0.003449/0.4326, allocations: 4.257 MB / 0.5493 GB, free: 14.75 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.000401/0.433, allocations: 261.4 kB / 0.5496 GB, free: 14.51 MB / 398.1 MB Notification: Performance of Early Inline: time 0.002842/0.4358, allocations: 2.592 MB / 0.5521 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simplify1: time 0.0001845/0.436, allocations: 157.8 kB / 0.5523 GB, free: 11.8 MB / 398.1 MB Notification: Performance of Alias: time 0.003365/0.4394, allocations: 2.551 MB / 0.5548 GB, free: 9.031 MB / 398.1 MB Notification: Performance of simplify2: time 0.0001688/0.4396, allocations: 164.2 kB / 0.5549 GB, free: 8.879 MB / 398.1 MB Notification: Performance of Detect States: time 0.0004645/0.4401, allocations: 0.499 MB / 0.5554 GB, free: 8.379 MB / 398.1 MB Notification: Performance of Events: time 0.0008235/0.4409, allocations: 0.5292 MB / 0.5559 GB, free: 7.848 MB / 398.1 MB Notification: Performance of Partitioning: time 0.001483/0.4424, allocations: 0.916 MB / 0.5568 GB, free: 6.82 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_135)