Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.T|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|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.T|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|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 113.8 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.001079/0.001079, allocations: 186.1 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.37/1.37, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2155/0.2155, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.384, allocations: 60.83 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.02226/0.4063, allocations: 21.08 MB / 0.5402 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.4197, allocations: 8.199 MB / 0.5482 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.4211, allocations: 24.41 kB / 0.5482 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.4223, allocations: 348.5 kB / 0.5485 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003565/0.4259, allocations: 1.093 MB / 0.5496 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.4288, allocations: 0.9852 MB / 0.5506 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002486/0.4313, allocations: 1.745 MB / 0.5523 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009785/0.4323, allocations: 0.6246 MB / 0.5529 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.4337, allocations: 0.7474 MB / 0.5536 GB, free: 9.137 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009341/0.4347, allocations: 0.6615 MB / 0.5543 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.4348, allocations: 76 kB / 0.5543 GB, free: 8.398 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.4368, allocations: 0.7137 MB / 0.555 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000254/0.4371, allocations: 227.2 kB / 0.5552 GB, free: 7.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005426/0.4376, allocations: 457.9 kB / 0.5557 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002343/0.44, allocations: 1.478 MB / 0.5571 GB, free: 5.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.44, allocations: 0 / 0.5571 GB, free: 5.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.44, allocations: 0 / 0.5571 GB, free: 5.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.44, allocations: 0 / 0.5571 GB, free: 5.531 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002747/0.4428, allocations: 1.219 MB / 0.5583 GB, free: 4.262 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4428, allocations: 8.031 kB / 0.5583 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003978/0.4432, allocations: 99.89 kB / 0.5584 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.4443, allocations: 0.6085 MB / 0.559 GB, free: 3.504 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.4444, allocations: 45.44 kB / 0.5591 GB, free: 3.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.4445, allocations: 55.94 kB / 0.5591 GB, free: 3.402 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.446, allocations: 0.8078 MB / 0.5599 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.446, allocations: 3.938 kB / 0.5599 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.569e-05/0.4461, allocations: 24 kB / 0.5599 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/0.4461, allocations: 21 kB / 0.5599 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.4477, allocations: 0.7532 MB / 0.5607 GB, free: 1.746 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00483/0.4525, allocations: 3.569 MB / 0.5642 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.4536, allocations: 460.1 kB / 0.5646 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007439/0.4544, allocations: 325.4 kB / 0.5649 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003782/0.4548, allocations: 0.5743 MB / 0.5655 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.4548, allocations: 38.94 kB / 0.5655 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006467/0.4555, allocations: 115.3 kB / 0.5656 GB, free: 12.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=45): time 3.006e-06/0.4555, allocations: 0 / 0.5656 GB, free: 12.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=69): time 0.05428/0.5098, allocations: 7.95 MB / 0.5734 GB, free: 4.164 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.5099, allocations: 111.4 kB / 0.5735 GB, free: 4.031 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000869/0.5108, allocations: 0.6371 MB / 0.5741 GB, free: 3.387 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.5109, allocations: 33.7 kB / 0.5741 GB, free: 3.348 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.5112, allocations: 360.1 kB / 0.5745 GB, free: 2.988 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.5115, allocations: 236.6 kB / 0.5747 GB, free: 2.754 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003699/0.5118, allocations: 210.3 kB / 0.5749 GB, free: 2.543 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.512, allocations: 386.8 kB / 0.5753 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.5136, allocations: 0.52 MB / 0.5758 GB, free: 1.633 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.5152, allocations: 0.7028 MB / 0.5765 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003348/0.5186, allocations: 1.226 MB / 0.5777 GB, free: 15.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5186, allocations: 4 kB / 0.5777 GB, free: 15.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004284/0.5229, allocations: 1.568 MB / 0.5792 GB, free: 13.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.5229, allocations: 12.03 kB / 0.5792 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5229, allocations: 11.94 kB / 0.5792 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01158/0.5345, allocations: 1.533 MB / 0.5807 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.5359, allocations: 247.6 kB / 0.581 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/0.5389, allocations: 1.678 MB / 0.5826 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.5404, allocations: 107.9 kB / 0.5827 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.5405, allocations: 63.92 kB / 0.5828 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00175/0.5423, allocations: 0.6501 MB / 0.5834 GB, free: 9.609 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001628/0.5439, allocations: 0.6794 MB / 0.5841 GB, free: 8.855 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003209/0.5472, allocations: 1.187 MB / 0.5852 GB, free: 7.598 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.749e-06/0.5472, allocations: 0 / 0.5852 GB, free: 7.598 MB / 446.1 MB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.004462/0.5516, allocations: 1.532 MB / 0.5867 GB, free: 6.051 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.5517, allocations: 4 kB / 0.5867 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.5517, allocations: 12.03 kB / 0.5867 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002712/0.5544, allocations: 477.5 kB / 0.5872 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.5558, allocations: 255.6 kB / 0.5874 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004717/0.5605, allocations: 3.159 MB / 0.5905 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.562, allocations: 99.92 kB / 0.5906 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.5621, allocations: 59.94 kB / 0.5907 GB, free: 1.789 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (3,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003844/0.5625, allocations: 228.1 kB / 0.5909 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.5628, allocations: 87.06 kB / 0.591 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004866/0.5676, allocations: 1.829 MB / 0.5928 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.5677, allocations: 7.984 kB / 0.5928 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5677, allocations: 7.938 kB / 0.5928 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000586/0.5683, allocations: 271.7 kB / 0.593 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.5684, allocations: 16 kB / 0.593 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.5696, allocations: 99.86 kB / 0.5931 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.5698, allocations: 60.91 kB / 0.5932 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006329/0.5761, allocations: 1.675 MB / 0.5948 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004885/0.581, allocations: 1.923 MB / 0.5967 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001412/0.5824, allocations: 499.6 kB / 0.5972 GB, free: 11.06 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005695/0.583, allocations: 463 kB / 0.5976 GB, free: 10.61 MB / 462.1 MB Notification: Performance of Backend: time 1.8e-07/0.583, allocations: 0 / 0.5976 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007655/0.5907, allocations: 2.075 MB / 0.5997 GB, free: 8.531 MB / 462.1 MB Notification: Performance of SimCode: time 0.004314/0.595, allocations: 2.405 MB / 0.602 GB, free: 6.078 MB / 462.1 MB Notification: Performance of Templates: time 0.05302/0.6481, allocations: 34.43 MB / 0.6356 GB, free: 3.836 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1)