Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001649/0.001649, allocations: 183.8 kB / 8.354 MB, free: 0.7305 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.597/1.597, allocations: 194.4 MB / 203.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001661/0.001661, allocations: 108.7 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.372e-05/1.373e-05, allocations: 4 kB / 298.1 MB, free: 35.51 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08568/0.08571, allocations: 44.5 MB / 342.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3694/0.4551, allocations: 75.97 MB / 418.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.4555, allocations: 76.36 kB / 418.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0414/0.4969, allocations: 17.97 MB / 436.6 MB, free: 4.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4969, allocations: 0 / 436.6 MB, free: 4.828 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.915e-05/0.497, allocations: 22.88 kB / 436.6 MB, free: 4.824 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002514/0.4995, allocations: 1.115 MB / 437.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.4996, allocations: 11.75 kB / 437.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004667/0.5001, allocations: 116.6 kB / 437.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.5014, allocations: 0.5747 MB / 438.4 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.5016, allocations: 128.7 kB / 438.6 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.5017, allocations: 42.53 kB / 438.6 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009996/0.5028, allocations: 0.5073 MB / 439.1 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.504, allocations: 0.7953 MB / 439.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.504, allocations: 0 / 439.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.659e-05/0.5041, allocations: 0 / 439.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.5041, allocations: 19.48 kB / 439.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00383/0.5079, allocations: 2.362 MB / 442.3 MB, free: 1.777 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/0.5102, allocations: 0.8475 MB / 443.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.5106, allocations: 303.7 kB / 443.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.125e-05/0.5107, allocations: 19.84 kB / 443.4 MB, free: 1.523 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.5107, allocations: 52.72 kB / 443.5 MB, free: 1.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.996e-06/0.5107, allocations: 0 / 443.5 MB, free: 1.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.001216/0.5119, allocations: 0.6675 MB / 444.2 MB, free: 1.281 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/0.5121, allocations: 0.9486 MB / 445.1 MB, free: 124 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007206/0.5129, allocations: 0.552 MB / 445.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.812e-05/0.513, allocations: 29.61 kB / 445.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.5132, allocations: 399.1 kB / 446.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.5135, allocations: 239 kB / 446.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.5135, allocations: 0 / 446.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.5137, allocations: 392.2 kB / 446.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.5141, allocations: 205.2 kB / 446.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005681/0.5146, allocations: 0.5189 MB / 447.4 MB, free: 14.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.515, allocations: 263.2 kB / 447.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5151, allocations: 3.75 kB / 447.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001317/0.5164, allocations: 0.7787 MB / 448.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/0.5165, allocations: 84.64 kB / 448.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5165, allocations: 0 / 448.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005434/0.517, allocations: 176 kB / 448.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/0.5177, allocations: 157.3 kB / 448.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00598/0.5237, allocations: 6.679 MB / 455.5 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.5248, allocations: 89.48 kB / 455.6 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/0.5249, allocations: 25.88 kB / 455.7 MB, free: 8 MB / 314.7 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: outerPump.flowPort_b.H_flow:VARIABLE(flow=true unit = "W" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absolutePressure.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: innerPipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 71 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004123/0.5253, allocations: 135.9 kB / 455.8 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.5256, allocations: 85.5 kB / 455.9 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.5259, allocations: 86.19 kB / 456 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5259, allocations: 7.688 kB / 456 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.5259, allocations: 3.953 kB / 456 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/0.527, allocations: 0.8812 MB / 456.8 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/0.5299, allocations: 1.544 MB / 458.4 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.53, allocations: 3.938 kB / 458.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007794/0.5308, allocations: 159.1 kB / 458.6 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.5309, allocations: 35.66 kB / 458.6 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/0.531, allocations: 11.98 kB / 458.6 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.5322, allocations: 1.384 MB / 460 MB, free: 4.352 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5322, allocations: 4.062 kB / 460 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.5337, allocations: 0.9372 MB / 460.9 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/0.534, allocations: 175.7 kB / 461.1 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.5342, allocations: 4 kB / 461.1 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/0.5348, allocations: 35.83 kB / 461.1 MB, free: 3.449 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.5349, allocations: 43.09 kB / 461.2 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/0.5349, allocations: 23.23 kB / 461.2 MB, free: 3.395 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007172/0.5357, allocations: 433.5 kB / 461.6 MB, free: 3.094 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5357, allocations: 0 / 461.6 MB, free: 3.094 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001058/0.5367, allocations: 269.2 kB / 461.9 MB, free: 2.832 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002582/0.537, allocations: 120.5 kB / 462 MB, free: 2.703 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.5393, allocations: 1.288 MB / 463.3 MB, free: 1.531 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.5393, allocations: 4 kB / 463.3 MB, free: 1.527 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005546/0.5399, allocations: 384.2 kB / 463.7 MB, free: 1.234 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.541, allocations: 216 kB / 463.9 MB, free: 1.074 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.5437, allocations: 1.193 MB / 465.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.5442, allocations: 0.9796 MB / 466.1 MB, free: 14.87 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005473/0.5448, allocations: 106.7 kB / 466.2 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.545, allocations: 75.42 kB / 466.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of SimCode: time 5.72e-07/0.545, allocations: 0 / 466.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of Templates: time 0.02545/0.5704, allocations: 14.01 MB / 480.2 MB, free: 0.6641 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)