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.6604/0.6604, allocations: 110.9 MB / 125.9 MB, free: 6.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001646/0.001646, allocations: 135.4 kB / 151.8 MB, free: 4.953 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002548/0.0002546, allocations: 4 kB / 184.9 MB, free: 3.891 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1268, allocations: 25.15 MB / 210 MB, free: 29.79 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04359/0.1704, allocations: 38.72 MB / 248.8 MB, free: 11.09 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000164/0.1706, allocations: 59.97 kB / 248.8 MB, free: 11.04 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04714/0.2177, allocations: 18.85 MB / 267.7 MB, free: 8.145 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2178, allocations: 0 / 267.7 MB, free: 8.145 MB / 202.7 MB Notification: Performance of Transformations before backend: time 6.52e-05/0.2179, allocations: 16 kB / 267.7 MB, free: 8.129 MB / 202.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.002688/0.2205, allocations: 1.267 MB / 269 MB, free: 6.793 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2206, allocations: 12.03 kB / 269 MB, free: 6.781 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003641/0.221, allocations: 114.8 kB / 269.1 MB, free: 6.668 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.2221, allocations: 0.5752 MB / 269.6 MB, free: 6.051 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002155/0.2224, allocations: 159.1 kB / 269.8 MB, free: 5.875 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.2225, allocations: 68.69 kB / 269.9 MB, free: 5.809 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.2242, allocations: 0.9718 MB / 270.8 MB, free: 4.723 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.2243, allocations: 4 kB / 270.8 MB, free: 4.719 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.311e-05/0.2244, allocations: 32 kB / 270.9 MB, free: 4.688 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.2244, allocations: 16 kB / 270.9 MB, free: 4.672 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.2257, allocations: 0.6442 MB / 271.5 MB, free: 4.023 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004509/0.2302, allocations: 2.81 MB / 274.3 MB, free: 1.016 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.233, allocations: 0.9345 MB / 275.3 MB, free: 60 kB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.765e-05/0.233, allocations: 20.62 kB / 275.3 MB, free: 40 kB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.338e-05/0.2331, allocations: 55.23 kB / 275.4 MB, free: 15.97 MB / 218.7 MB Notification: Performance of pre-optimization done (n=72): time 3.266e-06/0.2332, allocations: 0 / 275.4 MB, free: 15.97 MB / 218.7 MB Notification: Performance of matching and sorting (n=72): time 0.002691/0.2358, allocations: 1.455 MB / 276.8 MB, free: 14.4 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003664/0.2362, allocations: 0.9527 MB / 277.8 MB, free: 13.22 MB / 218.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.001169/0.2374, allocations: 0.7067 MB / 278.5 MB, free: 12.52 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.2375, allocations: 45.7 kB / 278.5 MB, free: 12.46 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.2379, allocations: 396.7 kB / 278.9 MB, free: 12.07 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.2381, allocations: 252.2 kB / 279.1 MB, free: 11.82 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.2382, allocations: 16 kB / 279.2 MB, free: 11.81 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2383, allocations: 334 kB / 279.5 MB, free: 11.48 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006756/0.239, allocations: 265.9 kB / 279.8 MB, free: 11.22 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009778/0.24, allocations: 0.5798 MB / 280.3 MB, free: 10.51 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000821/0.2408, allocations: 418.2 kB / 280.7 MB, free: 10.09 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2408, allocations: 0 / 280.7 MB, free: 10.09 MB / 218.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00209/0.2429, allocations: 0.9899 MB / 281.7 MB, free: 9.059 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.359e-05/0.243, allocations: 97.03 kB / 281.8 MB, free: 8.945 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.243, allocations: 0 / 281.8 MB, free: 8.945 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003543/0.2434, allocations: 124.2 kB / 281.9 MB, free: 8.809 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007489/0.2441, allocations: 155.8 kB / 282.1 MB, free: 8.656 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005654/0.2498, allocations: 6.976 MB / 289.1 MB, free: 1.012 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.2509, allocations: 123.2 kB / 289.2 MB, free: 0.8906 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.2511, allocations: 20 kB / 289.2 MB, free: 0.8711 MB / 218.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" fixed = true nominal = 300.0 ) "Outlet temperature of medium" type: Real outerPipe.T:VARIABLE(min = 1.0 max = 6000.0 start = outerPipe.T0 unit = "K" fixed = true nominal = 300.0 ) "Outlet temperature of medium" type: Real pipe1.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe1.T0 unit = "K" fixed = true 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" fixed = true 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 () * Number of clocked 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,3 1,1 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006988/0.2518, allocations: 274.5 kB / 289.5 MB, free: 0.5938 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.252, allocations: 98.95 kB / 289.6 MB, free: 0.4961 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.2523, allocations: 96.52 kB / 289.7 MB, free: 404 kB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.2523, allocations: 11.95 kB / 289.7 MB, free: 392 kB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2523, allocations: 0 / 289.7 MB, free: 392 kB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09756/0.3499, allocations: 0.9955 MB / 290.7 MB, free: 56.66 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.3528, allocations: 1.814 MB / 292.5 MB, free: 56.21 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3528, allocations: 0.6094 kB / 292.5 MB, free: 56.21 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008222/0.3537, allocations: 162.1 kB / 292.7 MB, free: 56.21 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.3538, allocations: 35.39 kB / 292.7 MB, free: 56.21 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.3538, allocations: 22.61 kB / 292.7 MB, free: 56.21 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008097/0.3546, allocations: 1.443 MB / 294.2 MB, free: 54.89 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3547, allocations: 1.406 kB / 294.2 MB, free: 54.89 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.3565, allocations: 1.117 MB / 295.3 MB, free: 54.73 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.3567, allocations: 187.1 kB / 295.5 MB, free: 54.62 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.3569, allocations: 22.75 kB / 295.5 MB, free: 54.62 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005023/0.3574, allocations: 55.23 kB / 295.5 MB, free: 54.61 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/0.3575, allocations: 44.77 kB / 295.6 MB, free: 54.61 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.3575, allocations: 21.08 kB / 295.6 MB, free: 54.61 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0006187/0.3581, allocations: 0.5289 MB / 296.1 MB, free: 54.52 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3581, allocations: 1.344 kB / 296.1 MB, free: 54.52 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.0008612/0.359, allocations: 312.9 kB / 296.4 MB, free: 54.51 MB / 218.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 () * Number of clocked 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.0001821/0.3592, allocations: 132.6 kB / 296.6 MB, free: 54.42 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.361, allocations: 1.438 MB / 298 MB, free: 53.66 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/0.361, allocations: 3.188 kB / 298 MB, free: 53.66 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006851/0.3617, allocations: 451.3 kB / 298.4 MB, free: 53.55 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.3638, allocations: 0.489 MB / 298.9 MB, free: 53.54 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.3664, allocations: 1.958 MB / 300.9 MB, free: 52.7 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.3668, allocations: 0.9908 MB / 301.9 MB, free: 51.99 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.00061/0.3674, allocations: 124.8 kB / 302 MB, free: 51.96 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.3676, allocations: 80.03 kB / 302.1 MB, free: 51.95 MB / 218.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3676, allocations: 0 / 302.1 MB, free: 51.95 MB / 218.7 MB Notification: Performance of Templates: time 0.02449/0.3921, allocations: 18.5 MB / 320.6 MB, free: 44.14 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)