Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001342/0.001342, allocations: 110.7 kB / 17.09 MB, free: 6.02 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.001521/0.001521, allocations: 198.2 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2118/0.2118, allocations: 43.53 MB / 314.8 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 72.28 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1137, allocations: 57.79 MB / 0.4886 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.02188/0.1356, allocations: 21.09 MB / 0.5091 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.1474, allocations: 8.171 MB / 0.5171 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008759/0.1483, allocations: 27.75 kB / 0.5172 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009758/0.1493, allocations: 349.5 kB / 0.5175 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002672/0.152, allocations: 1.068 MB / 0.5185 GB, free: 13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.1543, allocations: 0.978 MB / 0.5195 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002137/0.1565, allocations: 1.742 MB / 0.5212 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009759/0.1575, allocations: 0.6218 MB / 0.5218 GB, free: 9.633 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.1588, allocations: 0.7396 MB / 0.5225 GB, free: 8.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.16, allocations: 0.6576 MB / 0.5232 GB, free: 8.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.1602, allocations: 72 kB / 0.5232 GB, free: 8.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.1617, allocations: 0.7215 MB / 0.5239 GB, free: 7.438 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.162, allocations: 219.2 kB / 0.5241 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007834/0.1628, allocations: 469.8 kB / 0.5246 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002116/0.1649, allocations: 1.465 MB / 0.526 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.165, allocations: 4 kB / 0.526 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.165, allocations: 0 / 0.526 GB, free: 5.289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.862e-05/0.165, allocations: 0 / 0.526 GB, free: 5.289 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.003046/0.1681, allocations: 1.223 MB / 0.5272 GB, free: 4.016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1681, allocations: 15.89 kB / 0.5272 GB, free: 4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004321/0.1685, allocations: 103.9 kB / 0.5273 GB, free: 3.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.1697, allocations: 0.5969 MB / 0.5279 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.1697, allocations: 41.44 kB / 0.528 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.1698, allocations: 52 kB / 0.528 GB, free: 3.164 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.1713, allocations: 0.8078 MB / 0.5288 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.1713, allocations: 4 kB / 0.5288 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.627e-05/0.1714, allocations: 20 kB / 0.5288 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.393e-05/0.1715, allocations: 29 kB / 0.5288 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.1729, allocations: 0.7532 MB / 0.5296 GB, free: 1.508 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.2301/0.403, allocations: 3.563 MB / 0.5331 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.404, allocations: 466.8 kB / 0.5335 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006556/0.4047, allocations: 321.3 kB / 0.5338 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/0.4049, allocations: 0.5707 MB / 0.5344 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.405, allocations: 41.73 kB / 0.5344 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005938/0.4056, allocations: 114.3 kB / 0.5345 GB, free: 10.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 3.366e-06/0.4056, allocations: 0 / 0.5345 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=69): time 0.05099/0.4566, allocations: 7.943 MB / 0.5423 GB, free: 9.641 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.4566, allocations: 114.1 kB / 0.5424 GB, free: 9.516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009513/0.4576, allocations: 0.6318 MB / 0.543 GB, free: 9.383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.4577, allocations: 39.73 kB / 0.543 GB, free: 9.352 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.458, allocations: 361.9 kB / 0.5434 GB, free: 9.176 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.4582, allocations: 236.4 kB / 0.5436 GB, free: 9.027 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004639/0.4587, allocations: 206.9 kB / 0.5438 GB, free: 9.004 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4588, allocations: 385.1 kB / 0.5442 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/0.4605, allocations: 0.524 MB / 0.5447 GB, free: 8.676 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.4621, allocations: 0.7065 MB / 0.5454 GB, free: 8.469 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003016/0.4651, allocations: 1.218 MB / 0.5466 GB, free: 8.266 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.4651, allocations: 1.594 kB / 0.5466 GB, free: 8.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004112/0.4692, allocations: 1.569 MB / 0.5481 GB, free: 8.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.4693, allocations: 9.938 kB / 0.5481 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.4693, allocations: 8.062 kB / 0.5481 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01161/0.4809, allocations: 1.537 MB / 0.5496 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.4823, allocations: 245 kB / 0.5498 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/0.4852, allocations: 1.683 MB / 0.5515 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.4868, allocations: 104.7 kB / 0.5516 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/0.4871, allocations: 64.19 kB / 0.5517 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001799/0.4889, allocations: 0.6517 MB / 0.5523 GB, free: 6.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001789/0.4907, allocations: 0.6874 MB / 0.553 GB, free: 6.719 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003269/0.494, allocations: 1.183 MB / 0.5541 GB, free: 6.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.154e-06/0.494, allocations: 1.531 kB / 0.5541 GB, free: 6.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.004356/0.4984, allocations: 1.533 MB / 0.5556 GB, free: 6.375 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4984, allocations: 6.656 kB / 0.5556 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4984, allocations: 8.453 kB / 0.5556 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002769/0.5012, allocations: 472.6 kB / 0.5561 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.5026, allocations: 263.3 kB / 0.5563 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004479/0.507, allocations: 3.163 MB / 0.5594 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.5086, allocations: 102.6 kB / 0.5595 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.5088, allocations: 58.94 kB / 0.5596 GB, free: 3.996 MB / 414.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.0004655/0.5093, allocations: 228.2 kB / 0.5598 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003755/0.5096, allocations: 88.98 kB / 0.5599 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00438/0.514, allocations: 1.822 MB / 0.5617 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.514, allocations: 7.969 kB / 0.5617 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.5141, allocations: 2.531 kB / 0.5617 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005001/0.5146, allocations: 275.1 kB / 0.5619 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.5148, allocations: 22.44 kB / 0.5619 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.516, allocations: 99.95 kB / 0.562 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.5162, allocations: 60.38 kB / 0.5621 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006016/0.5222, allocations: 1.685 MB / 0.5637 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004211/0.5264, allocations: 1.908 MB / 0.5656 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001258/0.5277, allocations: 0.4983 MB / 0.5661 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005467/0.5283, allocations: 450.7 kB / 0.5665 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of Backend: time 7.32e-07/0.5283, allocations: 0 / 0.5665 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00747/0.5358, allocations: 2.086 MB / 0.5686 GB, free: 15.61 MB / 430.1 MB Notification: Performance of SimCode: time 0.003655/0.5394, allocations: 2.378 MB / 0.5709 GB, free: 14.02 MB / 430.1 MB Notification: Performance of Templates: time 0.05419/0.5936, allocations: 35.22 MB / 0.6053 GB, free: 11.91 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1)