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.001052/0.001052, allocations: 112.5 kB / 18.47 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.00106/0.00106, allocations: 185.2 kB / 19.39 MB, free: 3.691 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.158/1.158, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.173/0.173, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.521e-05, allocations: 2.281 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH): time 0.03502/0.03504, allocations: 41.71 MB / 0.5009 GB, free: 3.344 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1743/0.2094, allocations: 20.47 MB / 0.5208 GB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007314/0.2102, allocations: 20.09 kB / 0.5209 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009647/0.2111, allocations: 442.1 kB / 0.5213 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.2226, allocations: 5.273 MB / 0.5264 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005142/0.2277, allocations: 2.439 MB / 0.5288 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.2297, allocations: 1.898 MB / 0.5307 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006324/0.2303, allocations: 453 kB / 0.5311 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.2316, allocations: 0.8248 MB / 0.5319 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005616/0.2372, allocations: 3.687 MB / 0.5355 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.2373, allocations: 66.66 kB / 0.5356 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008528/0.2459, allocations: 7.344 MB / 0.5427 GB, free: 4.188 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0009288/0.2468, allocations: 1.423 MB / 0.5441 GB, free: 3.273 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004241/0.2472, allocations: 0.911 MB / 0.545 GB, free: 2.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.2475, allocations: 139 kB / 0.5452 GB, free: 2.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001297/0.2476, allocations: 34.55 kB / 0.5452 GB, free: 2.578 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.002897/0.2505, allocations: 4.25 MB / 0.5493 GB, free: 14.75 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0003142/0.2508, allocations: 252.2 kB / 0.5496 GB, free: 14.52 MB / 398.1 MB Notification: Performance of Early Inline: time 0.002931/0.2537, allocations: 2.598 MB / 0.5521 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simplify1: time 0.0001935/0.254, allocations: 166.3 kB / 0.5523 GB, free: 11.79 MB / 398.1 MB Notification: Performance of Alias: time 0.00253/0.2565, allocations: 2.532 MB / 0.5547 GB, free: 9.043 MB / 398.1 MB Notification: Performance of simplify2: time 0.0001848/0.2567, allocations: 165.1 kB / 0.5549 GB, free: 8.891 MB / 398.1 MB Notification: Performance of Events: time 0.0005615/0.2573, allocations: 0.5259 MB / 0.5554 GB, free: 8.363 MB / 398.1 MB Notification: Performance of Detect States: time 0.0005145/0.2578, allocations: 0.5888 MB / 0.556 GB, free: 7.77 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0008903/0.2587, allocations: 0.9157 MB / 0.5569 GB, free: 6.738 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)