Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,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.TestWaterPumpDefaultCV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,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.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 102.3 kB / 18.46 MB, free: 4.602 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.001545/0.001546, allocations: 192.2 kB / 19.39 MB, free: 3.676 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.419/1.419, 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.2381/0.2381, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.197e-05, allocations: 5.938 kB / 471.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV): time 0.04182/0.04185, allocations: 41.74 MB / 0.5009 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.316/0.3579, allocations: 19.93 MB / 0.5203 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.3594, allocations: 19.94 kB / 0.5204 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.3609, allocations: 453.9 kB / 0.5208 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01875/0.3797, allocations: 5.158 MB / 0.5258 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008546/0.3883, allocations: 2.463 MB / 0.5282 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003627/0.3919, allocations: 1.922 MB / 0.5301 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008577/0.3928, allocations: 462.6 kB / 0.5306 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.3947, allocations: 0.8437 MB / 0.5314 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007768/0.4025, allocations: 3.686 MB / 0.535 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002466/0.4028, allocations: 65.19 kB / 0.535 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01552/0.4183, allocations: 7.314 MB / 0.5422 GB, free: 4.359 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001324/0.4197, allocations: 1.449 MB / 0.5436 GB, free: 3.422 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004578/0.4201, allocations: 0.9271 MB / 0.5445 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002351/0.4204, allocations: 140.2 kB / 0.5446 GB, free: 2.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0003041/0.4207, allocations: 26.41 kB / 0.5447 GB, free: 2.719 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.003799/0.4245, allocations: 4.23 MB / 0.5488 GB, free: 15.02 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0003981/0.4249, allocations: 340 kB / 0.5491 GB, free: 14.68 MB / 398.1 MB Notification: Performance of Early Inline: time 0.003086/0.428, allocations: 2.614 MB / 0.5517 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simplify1: time 0.0002185/0.4282, allocations: 167.9 kB / 0.5518 GB, free: 11.94 MB / 398.1 MB Notification: Performance of Alias: time 0.003336/0.4316, allocations: 2.503 MB / 0.5543 GB, free: 9.223 MB / 398.1 MB Notification: Performance of simplify2: time 0.0002093/0.4318, allocations: 175.5 kB / 0.5544 GB, free: 9.059 MB / 398.1 MB Notification: Performance of Events: time 0.0007137/0.4325, allocations: 0.5333 MB / 0.555 GB, free: 8.523 MB / 398.1 MB Notification: Performance of Detect States: time 0.0005998/0.4331, allocations: 0.6129 MB / 0.5556 GB, free: 7.902 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0011/0.4342, allocations: 0.946 MB / 0.5565 GB, free: 6.836 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_139)