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 1.01/1.01, allocations: 110.8 MB / 123.3 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.001717/0.001716, allocations: 143.5 kB / 149.1 MB, free: 0.9648 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.098e-05, allocations: 8 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05041/0.05046, allocations: 25.18 MB / 205.4 MB, free: 8.426 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05465/0.1052, allocations: 38.5 MB / 243.9 MB, free: 1.863 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.1054, allocations: 67.97 kB / 244 MB, free: 1.797 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1539/0.2593, allocations: 15.85 MB / 259.8 MB, free: 35.86 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2594, allocations: 0 / 259.8 MB, free: 35.86 MB / 186.7 MB Notification: Performance of Transformations before backend: time 5.147e-05/0.2595, allocations: 16 kB / 259.8 MB, free: 35.85 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001933/0.2614, allocations: 1.023 MB / 260.8 MB, free: 34.76 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.2615, allocations: 8.031 kB / 260.9 MB, free: 34.75 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003068/0.2618, allocations: 118.8 kB / 261 MB, free: 34.64 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008524/0.2626, allocations: 0.4961 MB / 261.5 MB, free: 34.1 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.2628, allocations: 150.4 kB / 261.6 MB, free: 33.93 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.2629, allocations: 60 kB / 261.7 MB, free: 33.88 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.264, allocations: 0.7929 MB / 262.5 MB, free: 32.98 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.264, allocations: 3.953 kB / 262.5 MB, free: 32.98 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/0.2641, allocations: 28 kB / 262.5 MB, free: 32.95 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.2641, allocations: 15.94 kB / 262.5 MB, free: 32.93 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000771/0.2649, allocations: 0.5049 MB / 263 MB, free: 32.43 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002948/0.2678, allocations: 2.355 MB / 265.4 MB, free: 29.91 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.2691, allocations: 0.912 MB / 266.3 MB, free: 28.94 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004393/0.2696, allocations: 338.9 kB / 266.6 MB, free: 28.61 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.895e-05/0.2696, allocations: 20.78 kB / 266.6 MB, free: 28.59 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.718e-05/0.2697, allocations: 43.34 kB / 266.7 MB, free: 28.53 MB / 186.7 MB Notification: Performance of pre-optimization done (n=74): time 2.575e-06/0.2697, allocations: 4 kB / 266.7 MB, free: 28.53 MB / 186.7 MB Notification: Performance of matching and sorting (n=74): time 0.001831/0.2716, allocations: 0.8733 MB / 267.6 MB, free: 27.64 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001839/0.2718, allocations: 0.8251 MB / 268.4 MB, free: 26.62 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: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.0007676/0.2725, allocations: 0.5862 MB / 269 MB, free: 26.03 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/0.2726, allocations: 45.7 kB / 269 MB, free: 25.98 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.2728, allocations: 309.2 kB / 269.3 MB, free: 25.67 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.2729, allocations: 264.2 kB / 269.6 MB, free: 25.41 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.273, allocations: 12 kB / 269.6 MB, free: 25.4 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2731, allocations: 386.8 kB / 270 MB, free: 25.01 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.2734, allocations: 209.5 kB / 270.2 MB, free: 24.8 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.2739, allocations: 488.5 kB / 270.6 MB, free: 24.23 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.2744, allocations: 347.8 kB / 271 MB, free: 23.88 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2744, allocations: 0 / 271 MB, free: 23.88 MB / 186.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002028/0.2764, allocations: 1.031 MB / 272 MB, free: 22.8 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.424e-05/0.2765, allocations: 85.11 kB / 272.1 MB, free: 22.7 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.2765, allocations: 0 / 272.1 MB, free: 22.7 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006822/0.2772, allocations: 219.3 kB / 272.3 MB, free: 22.48 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.2778, allocations: 135.7 kB / 272.4 MB, free: 22.34 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006175/0.284, allocations: 6.372 MB / 278.8 MB, free: 15.44 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009712/0.285, allocations: 115.5 kB / 278.9 MB, free: 15.33 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.2851, allocations: 20 kB / 278.9 MB, free: 15.31 MB / 186.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" 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" nominal = 300.0 ) "Temperature of element" type: Real pipe3.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe3.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real pipe2.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe2.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 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 (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 {1 5,1 3,2 6,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004494/0.2856, allocations: 202.6 kB / 279.1 MB, free: 15.11 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.2859, allocations: 90.98 kB / 279.2 MB, free: 15.02 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.2862, allocations: 87.98 kB / 279.3 MB, free: 14.92 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.2862, allocations: 8 kB / 279.3 MB, free: 14.91 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.2862, allocations: 3.953 kB / 279.3 MB, free: 14.91 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001779/0.288, allocations: 1.162 MB / 280.5 MB, free: 13.63 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/0.2913, allocations: 2.002 MB / 282.5 MB, free: 11.52 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2913, allocations: 4 kB / 282.5 MB, free: 11.52 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.2919, allocations: 131.8 kB / 282.6 MB, free: 11.39 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004084/0.2923, allocations: 170.5 kB / 282.8 MB, free: 11.21 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/0.2924, allocations: 19.98 kB / 282.8 MB, free: 11.19 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004282/0.2967, allocations: 4.87 MB / 287.7 MB, free: 5.906 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2967, allocations: 0 / 287.7 MB, free: 5.906 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.2989, allocations: 1.288 MB / 289 MB, free: 4.574 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.2993, allocations: 176 kB / 289.1 MB, free: 4.383 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.2995, allocations: 20 kB / 289.2 MB, free: 4.363 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005562/0.3, allocations: 43.98 kB / 289.2 MB, free: 4.32 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.3002, allocations: 64.69 kB / 289.3 MB, free: 4.258 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.3003, allocations: 23.92 kB / 289.3 MB, free: 4.234 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0005781/0.3008, allocations: 443.2 kB / 289.7 MB, free: 3.809 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3008, allocations: 0 / 289.7 MB, free: 3.809 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.001084/0.3019, allocations: 303.7 kB / 290 MB, free: 3.512 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete 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.000249/0.3022, allocations: 135.2 kB / 290.2 MB, free: 3.367 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.002349/0.3046, allocations: 1.356 MB / 291.5 MB, free: 1.922 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.3046, allocations: 4 kB / 291.5 MB, free: 1.918 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009599/0.3055, allocations: 0.7074 MB / 292.2 MB, free: 1.168 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.3076, allocations: 433 kB / 292.6 MB, free: 0.7461 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.3109, allocations: 1.344 MB / 294 MB, free: 15.38 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/0.3116, allocations: 0.9482 MB / 294.9 MB, free: 14.39 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.000743/0.3123, allocations: 102.5 kB / 295 MB, free: 14.29 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.3126, allocations: 63.42 kB / 295.1 MB, free: 14.23 MB / 202.7 MB Notification: Performance of SimCode: time 3.026e-06/0.3126, allocations: 4 kB / 295.1 MB, free: 14.22 MB / 202.7 MB Notification: Performance of Templates: time 0.04545/0.358, allocations: 18.08 MB / 313.2 MB, free: 12.11 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)