Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001061/0.001061, allocations: 180.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.36/1.36, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001737/0.001737, allocations: 116.2 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003357, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1036, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3165/0.4202, allocations: 75.72 MB / 430.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.4205, allocations: 69.59 kB / 430.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01956/0.44, allocations: 9.068 MB / 439.9 MB, free: 6.305 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4401, allocations: 0 / 439.9 MB, free: 6.305 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.4401, allocations: 12 kB / 439.9 MB, free: 6.293 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009427/0.4411, allocations: 0.7419 MB / 440.7 MB, free: 5.535 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.4411, allocations: 12.03 kB / 440.7 MB, free: 5.523 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.667e-05/0.4412, allocations: 60.38 kB / 440.7 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.4416, allocations: 370.6 kB / 441.1 MB, free: 5.113 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.419e-05/0.4417, allocations: 61 kB / 441.2 MB, free: 5.059 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.4418, allocations: 29 kB / 441.2 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.4424, allocations: 450.2 kB / 441.6 MB, free: 4.656 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.4424, allocations: 4 kB / 441.6 MB, free: 4.652 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.4424, allocations: 16.25 kB / 441.6 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.4425, allocations: 15.92 kB / 441.7 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000471/0.4429, allocations: 289 kB / 441.9 MB, free: 4.438 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.4445, allocations: 1.231 MB / 443.2 MB, free: 3.422 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009855/0.4455, allocations: 441.6 kB / 443.6 MB, free: 3.059 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.4455, allocations: 15.27 kB / 443.6 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.4455, allocations: 35.22 kB / 443.7 MB, free: 3.008 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 1.363e-06/0.4456, allocations: 4 kB / 443.7 MB, free: 3.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009657/0.4465, allocations: 0.6174 MB / 444.3 MB, free: 2.457 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.4466, allocations: 448.9 kB / 444.7 MB, free: 1.914 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.447, allocations: 393.7 kB / 445.1 MB, free: 1.609 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.447, allocations: 33.14 kB / 445.1 MB, free: 1.574 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.975e-05/0.4471, allocations: 219 kB / 445.3 MB, free: 1.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.454e-05/0.4472, allocations: 114.2 kB / 445.5 MB, free: 1.332 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.4472, allocations: 8.078 kB / 445.5 MB, free: 1.332 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.4473, allocations: 358.7 kB / 445.8 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.4475, allocations: 114.8 kB / 445.9 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.4478, allocations: 257.1 kB / 446.2 MB, free: 0.582 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.448, allocations: 164.1 kB / 446.3 MB, free: 428 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.448, allocations: 0 / 446.3 MB, free: 428 kB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000614/0.4486, allocations: 430.4 kB / 446.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.4487, allocations: 37.64 kB / 446.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4487, allocations: 1.016 kB / 446.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.4489, allocations: 45.73 kB / 446.8 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.4492, allocations: 75.89 kB / 446.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.4516, allocations: 2.769 MB / 449.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.452, allocations: 58.34 kB / 449.7 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.452, allocations: 12 kB / 449.8 MB, free: 12.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002137/0.4522, allocations: 171.4 kB / 449.9 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/0.4523, allocations: 43.53 kB / 450 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.4524, allocations: 52.52 kB / 450 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4524, allocations: 3.953 kB / 450 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4524, allocations: 4 kB / 450 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007271/0.4532, allocations: 0.6762 MB / 450.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.4544, allocations: 0.9052 MB / 451.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.4545, allocations: 3.953 kB / 451.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/0.4548, allocations: 71.89 kB / 451.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4548, allocations: 0 / 451.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.4549, allocations: 8 kB / 451.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4549, allocations: 0 / 451.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4549, allocations: 0 / 451.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008057/0.4557, allocations: 0.538 MB / 452.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.4558, allocations: 132.5 kB / 452.4 MB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/0.4559, allocations: 12 kB / 452.4 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.4561, allocations: 24.05 kB / 452.4 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.4561, allocations: 19.91 kB / 452.4 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.4562, allocations: 12 kB / 452.4 MB, free: 9.836 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003056/0.4565, allocations: 307.1 kB / 452.7 MB, free: 9.535 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4565, allocations: 0 / 452.7 MB, free: 9.535 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004012/0.4569, allocations: 131.8 kB / 452.8 MB, free: 9.406 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/0.4571, allocations: 123.5 kB / 453 MB, free: 9.277 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008764/0.458, allocations: 0.5794 MB / 453.5 MB, free: 8.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.458, allocations: 8.062 kB / 453.6 MB, free: 8.652 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.4582, allocations: 134 kB / 453.7 MB, free: 8.523 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.4588, allocations: 115.1 kB / 453.8 MB, free: 8.418 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.4604, allocations: 1.037 MB / 454.8 MB, free: 7.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.4608, allocations: 0.8237 MB / 455.7 MB, free: 6.508 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002229/0.461, allocations: 56.23 kB / 455.7 MB, free: 6.453 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.4611, allocations: 43.42 kB / 455.8 MB, free: 6.41 MB / 330.7 MB Notification: Performance of SimCode: time 6.02e-07/0.4611, allocations: 0 / 455.8 MB, free: 6.41 MB / 330.7 MB Notification: Performance of Templates: time 0.0116/0.4727, allocations: 7.145 MB / 462.9 MB, free: 15.35 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)