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.001648/0.001649, allocations: 182 kB / 13.64 MB, free: 1.676 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.507/1.507, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001916/0.001917, allocations: 112.7 kB / 253.5 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.88e-05, allocations: 0 / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08169/0.08174, allocations: 44.5 MB / 349.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3153/0.3971, allocations: 76.64 MB / 426.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/0.3973, allocations: 76.16 kB / 426.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04/0.4373, allocations: 18.19 MB / 444.3 MB, free: 2.754 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4374, allocations: 0 / 444.3 MB, free: 2.754 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.582e-05/0.4374, allocations: 21.25 kB / 444.4 MB, free: 2.734 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.001543/0.4389, allocations: 1.119 MB / 445.5 MB, free: 1.617 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.439, allocations: 8.031 kB / 445.5 MB, free: 1.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.4392, allocations: 115.5 kB / 445.6 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007183/0.4399, allocations: 0.5711 MB / 446.2 MB, free: 1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.4401, allocations: 169.6 kB / 446.3 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.524e-05/0.4402, allocations: 64.69 kB / 446.4 MB, free: 0.793 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.4412, allocations: 0.8892 MB / 447.3 MB, free: 32 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.4413, allocations: 0 / 447.3 MB, free: 32 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.076e-05/0.4413, allocations: 36.12 kB / 447.3 MB, free: 20 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.4414, allocations: 15.94 kB / 447.3 MB, free: 4 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000951/0.4423, allocations: 0.5422 MB / 447.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003711/0.446, allocations: 2.505 MB / 450.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/0.4485, allocations: 0.8866 MB / 451.3 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005452/0.4491, allocations: 327.1 kB / 451.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-05/0.4492, allocations: 12.38 kB / 451.6 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.4492, allocations: 55.77 kB / 451.7 MB, free: 12.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 2.775e-06/0.4492, allocations: 0 / 451.7 MB, free: 12.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001353/0.4506, allocations: 0.7148 MB / 452.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004728/0.4511, allocations: 0.9484 MB / 453.3 MB, free: 11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008474/0.4519, allocations: 0.6569 MB / 454 MB, free: 10.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.642e-05/0.452, allocations: 44.64 kB / 454 MB, free: 10.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/0.4523, allocations: 394.1 kB / 454.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.4525, allocations: 249.7 kB / 454.6 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.4526, allocations: 14.5 kB / 454.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4527, allocations: 334.5 kB / 455 MB, free: 9.703 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.4531, allocations: 224.7 kB / 455.2 MB, free: 9.566 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/0.4537, allocations: 0.5423 MB / 455.8 MB, free: 9.031 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004722/0.4542, allocations: 363.2 kB / 456.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.4542, allocations: 3.953 kB / 456.1 MB, free: 8.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001431/0.4557, allocations: 0.9247 MB / 457 MB, free: 8.008 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.931e-05/0.4558, allocations: 89.09 kB / 457.1 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4558, allocations: 0 / 457.1 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005751/0.4563, allocations: 180.3 kB / 457.3 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/0.4571, allocations: 163.6 kB / 457.5 MB, free: 7.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005682/0.4627, allocations: 6.917 MB / 464.4 MB, free: 424 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007189/0.4635, allocations: 112.3 kB / 464.5 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.4636, allocations: 30.73 kB / 464.5 MB, free: 300 kB / 314.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 () * 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.000195/0.4638, allocations: 162.5 kB / 464.7 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.4639, allocations: 94.88 kB / 464.8 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.4641, allocations: 101.6 kB / 464.9 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4641, allocations: 4 kB / 464.9 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4641, allocations: 4 kB / 464.9 MB, free: 0 / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/0.4652, allocations: 0.9262 MB / 465.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.4674, allocations: 1.67 MB / 467.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.4675, allocations: 3.938 kB / 467.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000763/0.4682, allocations: 166.1 kB / 467.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.533e-05/0.4683, allocations: 27.58 kB / 467.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.337e-05/0.4684, allocations: 20.48 kB / 467.7 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.4695, allocations: 1.449 MB / 469.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4695, allocations: 0 / 469.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.4709, allocations: 0.9941 MB / 470.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.4711, allocations: 184.7 kB / 470.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.4712, allocations: 18.88 kB / 470.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/0.4717, allocations: 47.28 kB / 470.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.109e-05/0.4718, allocations: 47.22 kB / 470.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.4719, allocations: 23.48 kB / 470.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006434/0.4725, allocations: 0.5143 MB / 471 MB, free: 10.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4725, allocations: 0 / 471 MB, free: 10.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000777/0.4733, allocations: 296.1 kB / 471.2 MB, free: 10.37 MB / 330.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.0001915/0.4735, allocations: 131.1 kB / 471.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.4756, allocations: 1.343 MB / 472.7 MB, free: 8.789 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.4757, allocations: 0 / 472.7 MB, free: 8.789 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005684/0.4762, allocations: 411.2 kB / 473.1 MB, free: 8.371 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009256/0.4772, allocations: 239.8 kB / 473.3 MB, free: 8.141 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.4795, allocations: 1.226 MB / 474.6 MB, free: 6.887 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/0.4801, allocations: 0.9834 MB / 475.6 MB, free: 5.875 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004736/0.4806, allocations: 111 kB / 475.7 MB, free: 5.762 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.4808, allocations: 79.42 kB / 475.7 MB, free: 5.684 MB / 330.7 MB Notification: Performance of SimCode: time 8.31e-07/0.4808, allocations: 0 / 475.7 MB, free: 5.684 MB / 330.7 MB Notification: Performance of Templates: time 0.02689/0.5077, allocations: 15.77 MB / 491.5 MB, free: 5.91 MB / 346.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)