Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001731/0.001731, allocations: 110.1 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001922/0.001922, allocations: 207.9 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.15/1.15, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.177/0.177, allocations: 46.11 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018e-05/1.019e-05, allocations: 2.281 kB / 481.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault): time 0.1963/0.1963, allocations: 41.8 MB / 0.5114 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0182/0.2145, allocations: 19.87 MB / 0.5309 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007353/0.2153, allocations: 19.12 kB / 0.5309 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009367/0.2163, allocations: 435.8 kB / 0.5313 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.2275, allocations: 5.185 MB / 0.5363 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005145/0.2327, allocations: 2.426 MB / 0.5387 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001648/0.2343, allocations: 1.868 MB / 0.5405 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004323/0.2348, allocations: 459.9 kB / 0.541 GB, free: 5.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008476/0.2356, allocations: 0.8264 MB / 0.5418 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005029/0.2407, allocations: 3.663 MB / 0.5454 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.382e-05/0.2408, allocations: 63.44 kB / 0.5454 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009528/0.2503, allocations: 7.326 MB / 0.5526 GB, free: 14.48 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0009592/0.2513, allocations: 1.392 MB / 0.5539 GB, free: 13.07 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004985/0.2518, allocations: 0.8989 MB / 0.5548 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.2519, allocations: 139.6 kB / 0.555 GB, free: 12.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0001324/0.2521, allocations: 23.92 kB / 0.555 GB, free: 12 MB / 398.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.003198/0.2553, allocations: 4.086 MB / 0.559 GB, free: 7.762 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0002091/0.2555, allocations: 206.2 kB / 0.5592 GB, free: 7.562 MB / 398.1 MB Notification: Performance of Early Inline: time 0.002296/0.2578, allocations: 2.582 MB / 0.5617 GB, free: 4.93 MB / 398.1 MB Notification: Performance of simplify1: time 0.0001454/0.258, allocations: 163.8 kB / 0.5618 GB, free: 4.77 MB / 398.1 MB Notification: Performance of Alias: time 0.0023/0.2603, allocations: 2.441 MB / 0.5642 GB, free: 2.094 MB / 398.1 MB Notification: Performance of simplify2: time 0.0001434/0.2604, allocations: 155.8 kB / 0.5644 GB, free: 1.941 MB / 398.1 MB Notification: Performance of Events: time 0.0004542/0.2609, allocations: 434.5 kB / 0.5648 GB, free: 1.512 MB / 398.1 MB Notification: Performance of Detect States: time 0.000447/0.2613, allocations: 0.5679 MB / 0.5653 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0007999/0.2621, allocations: 0.8999 MB / 0.5662 GB, free: 15.91 MB / 414.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)