Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|N_pump.y|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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|N_pump.y|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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 107.3 kB / 18.46 MB, free: 4.613 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.001215/0.001215, allocations: 183.8 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.135/1.135, allocations: 222.9 MB / 243.1 MB, free: 15.18 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.1696/0.1696, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.427e-05, allocations: 5.094 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed): time 0.03609/0.03611, allocations: 41.68 MB / 0.5008 GB, free: 3.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1796/0.2158, allocations: 19.86 MB / 0.5202 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006813/0.2165, allocations: 21.69 kB / 0.5202 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009048/0.2174, allocations: 442.8 kB / 0.5207 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01171/0.2291, allocations: 5.191 MB / 0.5257 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005502/0.2346, allocations: 2.445 MB / 0.5281 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001974/0.2366, allocations: 1.89 MB / 0.53 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005029/0.2371, allocations: 453.4 kB / 0.5304 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009526/0.2381, allocations: 0.828 MB / 0.5312 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005398/0.2435, allocations: 3.67 MB / 0.5348 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.736e-05/0.2436, allocations: 65.28 kB / 0.5348 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009118/0.2527, allocations: 7.309 MB / 0.542 GB, free: 4.418 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0007868/0.2535, allocations: 1.41 MB / 0.5434 GB, free: 3.508 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003156/0.2539, allocations: 0.8969 MB / 0.5442 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.254, allocations: 136.7 kB / 0.5444 GB, free: 2.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.000152/0.2542, allocations: 30.55 kB / 0.5444 GB, free: 2.824 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: 142 (122) * Number of variables: 142 (142) Notification: Performance of Bindings: time 0.0025/0.2567, allocations: 4.127 MB / 0.5484 GB, free: 15.3 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0002754/0.257, allocations: 305.9 kB / 0.5487 GB, free: 15.02 MB / 398.1 MB Notification: Performance of Early Inline: time 0.002246/0.2592, allocations: 2.525 MB / 0.5512 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simplify1: time 0.0001371/0.2594, allocations: 164.6 kB / 0.5513 GB, free: 12.36 MB / 398.1 MB Notification: Performance of Alias: time 0.002296/0.2617, allocations: 2.411 MB / 0.5537 GB, free: 9.742 MB / 398.1 MB Notification: Performance of simplify2: time 0.0001264/0.2618, allocations: 157.1 kB / 0.5538 GB, free: 9.598 MB / 398.1 MB Notification: Performance of Events: time 0.0005369/0.2623, allocations: 0.5254 MB / 0.5544 GB, free: 9.07 MB / 398.1 MB Notification: Performance of Detect States: time 0.0004504/0.2628, allocations: 0.5857 MB / 0.5549 GB, free: 8.48 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0008173/0.2636, allocations: 0.9094 MB / 0.5558 GB, free: 7.445 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_131)