Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|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|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|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|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 110.8 kB / 18.47 MB, free: 4.703 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.00151/0.00151, allocations: 181.3 kB / 19.4 MB, free: 3.781 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.439/1.439, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2104/0.2104, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.225e-05/3.227e-05, allocations: 4.531 kB / 471.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump): time 0.3487/0.3487, allocations: 72.84 MB / 0.5313 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03686/0.3856, allocations: 26.68 MB / 0.5573 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002943/0.3886, allocations: 44.66 kB / 0.5574 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003025/0.3916, allocations: 0.87 MB / 0.5582 GB, free: 8.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0219/0.4136, allocations: 6.349 MB / 0.5644 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01389/0.4275, allocations: 4.116 MB / 0.5684 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007418/0.435, allocations: 3.851 MB / 0.5722 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002575/0.4376, allocations: 0.9325 MB / 0.5731 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004877/0.4425, allocations: 1.541 MB / 0.5746 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01685/0.4594, allocations: 7.379 MB / 0.5818 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008495/0.4603, allocations: 136 kB / 0.5819 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02554/0.4858, allocations: 11.18 MB / 0.5929 GB, free: 7.707 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.004108/0.49, allocations: 2.897 MB / 0.5957 GB, free: 4.781 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.00199/0.492, allocations: 1.841 MB / 0.5975 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009272/0.4929, allocations: 275.2 kB / 0.5977 GB, free: 2.648 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0005649/0.4935, allocations: 55.8 kB / 0.5978 GB, free: 2.594 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 (249) * Number of variables: 289 (289) Notification: Performance of Bindings: time 0.01197/0.5055, allocations: 8.212 MB / 0.6058 GB, free: 10.12 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.001695/0.5072, allocations: 0.9647 MB / 0.6068 GB, free: 9.133 MB / 446.1 MB Notification: Performance of Early Inline: time 0.009237/0.5165, allocations: 5.19 MB / 0.6118 GB, free: 3.855 MB / 446.1 MB Notification: Performance of simplify1: time 0.0008776/0.5174, allocations: 343.5 kB / 0.6122 GB, free: 3.52 MB / 446.1 MB Notification: Performance of Alias: time 0.008824/0.5263, allocations: 5.084 MB / 0.6171 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simplify2: time 0.0008275/0.5272, allocations: 331.5 kB / 0.6174 GB, free: 13.64 MB / 462.1 MB Notification: Performance of Detect States: time 0.001617/0.5288, allocations: 0.9997 MB / 0.6184 GB, free: 12.62 MB / 462.1 MB Notification: Performance of Events: time 0.002184/0.531, allocations: 1.282 MB / 0.6197 GB, free: 11.3 MB / 462.1 MB Notification: Performance of Partitioning: time 0.003489/0.5345, allocations: 1.819 MB / 0.6214 GB, free: 9.238 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_267)