Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01028/0.01028, allocations: 165.5 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.359/1.359, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001602/0.001602, allocations: 114.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2294, allocations: 38.76 MB / 312.9 MB, free: 38.73 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0942/0.3236, allocations: 71.4 MB / 384.3 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.3239, allocations: 67.97 kB / 384.3 MB, free: 3.074 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04751/0.3714, allocations: 18.13 MB / 402.5 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.107e-06/0.3715, allocations: 0 / 402.5 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.692e-05/0.3715, allocations: 27.88 kB / 402.5 MB, free: 0.8164 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002331/0.3739, allocations: 1.247 MB / 403.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.3739, allocations: 12.03 kB / 403.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.3742, allocations: 118.7 kB / 403.9 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009456/0.3751, allocations: 0.5753 MB / 404.5 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/0.3753, allocations: 158.3 kB / 404.6 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.3755, allocations: 68 kB / 404.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.3769, allocations: 0.9379 MB / 405.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.377, allocations: 0 / 405.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.837e-05/0.3771, allocations: 36 kB / 405.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.3771, allocations: 15.94 kB / 405.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.3784, allocations: 0.6375 MB / 406.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/0.3824, allocations: 2.491 MB / 408.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002781/0.3852, allocations: 0.9378 MB / 409.7 MB, free: 9.184 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.758e-05/0.3853, allocations: 20.64 kB / 409.7 MB, free: 9.164 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.3854, allocations: 43.22 kB / 409.8 MB, free: 9.113 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.577e-06/0.3854, allocations: 0 / 409.8 MB, free: 9.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.002934/0.3883, allocations: 1.466 MB / 411.3 MB, free: 7.535 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005412/0.3889, allocations: 0.9489 MB / 412.2 MB, free: 6.359 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009911/0.3899, allocations: 0.6642 MB / 412.9 MB, free: 5.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.917e-05/0.39, allocations: 49.7 kB / 412.9 MB, free: 5.633 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/0.3903, allocations: 392.4 kB / 413.3 MB, free: 5.246 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.3906, allocations: 248.4 kB / 413.5 MB, free: 5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.3906, allocations: 19.94 kB / 413.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3908, allocations: 330 kB / 413.9 MB, free: 4.652 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.3914, allocations: 277.9 kB / 414.2 MB, free: 4.379 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008542/0.3922, allocations: 0.5802 MB / 414.7 MB, free: 3.676 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000683/0.3929, allocations: 408 kB / 415.1 MB, free: 3.262 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3929, allocations: 0 / 415.1 MB, free: 3.262 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001848/0.3948, allocations: 0.9898 MB / 416.1 MB, free: 2.227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.078e-05/0.3949, allocations: 85.11 kB / 416.2 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3949, allocations: 0 / 416.2 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003787/0.3953, allocations: 140.2 kB / 416.3 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/0.396, allocations: 147.8 kB / 416.5 MB, free: 1.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1713/0.5673, allocations: 6.974 MB / 423.5 MB, free: 78.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009857/0.5683, allocations: 110.9 kB / 423.6 MB, free: 78.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.921e-05/0.5684, allocations: 26.17 kB / 423.6 MB, free: 78.32 MB / 314.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 71 * 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%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000445/0.5689, allocations: 235.7 kB / 423.8 MB, free: 78.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.5691, allocations: 98.41 kB / 423.9 MB, free: 78.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.5693, allocations: 101.3 kB / 424 MB, free: 78.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.5693, allocations: 7.219 kB / 424 MB, free: 78.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.5693, allocations: 9.391 kB / 424 MB, free: 78.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/0.5706, allocations: 1 MB / 425 MB, free: 77.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.5731, allocations: 1.75 MB / 426.8 MB, free: 77.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5732, allocations: 0 / 426.8 MB, free: 77.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008111/0.574, allocations: 157.6 kB / 426.9 MB, free: 77.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.5741, allocations: 35.39 kB / 427 MB, free: 77.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.5741, allocations: 10.62 kB / 427 MB, free: 77.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007772/0.5749, allocations: 1.457 MB / 428.4 MB, free: 75.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5749, allocations: 3.906 kB / 428.4 MB, free: 75.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.5768, allocations: 1.119 MB / 429.6 MB, free: 75.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/0.5771, allocations: 181.8 kB / 429.7 MB, free: 75.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.5772, allocations: 21.56 kB / 429.8 MB, free: 75.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/0.5777, allocations: 44.34 kB / 429.8 MB, free: 75.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.5778, allocations: 51.14 kB / 429.9 MB, free: 75.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.5779, allocations: 19.09 kB / 429.9 MB, free: 75.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006178/0.5785, allocations: 0.5188 MB / 430.4 MB, free: 75.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5785, allocations: 0 / 430.4 MB, free: 75.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009627/0.5795, allocations: 286.4 kB / 430.7 MB, free: 75.44 MB / 314.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002003/0.5797, allocations: 139.2 kB / 430.8 MB, free: 75.35 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.5816, allocations: 1.416 MB / 432.2 MB, free: 74.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.5816, allocations: 2.656 kB / 432.2 MB, free: 74.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007019/0.5824, allocations: 453.5 kB / 432.7 MB, free: 74.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.5834, allocations: 236 kB / 432.9 MB, free: 74.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.5867, allocations: 2.008 MB / 434.9 MB, free: 73.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.5872, allocations: 0.9802 MB / 435.9 MB, free: 72.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00062/0.5878, allocations: 117.3 kB / 436 MB, free: 72.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.588, allocations: 74.58 kB / 436.1 MB, free: 72.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.243e-06/0.588, allocations: 0 / 436.1 MB, free: 72.82 MB / 314.7 MB Notification: Performance of Templates: time 0.02156/0.6096, allocations: 15.1 MB / 451.2 MB, free: 67.56 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)