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.007163/0.007163, allocations: 164.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.348/1.348, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001625/0.001625, allocations: 114.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003207, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2114, allocations: 38.77 MB / 312.9 MB, free: 38.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09007/0.3016, allocations: 70.39 MB / 383.3 MB, free: 4.121 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.3019, allocations: 71.97 kB / 383.3 MB, free: 4.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02437/0.3263, allocations: 9.037 MB / 392.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.3263, allocations: 0 / 392.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.868e-05/0.3264, allocations: 16 kB / 392.4 MB, free: 10.95 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001457/0.3279, allocations: 0.7376 MB / 393.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3279, allocations: 8.031 kB / 393.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.3281, allocations: 63.34 kB / 393.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000672/0.3288, allocations: 369.7 kB / 393.6 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.3289, allocations: 58.7 kB / 393.6 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.174e-05/0.329, allocations: 31.95 kB / 393.7 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007969/0.3298, allocations: 452.9 kB / 394.1 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.3298, allocations: 4 kB / 394.1 MB, free: 9.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.3299, allocations: 16 kB / 394.1 MB, free: 9.074 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3299, allocations: 8 kB / 394.1 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006156/0.3305, allocations: 290.5 kB / 394.4 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.3327, allocations: 1.225 MB / 395.6 MB, free: 7.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.334, allocations: 453.5 kB / 396.1 MB, free: 7.008 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.334, allocations: 8.266 kB / 396.1 MB, free: 7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.334, allocations: 38.84 kB / 396.1 MB, free: 6.953 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.3341, allocations: 0 / 396.1 MB, free: 6.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.001268/0.3353, allocations: 0.6207 MB / 396.7 MB, free: 6.285 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002331/0.3356, allocations: 452.9 kB / 397.2 MB, free: 5.738 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000495/0.3361, allocations: 381.2 kB / 397.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.3361, allocations: 29.7 kB / 397.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.3363, allocations: 228 kB / 397.8 MB, free: 5.105 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.3364, allocations: 122.3 kB / 397.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.3365, allocations: 4 kB / 397.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3366, allocations: 358.8 kB / 398.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.3369, allocations: 111.9 kB / 398.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/0.3373, allocations: 258.4 kB / 398.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.3376, allocations: 160.1 kB / 398.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3376, allocations: 0 / 398.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007584/0.3384, allocations: 442.2 kB / 399.2 MB, free: 3.594 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.3385, allocations: 31.89 kB / 399.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.3385, allocations: 4 kB / 399.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.3386, allocations: 49.72 kB / 399.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.339, allocations: 75.91 kB / 399.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/0.3415, allocations: 2.767 MB / 402.2 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.342, allocations: 47.88 kB / 402.2 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.342, allocations: 16.03 kB / 402.2 MB, free: 332 kB / 298.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.0003236/0.3424, allocations: 173.7 kB / 402.4 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.3425, allocations: 51.44 kB / 402.4 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.3427, allocations: 44.53 kB / 402.5 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.3427, allocations: 7.984 kB / 402.5 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3427, allocations: 0 / 402.5 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008682/0.3436, allocations: 0.662 MB / 403.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.3453, allocations: 0.9109 MB / 404.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.3453, allocations: 4 kB / 404.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003601/0.3457, allocations: 71.89 kB / 404.1 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-06/0.3457, allocations: 4 kB / 404.1 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.3457, allocations: 8 kB / 404.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3457, allocations: 4 kB / 404.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3457, allocations: 3.953 kB / 404.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009038/0.3466, allocations: 0.5378 MB / 404.7 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.3468, allocations: 124.5 kB / 404.8 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.009e-05/0.3469, allocations: 12 kB / 404.8 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.3472, allocations: 20.05 kB / 404.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.3473, allocations: 27.92 kB / 404.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.3473, allocations: 4 kB / 404.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004137/0.3477, allocations: 307.1 kB / 405.2 MB, free: 13.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3477, allocations: 0 / 405.2 MB, free: 13.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005221/0.3483, allocations: 135.8 kB / 405.3 MB, free: 13.02 MB / 314.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.0002182/0.3485, allocations: 127.4 kB / 405.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.3495, allocations: 0.5669 MB / 406 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.3496, allocations: 8.062 kB / 406 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.3498, allocations: 132.4 kB / 406.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.3504, allocations: 116.8 kB / 406.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.3524, allocations: 1.067 MB / 407.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.3529, allocations: 0.8198 MB / 408.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003202/0.3532, allocations: 64.22 kB / 408.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.3533, allocations: 35.44 kB / 408.2 MB, free: 9.988 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.3533, allocations: 3.938 kB / 408.2 MB, free: 9.984 MB / 314.7 MB Notification: Performance of Templates: time 0.01425/0.3676, allocations: 7.048 MB / 415.3 MB, free: 2.98 MB / 314.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)