Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001895/0.001895, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.745/1.745, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001703/0.001703, allocations: 124 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.622e-05/1.634e-05, allocations: 4 kB / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1084, allocations: 44.49 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3296/0.4381, allocations: 76.95 MB / 419.5 MB, free: 18.9 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/0.4383, allocations: 66.41 kB / 419.6 MB, free: 18.87 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03681/0.4751, allocations: 16.09 MB / 435.7 MB, free: 5.746 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4752, allocations: 0 / 435.7 MB, free: 5.746 MB / 315.1 MB Notification: Performance of Transformations before backend: time 3.526e-05/0.4752, allocations: 16 kB / 435.7 MB, free: 5.73 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001633/0.4769, allocations: 1.074 MB / 436.8 MB, free: 4.648 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.4769, allocations: 12.03 kB / 436.8 MB, free: 4.637 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.4771, allocations: 110.8 kB / 436.9 MB, free: 4.527 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006844/0.4778, allocations: 0.519 MB / 437.4 MB, free: 4.062 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.478, allocations: 130.4 kB / 437.5 MB, free: 3.914 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/0.478, allocations: 47.53 kB / 437.6 MB, free: 3.871 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007146/0.4788, allocations: 490.3 kB / 438 MB, free: 3.57 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008852/0.4797, allocations: 0.7234 MB / 438.8 MB, free: 2.922 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.4797, allocations: 1.125 kB / 438.8 MB, free: 2.922 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.479e-05/0.4797, allocations: 4 kB / 438.8 MB, free: 2.918 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.4798, allocations: 12 kB / 438.8 MB, free: 2.906 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002752/0.4825, allocations: 2.05 MB / 440.8 MB, free: 1.32 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009303/0.4835, allocations: 0.9501 MB / 441.8 MB, free: 0.5312 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.4838, allocations: 330.2 kB / 442.1 MB, free: 340 kB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.869e-05/0.4839, allocations: 15.95 kB / 442.1 MB, free: 328 kB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.4839, allocations: 48.97 kB / 442.2 MB, free: 280 kB / 315.1 MB Notification: Performance of pre-optimization done (n=78): time 3.105e-06/0.4839, allocations: 0 / 442.2 MB, free: 280 kB / 315.1 MB Notification: Performance of matching and sorting (n=78): time 0.001954/0.4859, allocations: 0.8545 MB / 443 MB, free: 15.59 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003339/0.4863, allocations: 0.8269 MB / 443.9 MB, free: 14.57 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/0.4868, allocations: 481.3 kB / 444.3 MB, free: 14.21 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 6.41e-05/0.4869, allocations: 28.61 kB / 444.4 MB, free: 14.18 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.4871, allocations: 331.8 kB / 444.7 MB, free: 13.97 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.4873, allocations: 265.8 kB / 444.9 MB, free: 13.74 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.4874, allocations: 0 / 444.9 MB, free: 13.74 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4875, allocations: 384.8 kB / 445.3 MB, free: 13.39 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.4879, allocations: 208.7 kB / 445.5 MB, free: 13.27 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/0.4884, allocations: 481.3 kB / 446 MB, free: 12.84 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.4889, allocations: 258.4 kB / 446.2 MB, free: 12.68 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4889, allocations: 0 / 446.2 MB, free: 12.68 MB / 331.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001943/0.4908, allocations: 0.9052 MB / 447.1 MB, free: 11.96 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.152e-05/0.4909, allocations: 89.09 kB / 447.2 MB, free: 11.86 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4909, allocations: 4 kB / 447.2 MB, free: 11.85 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005556/0.4915, allocations: 198.1 kB / 447.4 MB, free: 11.7 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/0.4922, allocations: 158.6 kB / 447.6 MB, free: 11.55 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005827/0.498, allocations: 6.02 MB / 453.6 MB, free: 5.629 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009644/0.499, allocations: 99.47 kB / 453.7 MB, free: 5.531 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.4991, allocations: 23.14 kB / 453.7 MB, free: 5.516 MB / 331.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002832/0.4994, allocations: 146.5 kB / 453.9 MB, free: 5.371 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.4995, allocations: 83.06 kB / 453.9 MB, free: 5.289 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.4998, allocations: 77.75 kB / 454 MB, free: 5.246 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.4998, allocations: 12 kB / 454 MB, free: 5.234 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4998, allocations: 0.5625 kB / 454 MB, free: 5.234 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001921/0.5017, allocations: 1.151 MB / 455.2 MB, free: 4.156 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003199/0.5049, allocations: 1.775 MB / 457 MB, free: 2.797 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.5049, allocations: 0 / 457 MB, free: 2.797 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007254/0.5057, allocations: 151.5 kB / 457.1 MB, free: 2.652 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000409/0.5061, allocations: 166 kB / 457.3 MB, free: 2.52 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.5062, allocations: 4.594 kB / 457.3 MB, free: 2.52 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005134/0.5113, allocations: 4.643 MB / 461.9 MB, free: 13.96 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.5113, allocations: 128 / 461.9 MB, free: 13.96 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.5138, allocations: 1.255 MB / 463.2 MB, free: 13.02 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/0.5141, allocations: 162 kB / 463.3 MB, free: 12.86 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.5142, allocations: 4 kB / 463.3 MB, free: 12.86 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005094/0.5147, allocations: 58.55 kB / 463.4 MB, free: 12.8 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.5149, allocations: 66.31 kB / 463.5 MB, free: 12.75 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.5149, allocations: 19.23 kB / 463.5 MB, free: 12.73 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0004889/0.5154, allocations: 373.2 kB / 463.8 MB, free: 12.46 MB / 347.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5154, allocations: 3.938 kB / 463.8 MB, free: 12.46 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.000904/0.5163, allocations: 263.7 kB / 464.1 MB, free: 12.2 MB / 347.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002338/0.5166, allocations: 117.3 kB / 464.2 MB, free: 12.08 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001521/0.5181, allocations: 1.2 MB / 465.4 MB, free: 10.8 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5181, allocations: 4.062 kB / 465.4 MB, free: 10.8 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.5192, allocations: 0.7109 MB / 466.1 MB, free: 10.06 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000803/0.52, allocations: 172.7 kB / 466.3 MB, free: 9.898 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.5222, allocations: 1.23 MB / 467.5 MB, free: 8.633 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.5227, allocations: 0.9559 MB / 468.5 MB, free: 7.652 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.0004123/0.5231, allocations: 90.02 kB / 468.6 MB, free: 7.562 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.5233, allocations: 59.42 kB / 468.6 MB, free: 7.508 MB / 347.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5233, allocations: 0 / 468.6 MB, free: 7.508 MB / 347.1 MB Notification: Performance of Templates: time 0.02362/0.5469, allocations: 14.43 MB / 483.1 MB, free: 9.121 MB / 363.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1)