Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 115 kB / 18.47 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 209.1 kB / 19.42 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.153/1.153, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1763/0.1763, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.604e-05, allocations: 2.281 kB / 481.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics): time 0.2156/0.2157, allocations: 72.7 MB / 0.5416 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0236/0.2393, allocations: 23.44 MB / 0.5645 GB, free: 32 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.2407, allocations: 36.41 kB / 0.5645 GB, free: 16 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.2427, allocations: 0.9082 MB / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01429/0.257, allocations: 6.439 MB / 0.5717 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00835/0.2654, allocations: 3.906 MB / 0.5755 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004183/0.2696, allocations: 3.911 MB / 0.5793 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.2709, allocations: 0.9389 MB / 0.5803 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.2734, allocations: 1.596 MB / 0.5818 GB, free: 428 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01165/0.285, allocations: 7.414 MB / 0.5891 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002797/0.2853, allocations: 132 kB / 0.5892 GB, free: 8.766 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/0.2975, allocations: 8.062 MB / 0.5971 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.002008/0.2995, allocations: 2.901 MB / 0.5999 GB, free: 13.77 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.001019/0.3006, allocations: 1.857 MB / 0.6017 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003308/0.3009, allocations: 279.3 kB / 0.602 GB, free: 11.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0002738/0.3012, allocations: 51.75 kB / 0.602 GB, free: 11.57 MB / 446.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.006751/0.3079, allocations: 8.674 MB / 0.6105 GB, free: 2.617 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0008586/0.3088, allocations: 1.077 MB / 0.6115 GB, free: 1.52 MB / 446.1 MB Notification: Performance of Early Inline: time 0.003613/0.3124, allocations: 4.141 MB / 0.6156 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simplify1: time 0.0002481/0.3127, allocations: 279.6 kB / 0.6159 GB, free: 13.04 MB / 462.1 MB Notification: Performance of Alias: time 0.004422/0.3171, allocations: 4.688 MB / 0.6204 GB, free: 7.832 MB / 462.1 MB Notification: Performance of simplify2: time 0.0002416/0.3174, allocations: 287.6 kB / 0.6207 GB, free: 7.551 MB / 462.1 MB Notification: Performance of Events: time 0.001017/0.3184, allocations: 1.106 MB / 0.6218 GB, free: 6.414 MB / 462.1 MB Notification: Performance of Detect States: time 0.0008273/0.3192, allocations: 1.08 MB / 0.6228 GB, free: 5.301 MB / 462.1 MB Notification: Performance of Partitioning: time 0.001636/0.3209, allocations: 1.776 MB / 0.6246 GB, free: 3.316 MB / 462.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)