Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 172.8 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.2 MB / 219.8 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007596/0.0007596, allocations: 90.64 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.973e-05, allocations: 0 / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0762/0.07624, allocations: 47.57 MB / 370 MB, free: 1.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2797/0.3559, allocations: 81.92 MB / 451.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.3563, allocations: 78.98 kB / 452 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04926/0.4056, allocations: 19.41 MB / 471.4 MB, free: 9.344 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4056, allocations: 0 / 471.4 MB, free: 9.344 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.776e-05/0.4057, allocations: 16 kB / 471.4 MB, free: 9.328 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001877/0.4076, allocations: 1.151 MB / 472.6 MB, free: 8.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.4076, allocations: 8.031 kB / 472.6 MB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.4078, allocations: 122.7 kB / 472.7 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000927/0.4088, allocations: 0.5992 MB / 473.3 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002201/0.409, allocations: 159.1 kB / 473.5 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.4091, allocations: 72 kB / 473.5 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.4104, allocations: 0.9122 MB / 474.5 MB, free: 6.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4105, allocations: 4 kB / 474.5 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-05/0.4105, allocations: 32 kB / 474.5 MB, free: 6.035 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.4106, allocations: 16 kB / 474.5 MB, free: 6.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009369/0.4115, allocations: 0.5624 MB / 475.1 MB, free: 5.453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003687/0.4152, allocations: 2.563 MB / 477.6 MB, free: 2.758 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.4176, allocations: 0.8902 MB / 478.5 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005181/0.4182, allocations: 323.2 kB / 478.8 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.344e-05/0.4183, allocations: 20.69 kB / 478.9 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.4183, allocations: 55.28 kB / 478.9 MB, free: 1.438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 2.315e-06/0.4183, allocations: 0 / 478.9 MB, free: 1.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.001365/0.4197, allocations: 0.7335 MB / 479.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003953/0.4201, allocations: 0.9528 MB / 480.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008491/0.4209, allocations: 0.6804 MB / 481.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.421, allocations: 45.7 kB / 481.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.4213, allocations: 408.6 kB / 481.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.4215, allocations: 252.2 kB / 482 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.4215, allocations: 16 kB / 482 MB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4217, allocations: 341.9 kB / 482.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.4221, allocations: 225.6 kB / 482.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000647/0.4227, allocations: 0.5467 MB / 483.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005204/0.4233, allocations: 369.4 kB / 483.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.4233, allocations: 0 / 483.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001515/0.4248, allocations: 0.9454 MB / 484.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.412e-05/0.4249, allocations: 89.09 kB / 484.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.4249, allocations: 0 / 484.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005309/0.4254, allocations: 168.2 kB / 484.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007071/0.4261, allocations: 163.8 kB / 484.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005432/0.4316, allocations: 6.797 MB / 491.6 MB, free: 3.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000893/0.4325, allocations: 107.2 kB / 491.7 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/0.4326, allocations: 27.98 kB / 491.7 MB, free: 3.457 MB / 362.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 (82): * Single equations (assignments): 74 * 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%) 2} * Non-linear torn systems: 4 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.4328, allocations: 164.9 kB / 491.9 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.4329, allocations: 102.8 kB / 492 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.4332, allocations: 109.6 kB / 492.1 MB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.4332, allocations: 8 kB / 492.1 MB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.4332, allocations: 0 / 492.1 MB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/0.4343, allocations: 0.9222 MB / 493 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.4367, allocations: 1.703 MB / 494.7 MB, free: 268 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.4367, allocations: 7.938 kB / 494.7 MB, free: 260 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007792/0.4375, allocations: 167.8 kB / 494.9 MB, free: 92 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.771e-05/0.4376, allocations: 28.78 kB / 494.9 MB, free: 60 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.4376, allocations: 15.98 kB / 495 MB, free: 44 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000829/0.4385, allocations: 1.308 MB / 496.3 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4385, allocations: 0 / 496.3 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.4399, allocations: 1.014 MB / 497.3 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.4403, allocations: 259.5 kB / 497.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.4404, allocations: 20.06 kB / 497.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004869/0.4409, allocations: 47.97 kB / 497.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.441, allocations: 44.72 kB / 497.6 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.4411, allocations: 19.98 kB / 497.7 MB, free: 13.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006285/0.4417, allocations: 0.5304 MB / 498.2 MB, free: 12.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4417, allocations: 0 / 498.2 MB, free: 12.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000708/0.4424, allocations: 307.7 kB / 498.5 MB, free: 12.34 MB / 378.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 (72): * Single equations (assignments): 71 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001837/0.4426, allocations: 135 kB / 498.6 MB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.4448, allocations: 1.363 MB / 500 MB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.4448, allocations: 7.859 kB / 500 MB, free: 10.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005193/0.4453, allocations: 410.9 kB / 0.4887 GB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008894/0.4462, allocations: 254.4 kB / 0.4889 GB, free: 10.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.4484, allocations: 1.262 MB / 0.4901 GB, free: 8.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.449, allocations: 0.9992 MB / 0.4911 GB, free: 7.746 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004678/0.4494, allocations: 115.3 kB / 0.4912 GB, free: 7.629 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.4496, allocations: 79.42 kB / 0.4913 GB, free: 7.551 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4496, allocations: 0 / 0.4913 GB, free: 7.551 MB / 378.7 MB Notification: Performance of Templates: time 0.02466/0.4743, allocations: 16.28 MB / 0.5072 GB, free: 7.234 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)