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.001124/0.001124, allocations: 182.8 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.441/1.441, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001538/0.001539, allocations: 112.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.467e-05/2.469e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08793/0.08797, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3294/0.4174, allocations: 75.64 MB / 425.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4178, allocations: 72.58 kB / 425.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01987/0.4376, allocations: 9.049 MB / 434.2 MB, free: 7.539 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4377, allocations: 3.875 kB / 434.2 MB, free: 7.539 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.4377, allocations: 11.69 kB / 434.2 MB, free: 7.535 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.0008109/0.4385, allocations: 0.6656 MB / 434.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4386, allocations: 12.62 kB / 434.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.4387, allocations: 57.5 kB / 434.9 MB, free: 6.961 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.4391, allocations: 373.1 kB / 435.3 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.524e-05/0.4392, allocations: 60.16 kB / 435.4 MB, free: 6.648 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.07e-05/0.4393, allocations: 29.09 kB / 435.4 MB, free: 6.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.4398, allocations: 428.7 kB / 435.8 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4398, allocations: 7.953 kB / 435.8 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.4399, allocations: 13.22 kB / 435.8 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.4399, allocations: 11.59 kB / 435.8 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.4403, allocations: 260.3 kB / 436.1 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.4418, allocations: 1.234 MB / 437.3 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009369/0.4428, allocations: 427.8 kB / 437.8 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.443, allocations: 131.7 kB / 437.9 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.443, allocations: 7.641 kB / 437.9 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.443, allocations: 41.94 kB / 437.9 MB, free: 5.496 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.624e-06/0.4431, allocations: 0 / 437.9 MB, free: 5.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005716/0.4436, allocations: 341.3 kB / 438.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/0.4437, allocations: 448 kB / 438.7 MB, free: 4.859 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.4441, allocations: 381.9 kB / 439.1 MB, free: 4.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.4441, allocations: 35.67 kB / 439.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.4442, allocations: 223.8 kB / 439.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.146e-05/0.4443, allocations: 121.8 kB / 439.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.658e-05/0.4443, allocations: 3.125 kB / 439.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.4444, allocations: 358.1 kB / 439.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.4446, allocations: 97.72 kB / 439.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.4448, allocations: 245.6 kB / 440.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.445, allocations: 145.5 kB / 440.3 MB, free: 3.945 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.445, allocations: 3.953 kB / 440.3 MB, free: 3.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005821/0.4456, allocations: 423.9 kB / 440.7 MB, free: 3.801 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.4457, allocations: 29.58 kB / 440.7 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4457, allocations: 3.688 kB / 440.7 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/0.446, allocations: 79.19 kB / 440.8 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.4463, allocations: 69.33 kB / 440.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.4481, allocations: 2.746 MB / 443.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.4484, allocations: 57.73 kB / 443.7 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.4484, allocations: 11.56 kB / 443.7 MB, free: 1.07 MB / 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 () * 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 9.421e-05/0.4485, allocations: 132.3 kB / 443.8 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.897e-05/0.4486, allocations: 46.59 kB / 443.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.712e-05/0.4487, allocations: 50.7 kB / 443.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4487, allocations: 7.844 kB / 443.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4487, allocations: 0 / 443.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004112/0.4491, allocations: 0.6358 MB / 444.6 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009744/0.4501, allocations: 0.8875 MB / 445.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4501, allocations: 0 / 445.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.4505, allocations: 70.05 kB / 445.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.4505, allocations: 4 kB / 445.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.4505, allocations: 11.78 kB / 445.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4505, allocations: 0 / 445.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4505, allocations: 0 / 445.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000564/0.4511, allocations: 0.4903 MB / 446 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.4512, allocations: 139.2 kB / 446.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.4513, allocations: 7.781 kB / 446.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.4515, allocations: 23.61 kB / 446.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.4516, allocations: 19.53 kB / 446.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.4516, allocations: 7.688 kB / 446.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002737/0.4519, allocations: 309.3 kB / 446.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4519, allocations: 0 / 446.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003985/0.4523, allocations: 139.2 kB / 446.6 MB, free: 15.3 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 () * 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.0001757/0.4525, allocations: 118.7 kB / 446.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009138/0.4534, allocations: 0.5507 MB / 447.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.4534, allocations: 0 / 447.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.4536, allocations: 123.2 kB / 447.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.4541, allocations: 113.5 kB / 447.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.4552, allocations: 0.5929 MB / 448.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.4556, allocations: 0.8237 MB / 449 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.4558, allocations: 60.23 kB / 449 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.4559, allocations: 43.42 kB / 449.1 MB, free: 13.01 MB / 314.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4559, allocations: 0 / 449.1 MB, free: 13.01 MB / 314.7 MB Notification: Performance of Templates: time 0.01242/0.4684, allocations: 7.343 MB / 456.4 MB, free: 5.691 MB / 314.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)