Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009315/0.0009315, allocations: 168.4 kB / 7.639 MB, free: 1.414 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.116/1.116, allocations: 170.6 MB / 178.7 MB, free: 15.58 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.001633/0.001633, allocations: 117 kB / 218 MB, free: 8.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.83e-05/1.831e-05, allocations: 0 / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06614/0.06617, allocations: 38.77 MB / 301 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2497/0.3159, allocations: 69.63 MB / 370.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.3163, allocations: 69.52 kB / 370.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02282/0.3391, allocations: 8.918 MB / 379.6 MB, free: 7.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3392, allocations: 4 kB / 379.6 MB, free: 7.477 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.83e-05/0.3392, allocations: 12 kB / 379.6 MB, free: 7.465 MB / 266.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.001042/0.3403, allocations: 0.6671 MB / 380.3 MB, free: 6.777 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.3404, allocations: 8.031 kB / 380.3 MB, free: 6.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.3405, allocations: 59.34 kB / 380.3 MB, free: 6.711 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.341, allocations: 364.1 kB / 380.7 MB, free: 6.359 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.301e-05/0.3411, allocations: 42.48 kB / 380.7 MB, free: 6.312 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/0.3412, allocations: 24.28 kB / 380.8 MB, free: 6.289 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000448/0.3416, allocations: 245.9 kB / 381 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.3422, allocations: 388.7 kB / 381.4 MB, free: 5.789 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3422, allocations: 0 / 381.4 MB, free: 5.789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.3423, allocations: 4 kB / 381.4 MB, free: 5.785 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.3423, allocations: 8 kB / 381.4 MB, free: 5.777 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.344, allocations: 1.142 MB / 382.5 MB, free: 4.836 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009559/0.3449, allocations: 412.9 kB / 382.9 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.3451, allocations: 128.9 kB / 383.1 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.3452, allocations: 4.281 kB / 383.1 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.3452, allocations: 41.77 kB / 383.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.764e-06/0.3452, allocations: 2.609 kB / 383.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005969/0.3458, allocations: 320.2 kB / 383.4 MB, free: 4.117 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.346, allocations: 441 kB / 383.9 MB, free: 3.582 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.3463, allocations: 322.8 kB / 384.2 MB, free: 3.332 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.3464, allocations: 25.7 kB / 384.2 MB, free: 3.301 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.3465, allocations: 226.5 kB / 384.4 MB, free: 3.141 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.517e-05/0.3466, allocations: 116.2 kB / 384.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/0.3466, allocations: 0 / 384.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3467, allocations: 347.9 kB / 384.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3469, allocations: 88.12 kB / 385 MB, free: 2.656 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.3471, allocations: 234 kB / 385.2 MB, free: 2.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.3473, allocations: 107.9 kB / 385.3 MB, free: 2.367 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3473, allocations: 4 kB / 385.3 MB, free: 2.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005666/0.3479, allocations: 366.7 kB / 385.7 MB, free: 2.082 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.348, allocations: 29.7 kB / 385.7 MB, free: 2.047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.348, allocations: 0 / 385.7 MB, free: 2.047 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002752/0.3482, allocations: 79.92 kB / 385.8 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.3486, allocations: 71.89 kB / 385.8 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.3508, allocations: 2.643 MB / 388.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.3511, allocations: 31.67 kB / 388.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.3511, allocations: 15.31 kB / 388.5 MB, free: 15.15 MB / 282.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: pipe.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: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002136/0.3513, allocations: 120.9 kB / 388.6 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.3514, allocations: 39.67 kB / 388.7 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.055e-05/0.3515, allocations: 55.11 kB / 388.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3515, allocations: 0 / 388.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3515, allocations: 4 kB / 388.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005033/0.352, allocations: 0.6144 MB / 389.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009995/0.3531, allocations: 0.7965 MB / 390.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3531, allocations: 4 kB / 390.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.3534, allocations: 71.89 kB / 390.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3534, allocations: 4 kB / 390.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.3535, allocations: 3.984 kB / 390.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3535, allocations: 0 / 390.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3535, allocations: 0 / 390.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/0.354, allocations: 495.1 kB / 390.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.721e-05/0.3541, allocations: 127.6 kB / 390.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.3542, allocations: 7.984 kB / 390.8 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.3544, allocations: 8 kB / 390.9 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.3545, allocations: 23.03 kB / 390.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3545, allocations: 15.44 kB / 390.9 MB, free: 12.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002276/0.3547, allocations: 245.5 kB / 391.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3548, allocations: 0 / 391.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004224/0.3552, allocations: 127 kB / 391.3 MB, free: 12.66 MB / 282.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 () * 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.0001639/0.3554, allocations: 115.8 kB / 391.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008361/0.3562, allocations: 0.518 MB / 391.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3562, allocations: 0 / 391.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.3564, allocations: 118.6 kB / 392 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.3569, allocations: 100.4 kB / 392.1 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.3581, allocations: 0.5927 MB / 392.7 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.3585, allocations: 0.8198 MB / 393.5 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.3587, allocations: 55.27 kB / 393.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.029e-05/0.3588, allocations: 35.44 kB / 393.6 MB, free: 10.41 MB / 282.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3588, allocations: 0 / 393.6 MB, free: 10.41 MB / 282.7 MB Notification: Performance of Templates: time 0.01051/0.3693, allocations: 6.307 MB / 399.9 MB, free: 4.109 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)