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.001276/0.001276, allocations: 179.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.437/1.437, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001574/0.001574, allocations: 115.1 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003527, allocations: 11.98 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1001, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2905/0.3907, allocations: 76.72 MB / 431.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.391, allocations: 68.84 kB / 431.8 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0406/0.4316, allocations: 18.2 MB / 450 MB, free: 13.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4316, allocations: 4 kB / 450.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.634e-05/0.4317, allocations: 19.94 kB / 450.1 MB, free: 13.18 MB / 330.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.002137/0.4338, allocations: 1.256 MB / 451.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4339, allocations: 12.03 kB / 451.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.4341, allocations: 123.4 kB / 451.5 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008457/0.4349, allocations: 0.5707 MB / 452 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.4351, allocations: 154.4 kB / 452.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.787e-05/0.4352, allocations: 71.89 kB / 452.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.4366, allocations: 0.9484 MB / 453.2 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.4367, allocations: 0 / 453.2 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.839e-05/0.4368, allocations: 28 kB / 453.2 MB, free: 9.785 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.4368, allocations: 16 kB / 453.2 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.438, allocations: 0.6298 MB / 453.9 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003936/0.4419, allocations: 2.506 MB / 456.4 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002686/0.4447, allocations: 0.9488 MB / 457.3 MB, free: 5.516 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.322e-05/0.4447, allocations: 13.48 kB / 457.3 MB, free: 5.504 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.4448, allocations: 47.22 kB / 457.4 MB, free: 5.449 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 2.655e-06/0.4448, allocations: 0 / 457.4 MB, free: 5.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=72): time 0.002737/0.4475, allocations: 1.466 MB / 458.9 MB, free: 3.875 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004671/0.448, allocations: 0.9528 MB / 459.8 MB, free: 2.691 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009179/0.4489, allocations: 0.6719 MB / 460.5 MB, free: 2.012 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.489e-05/0.449, allocations: 45.7 kB / 460.5 MB, free: 1.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.4493, allocations: 380.7 kB / 460.9 MB, free: 1.586 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.4496, allocations: 252.4 kB / 461.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.4496, allocations: 13.41 kB / 461.2 MB, free: 1.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4498, allocations: 333.9 kB / 461.5 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/0.4503, allocations: 273.9 kB / 461.7 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008188/0.4512, allocations: 0.5802 MB / 462.3 MB, free: 20 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000707/0.4519, allocations: 412.9 kB / 462.7 MB, free: 15.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.4519, allocations: 0 / 462.7 MB, free: 15.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001806/0.4537, allocations: 0.9859 MB / 463.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.186e-05/0.4538, allocations: 85.11 kB / 463.8 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.4538, allocations: 0 / 463.8 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000384/0.4542, allocations: 136.2 kB / 463.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/0.4549, allocations: 155.6 kB / 464.1 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006191/0.4611, allocations: 6.973 MB / 471.1 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.4624, allocations: 115.2 kB / 471.2 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.4625, allocations: 31.98 kB / 471.2 MB, free: 6.387 MB / 346.7 MB 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 () * Number of clocked 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 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005516/0.463, allocations: 229.7 kB / 471.4 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.4632, allocations: 101 kB / 471.5 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.4634, allocations: 100.4 kB / 471.6 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4634, allocations: 8 kB / 471.6 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.4634, allocations: 0 / 471.6 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001411/0.4648, allocations: 0.9973 MB / 472.6 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/0.4676, allocations: 1.762 MB / 474.4 MB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4676, allocations: 3.984 kB / 474.4 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008045/0.4684, allocations: 159.8 kB / 474.5 MB, free: 2.844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/0.4686, allocations: 32.83 kB / 474.6 MB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/0.4686, allocations: 15.98 kB / 474.6 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.4697, allocations: 1.452 MB / 476 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4698, allocations: 0 / 476 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.4716, allocations: 1.127 MB / 477.2 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.4719, allocations: 179.9 kB / 477.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.472, allocations: 23.95 kB / 477.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/0.4725, allocations: 51.88 kB / 477.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-05/0.4726, allocations: 44.59 kB / 477.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.4727, allocations: 19.98 kB / 477.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007153/0.4734, allocations: 0.5147 MB / 478 MB, free: 15.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4734, allocations: 0 / 478 MB, free: 15.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008863/0.4743, allocations: 296.1 kB / 478.3 MB, free: 14.93 MB / 362.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 () * Number of clocked 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.0002338/0.4745, allocations: 139 kB / 478.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.4766, allocations: 1.427 MB / 479.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4766, allocations: 0 / 479.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006929/0.4773, allocations: 446.6 kB / 480.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/0.4782, allocations: 245.3 kB / 480.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.4813, allocations: 1.963 MB / 482.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/0.4818, allocations: 0.9834 MB / 483.5 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005309/0.4824, allocations: 111 kB / 483.6 MB, free: 9.461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.4826, allocations: 79.42 kB / 483.7 MB, free: 9.383 MB / 362.7 MB Notification: Performance of SimCode: time 1.733e-06/0.4826, allocations: 0 / 483.7 MB, free: 9.383 MB / 362.7 MB Notification: Performance of Templates: time 0.02559/0.5082, allocations: 15.31 MB / 499 MB, free: 10.1 MB / 378.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)