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.001177/0.001177, allocations: 109.4 kB / 18.45 MB, free: 4.598 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.001167/0.001167, allocations: 184.3 kB / 19.39 MB, free: 3.672 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.38/1.38, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2361/0.2361, allocations: 44.19 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 63.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4103, allocations: 60.83 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.02367/0.434, allocations: 21.09 MB / 0.5402 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.4476, allocations: 8.191 MB / 0.5482 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.4491, allocations: 28.59 kB / 0.5482 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.4504, allocations: 351.3 kB / 0.5485 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003684/0.4541, allocations: 1.094 MB / 0.5496 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.457, allocations: 0.9817 MB / 0.5506 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002478/0.4595, allocations: 1.75 MB / 0.5523 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000899/0.4604, allocations: 0.622 MB / 0.5529 GB, free: 9.871 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.4618, allocations: 0.7513 MB / 0.5536 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00083/0.4626, allocations: 0.6653 MB / 0.5543 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.4629, allocations: 72 kB / 0.5543 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.4644, allocations: 0.7138 MB / 0.555 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.4646, allocations: 223.2 kB / 0.5552 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005259/0.4652, allocations: 461.8 kB / 0.5557 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.4673, allocations: 1.487 MB / 0.5571 GB, free: 5.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.4673, allocations: 0 / 0.5571 GB, free: 5.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4673, allocations: 0 / 0.5571 GB, free: 5.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.4674, allocations: 0 / 0.5571 GB, free: 5.5 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.002805/0.4702, allocations: 1.249 MB / 0.5584 GB, free: 4.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4702, allocations: 12.03 kB / 0.5584 GB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003933/0.4706, allocations: 100.4 kB / 0.5585 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009434/0.4716, allocations: 0.6052 MB / 0.5591 GB, free: 3.441 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.4716, allocations: 45.38 kB / 0.5591 GB, free: 3.395 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.4717, allocations: 60 kB / 0.5592 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.4734, allocations: 0.8 MB / 0.5599 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.4734, allocations: 4 kB / 0.5599 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.335e-05/0.4735, allocations: 20 kB / 0.56 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/0.4735, allocations: 21 kB / 0.56 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.4751, allocations: 0.7571 MB / 0.5607 GB, free: 1.688 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.004665/0.4798, allocations: 3.582 MB / 0.5642 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.481, allocations: 456.1 kB / 0.5647 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007536/0.4817, allocations: 333.3 kB / 0.565 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006034/0.4823, allocations: 0.5665 MB / 0.5655 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.4824, allocations: 38.94 kB / 0.5656 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006102/0.483, allocations: 119.5 kB / 0.5657 GB, free: 12.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=45): time 4.087e-06/0.483, allocations: 0 / 0.5657 GB, free: 12.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=69): time 0.05383/0.5369, allocations: 7.962 MB / 0.5735 GB, free: 4.082 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.537, allocations: 111.4 kB / 0.5736 GB, free: 3.949 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008576/0.5378, allocations: 0.6294 MB / 0.5742 GB, free: 3.312 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.538, allocations: 37.7 kB / 0.5742 GB, free: 3.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.5382, allocations: 364.8 kB / 0.5746 GB, free: 2.906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/0.5385, allocations: 257.8 kB / 0.5748 GB, free: 2.652 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004066/0.5389, allocations: 202.4 kB / 0.575 GB, free: 2.449 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.5391, allocations: 382.8 kB / 0.5754 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.5408, allocations: 0.52 MB / 0.5759 GB, free: 1.543 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/0.5426, allocations: 0.7106 MB / 0.5766 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003549/0.5462, allocations: 1.222 MB / 0.5778 GB, free: 15.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.5462, allocations: 0 / 0.5778 GB, free: 15.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004669/0.5509, allocations: 1.576 MB / 0.5793 GB, free: 13.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.5509, allocations: 8.406 kB / 0.5793 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.5509, allocations: 8 kB / 0.5793 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01171/0.5627, allocations: 1.546 MB / 0.5808 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.5641, allocations: 243.6 kB / 0.5811 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/0.5672, allocations: 1.685 MB / 0.5827 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.5687, allocations: 107.9 kB / 0.5828 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.5689, allocations: 67.91 kB / 0.5829 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002373/0.5713, allocations: 0.6462 MB / 0.5835 GB, free: 9.504 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002072/0.5734, allocations: 0.6949 MB / 0.5842 GB, free: 8.734 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003325/0.5767, allocations: 1.179 MB / 0.5853 GB, free: 7.484 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.201e-06/0.5767, allocations: 4 kB / 0.5853 GB, free: 7.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.004734/0.5815, allocations: 1.532 MB / 0.5868 GB, free: 5.934 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.5815, allocations: 11.98 kB / 0.5868 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.5815, allocations: 7.938 kB / 0.5868 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002727/0.5843, allocations: 465.6 kB / 0.5873 GB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.5857, allocations: 267.5 kB / 0.5875 GB, free: 5.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005006/0.5907, allocations: 3.147 MB / 0.5906 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.5922, allocations: 103.9 kB / 0.5907 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.5924, allocations: 63.92 kB / 0.5908 GB, free: 1.672 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.0004459/0.5929, allocations: 232 kB / 0.591 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/0.5932, allocations: 91.44 kB / 0.5911 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005188/0.5984, allocations: 1.822 MB / 0.5929 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.5984, allocations: 3.984 kB / 0.5929 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5985, allocations: 7.938 kB / 0.5929 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005143/0.599, allocations: 276.2 kB / 0.5931 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.5992, allocations: 16 kB / 0.5932 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.6004, allocations: 99.86 kB / 0.5932 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.6006, allocations: 60.91 kB / 0.5933 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006808/0.6074, allocations: 1.686 MB / 0.595 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005064/0.6125, allocations: 1.92 MB / 0.5968 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001435/0.6139, allocations: 0.4956 MB / 0.5973 GB, free: 10.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006249/0.6146, allocations: 451 kB / 0.5977 GB, free: 10.49 MB / 462.1 MB Notification: Performance of Backend: time 1.052e-06/0.6146, allocations: 0 / 0.5977 GB, free: 10.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008173/0.6228, allocations: 2.094 MB / 0.5998 GB, free: 8.395 MB / 462.1 MB Notification: Performance of SimCode: time 0.003935/0.6267, allocations: 2.428 MB / 0.6022 GB, free: 5.918 MB / 462.1 MB Notification: Performance of Templates: time 0.05383/0.6806, allocations: 34.43 MB / 0.6358 GB, free: 3.668 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)