Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7706/0.7706, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00167/0.00167, allocations: 150.2 kB / 151.9 MB, free: 4.992 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002779/0.0002779, allocations: 4 kB / 184.9 MB, free: 3.934 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 25.15 MB / 210 MB, free: 29.76 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04906/0.1805, allocations: 38.6 MB / 248.6 MB, free: 11.23 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.1808, allocations: 65.47 kB / 248.7 MB, free: 11.17 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04098/0.2218, allocations: 15.87 MB / 264.6 MB, free: 11.28 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2218, allocations: 1.594 kB / 264.6 MB, free: 11.28 MB / 202.7 MB Notification: Performance of Transformations before backend: time 3.856e-05/0.2219, allocations: 16 kB / 264.6 MB, free: 11.26 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002085/0.224, allocations: 1.134 MB / 265.7 MB, free: 10.06 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.224, allocations: 8.031 kB / 265.7 MB, free: 10.05 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.2242, allocations: 98.97 kB / 265.8 MB, free: 9.953 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007451/0.2249, allocations: 0.5116 MB / 266.3 MB, free: 9.398 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.2252, allocations: 150.4 kB / 266.5 MB, free: 9.23 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.24e-05/0.2253, allocations: 59.91 kB / 266.6 MB, free: 9.172 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.2265, allocations: 0.8435 MB / 267.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.2266, allocations: 3.953 kB / 267.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-05/0.2266, allocations: 28 kB / 267.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.2267, allocations: 16 kB / 267.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.2278, allocations: 0.5868 MB / 268 MB, free: 7.594 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003375/0.2312, allocations: 2.359 MB / 270.4 MB, free: 5.078 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.2331, allocations: 1.036 MB / 271.4 MB, free: 3.98 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.603e-05/0.2332, allocations: 16.7 kB / 271.4 MB, free: 3.965 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.2332, allocations: 47.97 kB / 271.5 MB, free: 3.91 MB / 202.7 MB Notification: Performance of pre-optimization done (n=74): time 2.756e-06/0.2332, allocations: 2.156 kB / 271.5 MB, free: 3.91 MB / 202.7 MB Notification: Performance of matching and sorting (n=74): time 0.004698/0.2379, allocations: 1.854 MB / 273.3 MB, free: 1.961 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004002/0.2384, allocations: 0.8234 MB / 274.2 MB, free: 0.9414 MB / 202.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:1280:7-1281:76:writable] Warning: Parameter pipe3.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 pipe3.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 pipe3.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 pipe3.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 pipe3.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 pipe2.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 pipe2.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 pipe2.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 pipe2.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 pipe2.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 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:2262:9-2264:54:writable] Warning: Parameter pipe1.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 pipe1.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 pipe1.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 pipe1.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.0008442/0.2392, allocations: 0.587 MB / 274.8 MB, free: 356 kB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 8.597e-05/0.2393, allocations: 45.7 kB / 274.8 MB, free: 304 kB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.2396, allocations: 313.3 kB / 275.1 MB, free: 15.98 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.2398, allocations: 260.2 kB / 275.4 MB, free: 15.73 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.2398, allocations: 12 kB / 275.4 MB, free: 15.71 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.24, allocations: 382.8 kB / 275.7 MB, free: 15.33 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/0.2405, allocations: 261.5 kB / 276 MB, free: 15.08 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007523/0.2413, allocations: 0.5244 MB / 276.5 MB, free: 14.45 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/0.2419, allocations: 386.6 kB / 276.9 MB, free: 14.06 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.242, allocations: 0 / 276.9 MB, free: 14.06 MB / 218.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002424/0.2444, allocations: 1.114 MB / 278 MB, free: 12.91 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.956e-05/0.2445, allocations: 85.11 kB / 278.1 MB, free: 12.81 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.2445, allocations: 0 / 278.1 MB, free: 12.81 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006841/0.2452, allocations: 260.8 kB / 278.4 MB, free: 12.54 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/0.2458, allocations: 123.9 kB / 278.5 MB, free: 12.42 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00841/0.2542, allocations: 6.732 MB / 285.2 MB, free: 5.164 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.2555, allocations: 119.2 kB / 285.3 MB, free: 5.047 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.2556, allocations: 24 kB / 285.3 MB, free: 5.023 MB / 218.7 MB Warning: Assuming fixed start value for the following 5 variables: heatCapacitor2.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 heatCapacitor1.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 pipe3.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe3.T0 unit = "K" fixed = true nominal = 300.0 ) "Outlet temperature of medium" type: Real pipe2.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe2.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 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 1,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006316/0.2562, allocations: 262.9 kB / 285.6 MB, free: 4.766 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.2564, allocations: 87.05 kB / 285.7 MB, free: 4.68 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.2566, allocations: 91.98 kB / 285.8 MB, free: 4.582 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.2566, allocations: 8 kB / 285.8 MB, free: 4.574 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.2566, allocations: 0 / 285.8 MB, free: 4.574 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002349/0.259, allocations: 1.26 MB / 287 MB, free: 3.199 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/0.2628, allocations: 2.064 MB / 289.1 MB, free: 1.027 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.2628, allocations: 4 kB / 289.1 MB, free: 1.023 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006616/0.2635, allocations: 127.9 kB / 289.2 MB, free: 0.8984 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000544/0.2641, allocations: 218.4 kB / 289.4 MB, free: 0.6758 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/0.2641, allocations: 19.98 kB / 289.5 MB, free: 0.6562 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1075/0.3717, allocations: 5.184 MB / 294.7 MB, free: 55.13 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3717, allocations: 2.047 kB / 294.7 MB, free: 55.13 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/0.375, allocations: 1.388 MB / 296 MB, free: 54.97 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.3754, allocations: 172 kB / 296.2 MB, free: 54.85 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.3756, allocations: 19.67 kB / 296.2 MB, free: 54.85 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/0.3761, allocations: 52.05 kB / 296.3 MB, free: 54.85 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.3763, allocations: 59.7 kB / 296.3 MB, free: 54.85 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.3763, allocations: 22.72 kB / 296.4 MB, free: 54.85 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0006279/0.377, allocations: 449.5 kB / 296.8 MB, free: 54.75 MB / 218.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.377, allocations: 0 / 296.8 MB, free: 54.75 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.000989/0.378, allocations: 304.2 kB / 297.1 MB, free: 54.74 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002442/0.3782, allocations: 130.4 kB / 297.2 MB, free: 54.66 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.002481/0.3807, allocations: 1.452 MB / 298.7 MB, free: 54 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.3807, allocations: 2.469 kB / 298.7 MB, free: 54 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.3819, allocations: 0.7682 MB / 299.4 MB, free: 53.66 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.3836, allocations: 420.5 kB / 299.9 MB, free: 53.66 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.3874, allocations: 2.071 MB / 301.9 MB, free: 52.86 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.3878, allocations: 0.9422 MB / 302.9 MB, free: 52.15 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.0005443/0.3884, allocations: 102.9 kB / 303 MB, free: 52.13 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.3885, allocations: 68.56 kB / 303 MB, free: 52.12 MB / 218.7 MB Notification: Performance of SimCode: time 5.82e-07/0.3885, allocations: 0 / 303 MB, free: 52.12 MB / 218.7 MB Notification: Performance of Templates: time 0.02431/0.4129, allocations: 17.98 MB / 321 MB, free: 44.08 MB / 218.7 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1)