Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001022/0.001022, allocations: 192.1 kB / 8.141 MB, free: 2.18 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.061/1.061, allocations: 194.2 MB / 202.8 MB, free: 8.676 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.001753/0.001753, allocations: 120.9 kB / 247.7 MB, free: 6.43 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.159e-06/5.199e-06, allocations: 0 / 297.6 MB, free: 8.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07288/0.0729, allocations: 44.49 MB / 342.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/0.2702, allocations: 75.9 MB / 418 MB, free: 19.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001779/0.2705, allocations: 79.31 kB / 418 MB, free: 19.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.04385/0.3143, allocations: 17.85 MB / 435.9 MB, free: 4.988 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.321e-05/0.3144, allocations: 19.94 kB / 435.9 MB, free: 4.969 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001769/0.3162, allocations: 1.136 MB / 437 MB, free: 3.832 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3162, allocations: 8.031 kB / 437 MB, free: 3.824 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.3165, allocations: 122.7 kB / 437.2 MB, free: 3.703 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008947/0.3174, allocations: 0.5862 MB / 437.7 MB, free: 3.172 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.3176, allocations: 138.1 kB / 437.9 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.205e-05/0.3177, allocations: 40 kB / 437.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008864/0.3185, allocations: 0.5173 MB / 438.4 MB, free: 2.652 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009862/0.3195, allocations: 0.7817 MB / 439.2 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.3196, allocations: 0 / 439.2 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.287e-05/0.3196, allocations: 4 kB / 439.2 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.3197, allocations: 16 kB / 439.2 MB, free: 1.922 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003564/0.3232, allocations: 2.379 MB / 441.6 MB, free: 16 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.3246, allocations: 0.6921 MB / 442.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005179/0.3251, allocations: 297.6 kB / 442.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.289e-05/0.3252, allocations: 21.59 kB / 442.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.3252, allocations: 52.03 kB / 442.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 1.903e-06/0.3253, allocations: 0 / 442.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=72): time 0.001346/0.3266, allocations: 0.6556 MB / 443.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003334/0.327, allocations: 0.9524 MB / 444.3 MB, free: 13.53 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006764/0.3276, allocations: 0.5595 MB / 444.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.227e-05/0.3277, allocations: 29.7 kB / 444.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.3279, allocations: 281.5 kB / 445.1 MB, free: 12.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.3281, allocations: 237.6 kB / 445.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.3281, allocations: 0 / 445.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3283, allocations: 393.1 kB / 445.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.3287, allocations: 203.4 kB / 446 MB, free: 12.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.3293, allocations: 0.5165 MB / 446.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.3297, allocations: 266.7 kB / 446.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3297, allocations: 4 kB / 446.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001423/0.3312, allocations: 0.7753 MB / 447.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3312, allocations: 8.125 kB / 447.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3312, allocations: 0 / 447.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005927/0.3318, allocations: 173.2 kB / 447.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008169/0.3326, allocations: 163.5 kB / 447.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00577/0.3384, allocations: 6.613 MB / 454.5 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006641/0.3391, allocations: 87.44 kB / 454.6 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.018e-05/0.3392, allocations: 30.19 kB / 454.6 MB, free: 3.598 MB / 330.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: outerPump.flowPort_b.H_flow:VARIABLE(flow=true unit = "W" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absolutePressure.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: innerPipe.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: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002844/0.3395, allocations: 140.5 kB / 454.7 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.3396, allocations: 87.06 kB / 454.8 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.3398, allocations: 87.22 kB / 454.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.3398, allocations: 8 kB / 454.9 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3398, allocations: 0 / 454.9 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/0.3409, allocations: 0.8722 MB / 455.8 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.3433, allocations: 1.55 MB / 457.3 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3433, allocations: 0 / 457.3 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009116/0.3443, allocations: 169 kB / 457.5 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.3444, allocations: 29.59 kB / 457.5 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.644e-05/0.3444, allocations: 9.625 kB / 457.5 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.3456, allocations: 1.379 MB / 458.9 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3456, allocations: 5.781 kB / 458.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001517/0.3471, allocations: 0.9427 MB / 459.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.3473, allocations: 172 kB / 460 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.3475, allocations: 4 kB / 460 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.348, allocations: 37.03 kB / 460.1 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/0.3481, allocations: 42.27 kB / 460.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/0.3482, allocations: 21.56 kB / 460.1 MB, free: 14.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0005359/0.3487, allocations: 434.4 kB / 460.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008015/0.3495, allocations: 275.6 kB / 460.8 MB, free: 14.12 MB / 346.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 () * 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.0002019/0.3497, allocations: 123 kB / 460.9 MB, free: 13.99 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00205/0.3518, allocations: 1.177 MB / 462.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3518, allocations: 4 kB / 462.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005407/0.3524, allocations: 370.5 kB / 462.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009656/0.3533, allocations: 203.2 kB / 462.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.3561, allocations: 1.217 MB / 463.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008916/0.357, allocations: 1.071 MB / 465 MB, free: 10.26 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.357, allocations: 0 / 465 MB, free: 10.26 MB / 346.7 MB Notification: Performance of Templates: time 0.0256/0.3826, allocations: 14.7 MB / 479.7 MB, free: 11.6 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)