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.001501/0.001501, 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.002083/0.002083, 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.429/1.429, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2514/0.2514, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.154e-05, allocations: 2.281 kB / 471.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV): time 0.04888/0.04891, allocations: 41.74 MB / 0.5009 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3154/0.3643, allocations: 19.92 MB / 0.5203 GB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.3659, allocations: 24.16 kB / 0.5204 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.3673, allocations: 451.5 kB / 0.5208 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01904/0.3863, allocations: 5.177 MB / 0.5259 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009517/0.3958, allocations: 2.473 MB / 0.5283 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003877/0.3997, allocations: 1.919 MB / 0.5301 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007828/0.4005, allocations: 467.3 kB / 0.5306 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.4023, allocations: 0.8416 MB / 0.5314 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007334/0.4097, allocations: 3.689 MB / 0.535 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.4099, allocations: 67.66 kB / 0.5351 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01606/0.426, allocations: 7.305 MB / 0.5422 GB, free: 4.316 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001462/0.4274, allocations: 1.464 MB / 0.5436 GB, free: 3.367 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005284/0.428, allocations: 0.9165 MB / 0.5445 GB, free: 2.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002494/0.4282, allocations: 145.3 kB / 0.5447 GB, free: 2.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.000291/0.4285, allocations: 19.59 kB / 0.5447 GB, free: 2.676 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.003457/0.432, allocations: 4.225 MB / 0.5488 GB, free: 14.98 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.000387/0.4324, allocations: 341.5 kB / 0.5491 GB, free: 14.65 MB / 398.1 MB Notification: Performance of Early Inline: time 0.002839/0.4352, allocations: 2.621 MB / 0.5517 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simplify1: time 0.0001878/0.4354, allocations: 169.3 kB / 0.5519 GB, free: 11.9 MB / 398.1 MB Notification: Performance of Alias: time 0.002933/0.4384, allocations: 2.502 MB / 0.5543 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simplify2: time 0.0002025/0.4386, allocations: 172.3 kB / 0.5545 GB, free: 9.023 MB / 398.1 MB Notification: Performance of Detect States: time 0.0005337/0.4391, allocations: 0.5352 MB / 0.555 GB, free: 8.488 MB / 398.1 MB Notification: Performance of Events: time 0.0006771/0.4398, allocations: 0.5307 MB / 0.5555 GB, free: 7.949 MB / 398.1 MB Notification: Performance of Partitioning: time 0.001007/0.4408, allocations: 0.9476 MB / 0.5564 GB, free: 6.879 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)