Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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/Modelica 3.1.0+maint.om/package.mo): time 0.7857/0.7857, allocations: 110.8 MB / 118 MB, free: 14.55 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001766/0.001766, allocations: 156 kB / 143.7 MB, free: 4.875 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.272e-06, allocations: 0 / 173.5 MB, free: 23.05 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04996/0.04999, allocations: 25.17 MB / 198.6 MB, free: 13.94 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/0.2145, allocations: 37.86 MB / 236.5 MB, free: 4.391 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001705/0.2147, allocations: 71.48 kB / 236.6 MB, free: 4.391 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.04592/0.2606, allocations: 18.54 MB / 255.1 MB, free: 15.05 MB / 186.7 MB Notification: Performance of Transformations before backend: time 9.341e-05/0.2608, allocations: 17.69 kB / 255.1 MB, free: 15.05 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002741/0.2635, allocations: 1.141 MB / 256.3 MB, free: 14.23 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.2636, allocations: 9.094 kB / 256.3 MB, free: 14.23 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.2639, allocations: 122.2 kB / 256.4 MB, free: 14.17 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.2651, allocations: 0.5916 MB / 257 MB, free: 13.82 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002889/0.2654, allocations: 133.3 kB / 257.1 MB, free: 13.71 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.2656, allocations: 39.56 kB / 257.1 MB, free: 13.71 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001119/0.2667, allocations: 0.5276 MB / 257.7 MB, free: 13.67 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.268, allocations: 0.8081 MB / 258.5 MB, free: 13.22 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.2681, allocations: 0 / 258.5 MB, free: 13.22 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-05/0.2681, allocations: 2.562 kB / 258.5 MB, free: 13.22 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.2682, allocations: 20.5 kB / 258.5 MB, free: 13.22 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004394/0.2726, allocations: 2.669 MB / 261.2 MB, free: 11.42 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.2739, allocations: 0.6925 MB / 261.9 MB, free: 10.88 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.2745, allocations: 296.4 kB / 262.2 MB, free: 10.7 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.208e-05/0.2745, allocations: 19.55 kB / 262.2 MB, free: 10.69 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.2746, allocations: 46.47 kB / 262.2 MB, free: 10.64 MB / 186.7 MB Notification: Performance of pre-optimization done (n=72): time 2.434e-06/0.2746, allocations: 0 / 262.2 MB, free: 10.64 MB / 186.7 MB Notification: Performance of matching and sorting (n=72): time 0.001474/0.2761, allocations: 0.6658 MB / 262.9 MB, free: 10.12 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004506/0.2765, allocations: 0.9482 MB / 263.8 MB, free: 8.949 MB / 186.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:1309:7-1310:76:writable] Warning: Parameter innerPipe.h_g has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:2262:9-2264:54:writable] Warning: Parameter innerPipe.dpNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:2259:9-2261:54:writable] Warning: Parameter innerPipe.V_flowNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:2256:9-2258:54:writable] Warning: Parameter innerPipe.dpLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:2253:9-2255:54:writable] Warning: Parameter innerPipe.V_flowLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:1309:7-1310:76:writable] Warning: Parameter outerPipe.h_g has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:2262:9-2264:54:writable] Warning: Parameter outerPipe.dpNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:2259:9-2261:54:writable] Warning: Parameter outerPipe.V_flowNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:2256:9-2258:54:writable] Warning: Parameter outerPipe.dpLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:2253:9-2255:54:writable] Warning: Parameter outerPipe.V_flowLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:1702:7-1704:58:writable] Warning: Parameter innerPump.constantVolumeFlow has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:1309:7-1310:76:writable] Warning: Parameter pipe1.h_g has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:1600:7-1602:56:writable] Warning: Parameter ambient2.constantAmbientPressure has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:1702:7-1704:58:writable] Warning: Parameter outerPump.constantVolumeFlow has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:1600:7-1602:56:writable] Warning: Parameter ambient1.constantAmbientPressure has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009186/0.2775, allocations: 0.5805 MB / 264.4 MB, free: 8.5 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/0.2775, allocations: 29.7 kB / 264.4 MB, free: 8.465 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.2778, allocations: 288.2 kB / 264.7 MB, free: 8.176 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.278, allocations: 248.3 kB / 265 MB, free: 7.93 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.278, allocations: 0 / 265 MB, free: 7.93 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.2782, allocations: 382.8 kB / 265.3 MB, free: 7.547 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.2786, allocations: 209.5 kB / 265.5 MB, free: 7.34 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006899/0.2793, allocations: 0.5138 MB / 266.1 MB, free: 6.703 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/0.2797, allocations: 263.6 kB / 266.3 MB, free: 6.441 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2797, allocations: 0 / 266.3 MB, free: 6.441 MB / 186.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001414/0.2812, allocations: 0.7862 MB / 267.1 MB, free: 5.637 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.2812, allocations: 4 kB / 267.1 MB, free: 5.633 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.2812, allocations: 4 kB / 267.1 MB, free: 5.629 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006447/0.2819, allocations: 168.2 kB / 267.3 MB, free: 5.449 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008052/0.2827, allocations: 167.8 kB / 267.4 MB, free: 5.285 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006576/0.2893, allocations: 6.592 MB / 274 MB, free: 14.12 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.2904, allocations: 95.38 kB / 274.1 MB, free: 14.02 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.151e-05/0.2905, allocations: 27.98 kB / 274.2 MB, free: 14 MB / 202.7 MB Warning: Assuming fixed start value for the following 4 variables: innerPipe.T:VARIABLE(min = 1.0 max = 6000.0 start = innerPipe.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real outerPipe.T:VARIABLE(min = 1.0 max = 6000.0 start = outerPipe.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real pipe1.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe1.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real heatCapacitor.T:VARIABLE(min = max(1.0, max(1.0, max(1.0, 1.0))) max = min(6000.0, min(6000.0, min(6000.0, 6000.0))) start = TAmb unit = "K" nominal = 300.0 ) "Temperature of element" 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: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) 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" nominal = 1000000.0 ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absolutePressure.flowPort.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) 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 1,1 3,1 1,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003757/0.2909, allocations: 161.3 kB / 274.3 MB, free: 13.84 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.291, allocations: 87.06 kB / 274.4 MB, free: 13.75 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.2913, allocations: 79.55 kB / 274.5 MB, free: 13.67 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.2913, allocations: 11.91 kB / 274.5 MB, free: 13.66 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.2913, allocations: 0 / 274.5 MB, free: 13.66 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001095/0.2924, allocations: 0.8712 MB / 275.4 MB, free: 12.68 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.295, allocations: 1.608 MB / 277 MB, free: 11.01 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.295, allocations: 0 / 277 MB, free: 11.01 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/0.2959, allocations: 167.8 kB / 277.1 MB, free: 10.85 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.897e-05/0.296, allocations: 28.84 kB / 277.2 MB, free: 10.82 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.296, allocations: 7.984 kB / 277.2 MB, free: 10.81 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.2971, allocations: 1.384 MB / 278.5 MB, free: 9.305 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2971, allocations: 0 / 278.5 MB, free: 9.305 MB / 202.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001435/0.2985, allocations: 0.9467 MB / 279.5 MB, free: 8.34 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.2988, allocations: 171.9 kB / 279.7 MB, free: 8.152 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.2989, allocations: 4 kB / 279.7 MB, free: 8.148 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005312/0.2994, allocations: 39.91 kB / 279.7 MB, free: 8.109 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/0.2995, allocations: 40.59 kB / 279.7 MB, free: 8.07 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.2996, allocations: 19.91 kB / 279.8 MB, free: 8.051 MB / 202.7 MB Notification: Performance of sort global known variables: time 0.000561/0.3001, allocations: 439.2 kB / 280.2 MB, free: 7.629 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0008944/0.301, allocations: 285.6 kB / 280.5 MB, free: 7.352 MB / 202.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.0002419/0.3013, allocations: 123.3 kB / 280.6 MB, free: 7.223 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.3034, allocations: 1.181 MB / 281.8 MB, free: 5.973 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3034, allocations: 4 kB / 281.8 MB, free: 5.969 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005213/0.3039, allocations: 380 kB / 282.1 MB, free: 5.586 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.306, allocations: 429.8 kB / 282.6 MB, free: 5.168 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.3085, allocations: 1.202 MB / 283.8 MB, free: 3.945 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008142/0.3093, allocations: 1.079 MB / 284.8 MB, free: 2.836 MB / 202.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3093, allocations: 3.938 kB / 284.9 MB, free: 2.832 MB / 202.7 MB Notification: Performance of Templates: time 0.02834/0.3376, allocations: 17.33 MB / 302.2 MB, free: 1.535 MB / 218.7 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)