Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00128/0.00128, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.158/1.158, allocations: 170.6 MB / 178.7 MB, free: 15.59 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001554/0.001555, allocations: 107.5 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.956e-05, allocations: 0 / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06508/0.06512, allocations: 38.78 MB / 301 MB, free: 3.633 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2304/0.2956, allocations: 70.64 MB / 371.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.2959, allocations: 76.33 kB / 371.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04539/0.3413, allocations: 17.89 MB / 389.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3413, allocations: 4 kB / 389.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.718e-05/0.3414, allocations: 19.94 kB / 389.6 MB, free: 15.09 MB / 282.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.001866/0.3433, allocations: 1.111 MB / 390.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3433, allocations: 12.03 kB / 390.7 MB, free: 13.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.3435, allocations: 118.7 kB / 390.8 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008354/0.3444, allocations: 0.5747 MB / 391.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.3446, allocations: 137.8 kB / 391.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.874e-05/0.3447, allocations: 47.97 kB / 391.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008221/0.3455, allocations: 0.5047 MB / 392.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.3466, allocations: 0.7896 MB / 392.9 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3466, allocations: 0 / 392.9 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-05/0.3467, allocations: 4 kB / 392.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.3467, allocations: 19.94 kB / 392.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003518/0.3502, allocations: 2.344 MB / 395.3 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/0.3532, allocations: 0.8564 MB / 396.1 MB, free: 9.551 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005816/0.3538, allocations: 294 kB / 396.4 MB, free: 9.367 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.224e-05/0.3539, allocations: 24.08 kB / 396.4 MB, free: 9.344 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.3539, allocations: 42.09 kB / 396.5 MB, free: 9.301 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 4.078e-06/0.3539, allocations: 7.984 kB / 396.5 MB, free: 9.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.00119/0.3551, allocations: 0.6579 MB / 397.1 MB, free: 8.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003792/0.3555, allocations: 0.9542 MB / 398.1 MB, free: 7.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006342/0.3562, allocations: 0.553 MB / 398.6 MB, free: 7.188 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/0.3562, allocations: 29.7 kB / 398.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.3565, allocations: 395.9 kB / 399.1 MB, free: 6.902 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.3566, allocations: 239.9 kB / 399.3 MB, free: 6.691 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.3567, allocations: 3.938 kB / 399.3 MB, free: 6.688 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3569, allocations: 389.6 kB / 399.7 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.3572, allocations: 208 kB / 399.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005669/0.3578, allocations: 0.5202 MB / 400.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.3582, allocations: 268.1 kB / 400.7 MB, free: 5.535 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3582, allocations: 0 / 400.7 MB, free: 5.535 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001316/0.3595, allocations: 0.7764 MB / 401.4 MB, free: 4.938 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.9e-05/0.3596, allocations: 86.48 kB / 401.5 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3596, allocations: 4 kB / 401.5 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005463/0.3601, allocations: 165.2 kB / 401.7 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.3609, allocations: 160 kB / 401.9 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005363/0.3662, allocations: 6.652 MB / 408.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007033/0.367, allocations: 83.5 kB / 408.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.367, allocations: 29.05 kB / 408.6 MB, free: 13.59 MB / 298.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.0002574/0.3673, allocations: 136.8 kB / 408.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.3674, allocations: 90.97 kB / 408.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.3676, allocations: 88.8 kB / 408.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.3677, allocations: 8 kB / 408.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3677, allocations: 0 / 408.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009482/0.3686, allocations: 0.8792 MB / 409.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/0.3708, allocations: 1.531 MB / 411.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3708, allocations: 0 / 411.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000778/0.3716, allocations: 167.8 kB / 411.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-05/0.3717, allocations: 28.84 kB / 411.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.3718, allocations: 0 / 411.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009799/0.3728, allocations: 1.4 MB / 412.9 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3728, allocations: 0 / 412.9 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.3741, allocations: 0.9361 MB / 413.9 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.3743, allocations: 176 kB / 414 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.3744, allocations: 4 kB / 414 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/0.3749, allocations: 27.94 kB / 414.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/0.375, allocations: 44.7 kB / 414.1 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.375, allocations: 16 kB / 414.1 MB, free: 7.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005129/0.3755, allocations: 443.2 kB / 414.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3755, allocations: 0 / 414.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008095/0.3763, allocations: 263.6 kB / 414.8 MB, free: 7.043 MB / 298.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.0002024/0.3765, allocations: 123 kB / 414.9 MB, free: 6.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.3786, allocations: 1.286 MB / 416.2 MB, free: 5.543 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3786, allocations: 0 / 416.2 MB, free: 5.543 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005019/0.3791, allocations: 384.6 kB / 416.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008836/0.38, allocations: 210.6 kB / 416.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.3825, allocations: 1.227 MB / 418 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.383, allocations: 0.9796 MB / 419 MB, free: 2.699 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004852/0.3835, allocations: 106.7 kB / 419.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.3837, allocations: 71.42 kB / 419.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3837, allocations: 4 kB / 419.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of Templates: time 0.02198/0.4057, allocations: 13.83 MB / 433 MB, free: 4.66 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)