Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00114/0.00114, allocations: 121 kB / 18.48 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 208.9 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.145/1.145, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1726/0.1726, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.525e-05, allocations: 2.281 kB / 481.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump): time 0.2032/0.2033, allocations: 73.07 MB / 0.542 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02641/0.2297, allocations: 26.69 MB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000946/0.2307, allocations: 40.38 kB / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.2324, allocations: 0.8684 MB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01232/0.2447, allocations: 6.344 MB / 0.5751 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008226/0.2529, allocations: 4.132 MB / 0.5792 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003411/0.2563, allocations: 3.851 MB / 0.5829 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009139/0.2573, allocations: 0.9388 MB / 0.5838 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.259, allocations: 1.557 MB / 0.5854 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01117/0.2701, allocations: 7.383 MB / 0.5926 GB, free: 5.328 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002153/0.2704, allocations: 136 kB / 0.5927 GB, free: 5.195 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01647/0.2868, allocations: 11.17 MB / 0.6036 GB, free: 9.961 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.001921/0.2888, allocations: 2.916 MB / 0.6065 GB, free: 7.016 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009715/0.2898, allocations: 1.834 MB / 0.6083 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003307/0.2901, allocations: 283.2 kB / 0.6085 GB, free: 4.883 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0002921/0.2904, allocations: 51.8 kB / 0.6086 GB, free: 4.832 MB / 446.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.006325/0.2967, allocations: 8.41 MB / 0.6168 GB, free: 12.16 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0006135/0.2974, allocations: 0.7689 MB / 0.6175 GB, free: 11.38 MB / 462.1 MB Notification: Performance of Early Inline: time 0.004446/0.3018, allocations: 5.198 MB / 0.6226 GB, free: 6.082 MB / 462.1 MB Notification: Performance of simplify1: time 0.0002799/0.3021, allocations: 343.5 kB / 0.6229 GB, free: 5.746 MB / 462.1 MB Notification: Performance of Alias: time 0.004623/0.3067, allocations: 5.068 MB / 0.6279 GB, free: 212 kB / 462.1 MB Notification: Performance of simplify2: time 0.0002944/0.307, allocations: 327.6 kB / 0.6282 GB, free: 15.89 MB / 478.1 MB Notification: Performance of Events: time 0.001161/0.3082, allocations: 1.297 MB / 0.6295 GB, free: 14.55 MB / 478.1 MB Notification: Performance of Detect States: time 0.0009828/0.3092, allocations: 1.159 MB / 0.6306 GB, free: 13.36 MB / 478.1 MB Notification: Performance of Partitioning: time 0.001602/0.3108, allocations: 1.811 MB / 0.6324 GB, free: 11.31 MB / 478.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)