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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8778/0.8778, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002282/0.002282, allocations: 147.5 kB / 149.1 MB, free: 0.9531 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.111e-05, allocations: 0.7031 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05734/0.05738, allocations: 25.17 MB / 205.4 MB, free: 8.43 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06086/0.1183, allocations: 38.61 MB / 244 MB, free: 1.75 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.1185, allocations: 63.97 kB / 244.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1835/0.302, allocations: 18.83 MB / 262.9 MB, free: 32.79 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3021, allocations: 0 / 262.9 MB, free: 32.79 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.936e-05/0.3021, allocations: 16 kB / 262.9 MB, free: 32.78 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.001712/0.3038, allocations: 1.132 MB / 264 MB, free: 31.58 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/0.3039, allocations: 8.031 kB / 264 MB, free: 31.57 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.3041, allocations: 126.7 kB / 264.2 MB, free: 31.45 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009111/0.305, allocations: 0.5714 MB / 264.7 MB, free: 30.84 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.3052, allocations: 159.1 kB / 264.9 MB, free: 30.66 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.694e-05/0.3053, allocations: 68.62 kB / 265 MB, free: 30.59 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.3065, allocations: 0.9237 MB / 265.9 MB, free: 29.55 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.3065, allocations: 0 / 265.9 MB, free: 29.55 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.49e-05/0.3066, allocations: 36 kB / 265.9 MB, free: 29.52 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.3066, allocations: 16 kB / 265.9 MB, free: 29.5 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008289/0.3074, allocations: 0.5429 MB / 266.5 MB, free: 28.96 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/0.3108, allocations: 2.818 MB / 269.3 MB, free: 25.94 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/0.3131, allocations: 0.8826 MB / 270.2 MB, free: 25.04 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004535/0.3135, allocations: 319.1 kB / 270.5 MB, free: 24.73 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.148e-05/0.3136, allocations: 16.77 kB / 270.5 MB, free: 24.71 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.3136, allocations: 51.34 kB / 270.6 MB, free: 24.65 MB / 186.7 MB Notification: Performance of pre-optimization done (n=72): time 2.475e-06/0.3136, allocations: 4 kB / 270.6 MB, free: 24.64 MB / 186.7 MB Notification: Performance of matching and sorting (n=72): time 0.001247/0.3149, allocations: 0.7141 MB / 271.3 MB, free: 23.91 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002087/0.3151, allocations: 0.949 MB / 272.2 MB, free: 22.73 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.0008368/0.316, allocations: 0.7001 MB / 272.9 MB, free: 22.03 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.316, allocations: 45.7 kB / 273 MB, free: 21.98 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.3162, allocations: 400.6 kB / 273.4 MB, free: 21.58 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.3164, allocations: 252.2 kB / 273.6 MB, free: 21.33 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.3164, allocations: 12 kB / 273.6 MB, free: 21.32 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 6.333e-05/0.3165, allocations: 334 kB / 273.9 MB, free: 20.99 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.3168, allocations: 221.5 kB / 274.2 MB, free: 20.77 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/0.3173, allocations: 0.535 MB / 274.7 MB, free: 20.11 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.3178, allocations: 370.9 kB / 275.1 MB, free: 19.73 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3178, allocations: 0 / 275.1 MB, free: 19.73 MB / 186.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001254/0.319, allocations: 0.9261 MB / 276 MB, free: 18.77 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/0.3191, allocations: 89.09 kB / 276.1 MB, free: 18.66 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3191, allocations: 3.938 kB / 276.1 MB, free: 18.66 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005117/0.3196, allocations: 176.2 kB / 276.2 MB, free: 18.47 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006392/0.3203, allocations: 155.8 kB / 276.4 MB, free: 18.32 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004108/0.3244, allocations: 6.902 MB / 283.3 MB, free: 10.74 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.3254, allocations: 115.2 kB / 283.4 MB, free: 10.63 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.3255, allocations: 28 kB / 283.4 MB, free: 10.6 MB / 186.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 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.0002952/0.3258, allocations: 196.7 kB / 283.6 MB, free: 10.41 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.3259, allocations: 102.8 kB / 283.7 MB, free: 10.3 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.3262, allocations: 96.5 kB / 283.8 MB, free: 10.21 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3262, allocations: 4 kB / 283.8 MB, free: 10.2 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.3262, allocations: 4 kB / 283.8 MB, free: 10.2 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008868/0.3271, allocations: 0.9222 MB / 284.8 MB, free: 9.168 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.3292, allocations: 1.733 MB / 286.5 MB, free: 7.348 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3292, allocations: 3.984 kB / 286.5 MB, free: 7.344 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006902/0.3299, allocations: 167.8 kB / 286.7 MB, free: 7.18 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/0.33, allocations: 36.8 kB / 286.7 MB, free: 7.141 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.33, allocations: 15.98 kB / 286.7 MB, free: 7.125 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007418/0.3308, allocations: 1.436 MB / 288.1 MB, free: 5.559 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3308, allocations: 0 / 288.1 MB, free: 5.559 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.332, allocations: 0.9945 MB / 289.1 MB, free: 4.543 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.3322, allocations: 183.8 kB / 289.3 MB, free: 4.344 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.3323, allocations: 24.05 kB / 289.3 MB, free: 4.32 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/0.3328, allocations: 55.83 kB / 289.4 MB, free: 4.266 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.3329, allocations: 48.7 kB / 289.4 MB, free: 4.219 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.3329, allocations: 19.95 kB / 289.5 MB, free: 4.199 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0005287/0.3335, allocations: 0.5265 MB / 290 MB, free: 3.68 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3335, allocations: 0 / 290 MB, free: 3.68 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007759/0.3342, allocations: 313.8 kB / 290.3 MB, free: 3.375 MB / 186.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.0001867/0.3344, allocations: 135.1 kB / 290.4 MB, free: 3.23 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.3362, allocations: 1.359 MB / 291.8 MB, free: 1.77 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.3363, allocations: 4 kB / 291.8 MB, free: 1.766 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004606/0.3367, allocations: 395.1 kB / 292.2 MB, free: 1.367 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.3389, allocations: 0.4901 MB / 292.7 MB, free: 0.8789 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.3409, allocations: 1.226 MB / 293.9 MB, free: 15.62 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/0.3414, allocations: 0.9838 MB / 294.9 MB, free: 14.61 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0006236/0.3421, allocations: 127.5 kB / 295 MB, free: 14.48 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.3423, allocations: 79.42 kB / 295.1 MB, free: 14.41 MB / 202.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3423, allocations: 0 / 295.1 MB, free: 14.41 MB / 202.7 MB Notification: Performance of Templates: time 0.03218/0.3745, allocations: 18.94 MB / 314 MB, free: 11.43 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)