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") [: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.1+maint.om/package.mo): time 0.005061/0.005061, allocations: 174.9 kB / 7.451 MB, free: 2.156 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.188/1.188, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001726/0.001726, allocations: 125 kB / 217.7 MB, free: 8.227 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/7.143e-06, allocations: 4 kB / 261.7 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06721/0.06723, allocations: 38.77 MB / 300.5 MB, free: 3.902 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2194/0.2867, allocations: 70.56 MB / 371.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.287, allocations: 73.64 kB / 371.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.04789/0.3349, allocations: 17.78 MB / 388.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.352e-05/0.335, allocations: 19.94 kB / 388.9 MB, free: 15.35 MB / 282.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.00234/0.3374, allocations: 1.132 MB / 390.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3374, allocations: 12.03 kB / 390.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003714/0.3378, allocations: 118.7 kB / 390.2 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.3391, allocations: 0.5806 MB / 390.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002473/0.3394, allocations: 134.4 kB / 390.9 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.3396, allocations: 39.98 kB / 391 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001142/0.3407, allocations: 0.5201 MB / 391.5 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.3419, allocations: 0.796 MB / 392.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.342, allocations: 0 / 392.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.388e-05/0.342, allocations: 0 / 392.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.855e-05/0.3421, allocations: 20 kB / 392.3 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004376/0.3465, allocations: 2.363 MB / 394.6 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.3478, allocations: 0.6842 MB / 395.3 MB, free: 9.859 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/0.3483, allocations: 297.1 kB / 395.6 MB, free: 9.676 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.566e-05/0.3484, allocations: 20.62 kB / 395.6 MB, free: 9.656 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.3485, allocations: 49.59 kB / 395.7 MB, free: 9.609 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 2.584e-06/0.3485, allocations: 0 / 395.7 MB, free: 9.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.001527/0.35, allocations: 0.6617 MB / 396.4 MB, free: 9.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000571/0.3506, allocations: 0.9444 MB / 397.3 MB, free: 7.922 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.3516, allocations: 0.561 MB / 397.9 MB, free: 7.504 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-05/0.3517, allocations: 29.7 kB / 397.9 MB, free: 7.469 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.352, allocations: 280.9 kB / 398.2 MB, free: 7.227 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003127/0.3523, allocations: 242.8 kB / 398.4 MB, free: 7.016 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.3524, allocations: 0 / 398.4 MB, free: 7.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003137/0.3527, allocations: 393 kB / 398.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/0.3532, allocations: 201.5 kB / 399 MB, free: 6.547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007486/0.3539, allocations: 0.5249 MB / 399.5 MB, free: 6.027 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/0.3544, allocations: 263.6 kB / 399.8 MB, free: 5.863 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-06/0.3545, allocations: 7.938 kB / 399.8 MB, free: 5.855 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001634/0.3561, allocations: 0.7711 MB / 400.5 MB, free: 5.262 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3561, allocations: 4.125 kB / 400.5 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3561, allocations: 4 kB / 400.6 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/0.3568, allocations: 169.5 kB / 400.7 MB, free: 5.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008018/0.3576, allocations: 162.5 kB / 400.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006435/0.364, allocations: 6.595 MB / 407.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009512/0.365, allocations: 87.45 kB / 407.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.3652, allocations: 27.05 kB / 407.6 MB, free: 14.01 MB / 298.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.0003972/0.3656, allocations: 133.4 kB / 407.7 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.3659, allocations: 90.97 kB / 407.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.3662, allocations: 86.48 kB / 407.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.3662, allocations: 8 kB / 407.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.3662, allocations: 0 / 407.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001238/0.3674, allocations: 0.8788 MB / 408.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/0.3703, allocations: 1.542 MB / 410.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3703, allocations: 0 / 410.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008813/0.3712, allocations: 163.8 kB / 410.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.3713, allocations: 28.89 kB / 410.5 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.738e-05/0.3714, allocations: 7.969 kB / 410.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.3726, allocations: 1.388 MB / 411.9 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3726, allocations: 0 / 411.9 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001568/0.3742, allocations: 0.9389 MB / 412.8 MB, free: 8.871 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/0.3745, allocations: 172 kB / 413 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.3747, allocations: 7.938 kB / 413 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.3752, allocations: 35.94 kB / 413 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.982e-05/0.3753, allocations: 36.59 kB / 413.1 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.3754, allocations: 19.94 kB / 413.1 MB, free: 8.586 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.0006384/0.376, allocations: 439.2 kB / 413.5 MB, free: 8.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000951/0.377, allocations: 263.7 kB / 413.8 MB, free: 7.902 MB / 298.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.0002334/0.3772, allocations: 119.2 kB / 413.9 MB, free: 7.777 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002242/0.3795, allocations: 1.181 MB / 415.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3795, allocations: 0 / 415.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005958/0.3801, allocations: 380.2 kB / 415.5 MB, free: 6.145 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000953/0.3811, allocations: 196.7 kB / 415.6 MB, free: 5.957 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.3843, allocations: 1.262 MB / 416.9 MB, free: 4.664 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.3854, allocations: 1.071 MB / 418 MB, free: 3.566 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3854, allocations: 0 / 418 MB, free: 3.566 MB / 298.7 MB Notification: Performance of Templates: time 0.02771/0.4131, allocations: 14.52 MB / 432.5 MB, free: 5.02 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)