Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestWaterPumpCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Source.ports.2..m_flow|Source.ports.2..p|Source.ports.2..h_outflow|Source.ports.3..m_flow|Source.ports.3..p|Source.ports.3..h_outflow|Source.ports.4..m_flow|Source.ports.4..p|Source.ports.4..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Sink.ports.2..m_flow|Sink.ports.2..p|Sink.ports.2..h_outflow|Sink.ports.3..m_flow|Sink.ports.3..p|Sink.ports.3..h_outflow|Sink.ports.4..m_flow|Sink.ports.4..p|Sink.ports.4..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|downstreamPressure.y|pumpPolynomial.port_b.m_flow|pumpPolynomial.port_b.p|pumpPolynomial.port_b.h_outflow|pumpQuadraticLinear.port_b.m_flow|pumpQuadraticLinear.port_b.p|pumpQuadraticLinear.port_b.h_outflow|pumpLinear.port_b.m_flow|pumpLinear.port_b.p|pumpLinear.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Source.ports.2..m_flow|Source.ports.2..p|Source.ports.2..h_outflow|Source.ports.3..m_flow|Source.ports.3..p|Source.ports.3..h_outflow|Source.ports.4..m_flow|Source.ports.4..p|Source.ports.4..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Sink.ports.2..m_flow|Sink.ports.2..p|Sink.ports.2..h_outflow|Sink.ports.3..m_flow|Sink.ports.3..p|Sink.ports.3..h_outflow|Sink.ports.4..m_flow|Sink.ports.4..p|Sink.ports.4..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|downstreamPressure.y|pumpPolynomial.port_b.m_flow|pumpPolynomial.port_b.p|pumpPolynomial.port_b.h_outflow|pumpQuadraticLinear.port_b.m_flow|pumpQuadraticLinear.port_b.p|pumpQuadraticLinear.port_b.h_outflow|pumpLinear.port_b.m_flow|pumpLinear.port_b.p|pumpLinear.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 109.6 kB / 17.09 MB, free: 6.008 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.001487/0.001487, allocations: 200.2 kB / 18.02 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2739/0.2739, allocations: 43.53 MB / 314.8 MB, free: 476 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.399e-05/3.4e-05, allocations: 2.281 kB / 442.4 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics): time 0.08832/0.08836, allocations: 72.46 MB / 0.5028 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03997/0.1284, allocations: 23.38 MB / 0.5257 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003849/0.1323, allocations: 35.75 kB / 0.5257 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00516/0.1375, allocations: 0.9006 MB / 0.5266 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.4861/0.6236, allocations: 6.406 MB / 0.5328 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01521/0.6389, allocations: 3.819 MB / 0.5365 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009083/0.648, allocations: 3.899 MB / 0.5404 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002401/0.6504, allocations: 0.9352 MB / 0.5413 GB, free: 7.086 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005598/0.6561, allocations: 1.582 MB / 0.5428 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01988/0.676, allocations: 7.417 MB / 0.5501 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007502/0.6768, allocations: 130.4 kB / 0.5502 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02339/0.7002, allocations: 8.047 MB / 0.558 GB, free: 5.16 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.005224/0.7055, allocations: 2.889 MB / 0.5609 GB, free: 3.84 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001992/0.7075, allocations: 1.86 MB / 0.5627 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.7086, allocations: 285 kB / 0.563 GB, free: 2.715 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0005272/0.7091, allocations: 42.83 kB / 0.563 GB, free: 2.711 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 (264) * Number of variables: 324 (306) Notification: Performance of Bindings: time 0.01066/0.7198, allocations: 8.66 MB / 0.5715 GB, free: 15.33 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.001523/0.7213, allocations: 1.06 MB / 0.5725 GB, free: 15.08 MB / 430.1 MB Notification: Performance of Early Inline: time 0.006483/0.7278, allocations: 4.14 MB / 0.5765 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simplify1: time 0.0005434/0.7284, allocations: 272.2 kB / 0.5768 GB, free: 14.77 MB / 430.1 MB Notification: Performance of Alias: time 0.008211/0.7366, allocations: 4.701 MB / 0.5814 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simplify2: time 0.0007126/0.7374, allocations: 280.8 kB / 0.5816 GB, free: 12.54 MB / 430.1 MB Notification: Performance of Events: time 0.001678/0.7391, allocations: 1.122 MB / 0.5827 GB, free: 11.56 MB / 430.1 MB Notification: Performance of Detect States: time 0.001473/0.7406, allocations: 1.075 MB / 0.5838 GB, free: 10.52 MB / 430.1 MB Notification: Performance of Partitioning: time 0.003029/0.7436, allocations: 1.788 MB / 0.5855 GB, free: 8.531 MB / 430.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_278)