Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [: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.9348/0.9348, allocations: 110.8 MB / 118 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002251/0.002251, allocations: 151.1 kB / 143.7 MB, free: 9.934 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 9.217e-06/9.247e-06, allocations: 0 / 173.5 MB, free: 12.14 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0682/0.06823, allocations: 25.17 MB / 198.6 MB, free: 2.914 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.2606, allocations: 36.96 MB / 235.6 MB, free: 3.195 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/0.2611, allocations: 63.97 kB / 235.6 MB, free: 3.133 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.02727/0.2884, allocations: 9.075 MB / 244.7 MB, free: 10.11 MB / 186.7 MB Notification: Performance of Transformations before backend: time 5.282e-05/0.2886, allocations: 8 kB / 244.7 MB, free: 10.11 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.002069/0.2906, allocations: 0.6869 MB / 245.4 MB, free: 9.367 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.366e-05/0.2907, allocations: 11.97 kB / 245.4 MB, free: 9.355 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003877/0.2911, allocations: 59.34 kB / 245.5 MB, free: 9.297 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.2924, allocations: 372.3 kB / 245.8 MB, free: 8.891 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.2925, allocations: 46.48 kB / 245.9 MB, free: 8.84 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.2927, allocations: 28 kB / 245.9 MB, free: 8.812 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007176/0.2934, allocations: 245.5 kB / 246.2 MB, free: 8.57 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00079/0.2942, allocations: 397.3 kB / 246.5 MB, free: 8.129 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.2942, allocations: 4.672 kB / 246.6 MB, free: 8.125 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/0.2943, allocations: 7.984 kB / 246.6 MB, free: 8.117 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.2943, allocations: 8 kB / 246.6 MB, free: 8.109 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.2974, allocations: 1.284 MB / 247.9 MB, free: 6.734 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007463/0.2981, allocations: 357.5 kB / 248.2 MB, free: 6.359 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.2984, allocations: 127.5 kB / 248.3 MB, free: 6.234 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.542e-05/0.2985, allocations: 12.25 kB / 248.3 MB, free: 6.223 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2985, allocations: 38.84 kB / 248.4 MB, free: 6.176 MB / 186.7 MB Notification: Performance of pre-optimization done (n=33): time 7.194e-06/0.2985, allocations: 4 kB / 248.4 MB, free: 6.172 MB / 186.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009035/0.2994, allocations: 312.6 kB / 248.7 MB, free: 5.855 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002545/0.2997, allocations: 445 kB / 249.1 MB, free: 5.316 MB / 186.7 MB [/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:1309:7-1310:76:writable] Warning: Parameter pipe.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 pipe.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 pipe.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 pipe.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 pipe.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 pump.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.0006174/0.3003, allocations: 342.4 kB / 249.5 MB, free: 4.977 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.3004, allocations: 25.7 kB / 249.5 MB, free: 4.945 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.3005, allocations: 176.2 kB / 249.7 MB, free: 4.77 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.3007, allocations: 122.2 kB / 249.8 MB, free: 4.648 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.3007, allocations: 0 / 249.8 MB, free: 4.648 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.3009, allocations: 349.2 kB / 250.1 MB, free: 4.301 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.3011, allocations: 92.27 kB / 250.2 MB, free: 4.207 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.3014, allocations: 230.8 kB / 250.4 MB, free: 3.93 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.3017, allocations: 109.3 kB / 250.5 MB, free: 3.828 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3017, allocations: 0 / 250.5 MB, free: 3.828 MB / 186.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000777/0.3025, allocations: 368.9 kB / 250.9 MB, free: 3.457 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.3025, allocations: 5.562 kB / 250.9 MB, free: 3.453 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.3025, allocations: 4 kB / 250.9 MB, free: 3.449 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/0.3029, allocations: 81.53 kB / 251 MB, free: 3.363 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.3033, allocations: 67.95 kB / 251.1 MB, free: 3.297 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.3069, allocations: 2.613 MB / 253.7 MB, free: 464 kB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.3073, allocations: 35.77 kB / 253.7 MB, free: 428 kB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.3073, allocations: 12 kB / 253.7 MB, free: 416 kB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: 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 pipe.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient1.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: ambient2.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: 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 1,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003693/0.3077, allocations: 139.9 kB / 253.8 MB, free: 272 kB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.3079, allocations: 39.53 kB / 253.9 MB, free: 232 kB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.308, allocations: 40.25 kB / 253.9 MB, free: 192 kB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.308, allocations: 7.906 kB / 253.9 MB, free: 184 kB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.308, allocations: 0 / 253.9 MB, free: 184 kB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008531/0.3089, allocations: 0.6218 MB / 254.6 MB, free: 15.45 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.3106, allocations: 0.8644 MB / 255.4 MB, free: 14.53 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3106, allocations: 4 kB / 255.4 MB, free: 14.52 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.311, allocations: 69.77 kB / 255.5 MB, free: 14.46 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.3111, allocations: 7.906 kB / 255.5 MB, free: 14.45 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.3111, allocations: 7.984 kB / 255.5 MB, free: 14.44 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.677e-06/0.3111, allocations: 7.938 kB / 255.5 MB, free: 14.43 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.3111, allocations: 0.75 kB / 255.5 MB, free: 14.43 MB / 202.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000889/0.312, allocations: 483.1 kB / 256 MB, free: 13.95 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.3122, allocations: 120.6 kB / 256.1 MB, free: 13.81 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.639e-05/0.3123, allocations: 4 kB / 256.1 MB, free: 13.8 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.3126, allocations: 12.06 kB / 256.1 MB, free: 13.79 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.3127, allocations: 19.97 kB / 256.1 MB, free: 13.77 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.3127, allocations: 8 kB / 256.1 MB, free: 13.77 MB / 202.7 MB Notification: Performance of sort global known variables: time 0.0003886/0.3131, allocations: 260.6 kB / 256.4 MB, free: 13.51 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0005978/0.3137, allocations: 132.6 kB / 256.5 MB, free: 13.38 MB / 202.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.0003144/0.3141, allocations: 119.5 kB / 256.6 MB, free: 13.26 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.3153, allocations: 488.3 kB / 257.1 MB, free: 12.76 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.3153, allocations: 4 kB / 257.1 MB, free: 12.75 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.3155, allocations: 115.9 kB / 257.2 MB, free: 12.64 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.3167, allocations: 205.6 kB / 257.4 MB, free: 12.45 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.3184, allocations: 0.602 MB / 258 MB, free: 11.83 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007111/0.3191, allocations: 0.8693 MB / 258.9 MB, free: 10.93 MB / 202.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3191, allocations: 0 / 258.9 MB, free: 10.93 MB / 202.7 MB Notification: Performance of Templates: time 0.01635/0.3355, allocations: 7.734 MB / 266.6 MB, free: 3.293 MB / 202.7 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)