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.8849/0.8849, allocations: 110.8 MB / 118.3 MB, free: 14.51 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: 159.5 kB / 144 MB, free: 4.832 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.166e-05/2.167e-05, allocations: 4 kB / 173.8 MB, free: 22.81 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05561/0.05565, allocations: 25.18 MB / 199 MB, free: 13.71 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06215/0.1178, allocations: 37.96 MB / 237 MB, free: 7.695 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.1181, allocations: 63.97 kB / 237 MB, free: 7.633 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2095/0.3276, allocations: 18.6 MB / 255.6 MB, free: 38.86 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3277, allocations: 0 / 255.6 MB, free: 38.86 MB / 186.7 MB Notification: Performance of Transformations before backend: time 0.0001135/0.3278, allocations: 22.5 kB / 255.7 MB, free: 38.86 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.002777/0.3306, allocations: 1.126 MB / 256.8 MB, free: 37.98 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.3306, allocations: 9.375 kB / 256.8 MB, free: 37.98 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004473/0.3311, allocations: 121.5 kB / 256.9 MB, free: 37.93 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.3325, allocations: 0.5715 MB / 257.5 MB, free: 37.47 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.3327, allocations: 127.3 kB / 257.6 MB, free: 37.38 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.3329, allocations: 50.34 kB / 257.7 MB, free: 37.37 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001054/0.334, allocations: 0.52 MB / 258.2 MB, free: 37.14 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.3351, allocations: 0.8144 MB / 259 MB, free: 36.5 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.3352, allocations: 3.781 kB / 259 MB, free: 36.5 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.937e-05/0.3352, allocations: 0 / 259 MB, free: 36.5 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.3353, allocations: 17.06 kB / 259 MB, free: 36.5 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004036/0.3393, allocations: 2.655 MB / 261.7 MB, free: 34.31 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.3417, allocations: 0.8471 MB / 262.5 MB, free: 33.87 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004633/0.3421, allocations: 296.8 kB / 262.8 MB, free: 33.65 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.004e-05/0.3422, allocations: 20.64 kB / 262.8 MB, free: 33.63 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.3423, allocations: 47.34 kB / 262.9 MB, free: 33.58 MB / 186.7 MB Notification: Performance of pre-optimization done (n=72): time 3.646e-06/0.3423, allocations: 4 kB / 262.9 MB, free: 33.57 MB / 186.7 MB Notification: Performance of matching and sorting (n=72): time 0.001254/0.3435, allocations: 0.6595 MB / 263.5 MB, free: 32.89 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002087/0.3437, allocations: 0.9529 MB / 264.5 MB, free: 31.71 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.0007973/0.3446, allocations: 0.5846 MB / 265.1 MB, free: 31.12 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 7.029e-05/0.3446, allocations: 29.7 kB / 265.1 MB, free: 31.09 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.3448, allocations: 400.2 kB / 265.5 MB, free: 30.69 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.345, allocations: 240.3 kB / 265.7 MB, free: 30.45 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.3451, allocations: 0 / 265.7 MB, free: 30.45 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3452, allocations: 396.1 kB / 266.1 MB, free: 30.06 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.3455, allocations: 201.6 kB / 266.3 MB, free: 29.86 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/0.346, allocations: 0.51 MB / 266.8 MB, free: 29.23 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.3463, allocations: 268.4 kB / 267.1 MB, free: 28.96 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.3464, allocations: 0 / 267.1 MB, free: 28.96 MB / 186.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001184/0.3475, allocations: 0.7804 MB / 267.9 MB, free: 28.16 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.3476, allocations: 93.22 kB / 268 MB, free: 28.05 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3476, allocations: 0 / 268 MB, free: 28.05 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00051/0.3481, allocations: 176.1 kB / 268.1 MB, free: 27.86 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/0.3488, allocations: 151.8 kB / 268.3 MB, free: 27.71 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004187/0.353, allocations: 6.706 MB / 275 MB, free: 20.42 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009132/0.3539, allocations: 91.45 kB / 275.1 MB, free: 20.33 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.429e-05/0.354, allocations: 20 kB / 275.1 MB, free: 20.31 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 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.000383/0.3544, allocations: 168.9 kB / 275.3 MB, free: 20.14 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.3547, allocations: 90.97 kB / 275.3 MB, free: 20.05 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.3549, allocations: 79.86 kB / 275.4 MB, free: 19.97 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3549, allocations: 8 kB / 275.4 MB, free: 19.96 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.3549, allocations: 0 / 275.4 MB, free: 19.96 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008627/0.3558, allocations: 0.8753 MB / 276.3 MB, free: 18.98 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.3581, allocations: 1.605 MB / 277.9 MB, free: 17.32 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3582, allocations: 0 / 277.9 MB, free: 17.32 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000723/0.3589, allocations: 171.7 kB / 278.1 MB, free: 17.15 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.911e-05/0.359, allocations: 24.84 kB / 278.1 MB, free: 17.12 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/0.3591, allocations: 7.984 kB / 278.1 MB, free: 17.11 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007615/0.3598, allocations: 1.384 MB / 279.5 MB, free: 15.61 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3598, allocations: 4.031 kB / 279.5 MB, free: 15.61 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.3611, allocations: 0.9437 MB / 280.4 MB, free: 14.64 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003752/0.3614, allocations: 168.1 kB / 280.6 MB, free: 14.46 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.3617, allocations: 4 kB / 280.6 MB, free: 14.46 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006253/0.3623, allocations: 39.81 kB / 280.7 MB, free: 14.42 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.624e-05/0.3624, allocations: 52.67 kB / 280.7 MB, free: 14.37 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.3625, allocations: 23.98 kB / 280.7 MB, free: 14.34 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0005239/0.363, allocations: 435.2 kB / 281.2 MB, free: 13.93 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.363, allocations: 0 / 281.2 MB, free: 13.93 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.001066/0.3641, allocations: 291.8 kB / 281.4 MB, free: 13.64 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.0002396/0.3643, allocations: 111.1 kB / 281.5 MB, free: 13.52 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.3662, allocations: 1.293 MB / 282.8 MB, free: 12.15 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.3662, allocations: 4 kB / 282.8 MB, free: 12.14 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.3666, allocations: 388.8 kB / 283.2 MB, free: 11.75 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.3688, allocations: 448.5 kB / 283.7 MB, free: 11.32 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.3708, allocations: 1.171 MB / 284.8 MB, free: 10.12 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.3712, allocations: 0.9877 MB / 285.8 MB, free: 9.102 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0006227/0.3719, allocations: 114.9 kB / 285.9 MB, free: 8.984 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.3721, allocations: 75.42 kB / 286 MB, free: 8.914 MB / 186.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3721, allocations: 0 / 286 MB, free: 8.914 MB / 186.7 MB Notification: Performance of Templates: time 0.03006/0.4021, allocations: 16.71 MB / 302.7 MB, free: 8.184 MB / 202.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)