Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.PumpAndValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.9073/0.9073, 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.001795/0.001795, allocations: 147.4 kB / 149.1 MB, free: 0.9609 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.469e-05, allocations: 0 / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04929/0.04935, allocations: 25.18 MB / 205.4 MB, free: 8.438 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05662/0.106, allocations: 39.86 MB / 245.3 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.1063, allocations: 67.97 kB / 245.3 MB, free: 452 kB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1507/0.257, allocations: 14.18 MB / 259.5 MB, free: 36.48 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.257, allocations: 0 / 259.5 MB, free: 36.48 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.786e-05/0.2571, allocations: 12 kB / 259.5 MB, free: 36.47 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001399/0.2585, allocations: 0.9077 MB / 260.4 MB, free: 35.5 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.2586, allocations: 8.031 kB / 260.4 MB, free: 35.5 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.2587, allocations: 83.06 kB / 260.5 MB, free: 35.41 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.2593, allocations: 447.9 kB / 260.9 MB, free: 34.94 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.2594, allocations: 100.3 kB / 261 MB, free: 34.83 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.096e-05/0.2595, allocations: 52 kB / 261.1 MB, free: 34.78 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008167/0.2604, allocations: 0.6093 MB / 261.7 MB, free: 34.09 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.2604, allocations: 8 kB / 261.7 MB, free: 34.09 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/0.2605, allocations: 23.98 kB / 261.7 MB, free: 34.06 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2605, allocations: 16 kB / 261.7 MB, free: 34.05 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000589/0.2611, allocations: 383.9 kB / 262.1 MB, free: 33.67 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/0.2638, allocations: 2.068 MB / 264.2 MB, free: 31.47 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.2654, allocations: 0.681 MB / 264.9 MB, free: 30.76 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.2658, allocations: 234.5 kB / 265.1 MB, free: 30.53 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.343e-05/0.2658, allocations: 12.56 kB / 265.1 MB, free: 30.52 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.2659, allocations: 43.12 kB / 265.2 MB, free: 30.47 MB / 186.7 MB Notification: Performance of pre-optimization done (n=56): time 1.774e-06/0.2659, allocations: 0 / 265.2 MB, free: 30.47 MB / 186.7 MB Notification: Performance of matching and sorting (n=56): time 0.001674/0.2675, allocations: 0.7035 MB / 265.9 MB, free: 29.75 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.2677, allocations: 0.5761 MB / 266.4 MB, free: 29.04 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:1309:7-1310:76:writable] Warning: Parameter pipe.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 pipe.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 pipe.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 pipe.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 pipe.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:1366:7-1367:48:writable] Warning: Parameter valve.frictionLoss 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:1363:7-1365:60:writable] Warning: Parameter valve.rho0 has no value, and is fixed during initialization (fixed=true), using available start value (start=10.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:1361:7-1362:60:writable] Warning: Parameter valve.dp0 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:1358:7-1360:60:writable] Warning: Parameter valve.kv0 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.01) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:1355:7-1357:60:writable] Warning: Parameter valve.Kv1 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:1353:7-1354:60:writable] Warning: Parameter valve.y1 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:2340:9-2340:68:writable] Warning: Parameter valve.m 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:1843:7-1845:58:writable] Warning: Parameter idealPump.V_flow0 has no value, and is fixed during initialization (fixed=true), using available start value (start=2.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:1840:7-1842:58:writable] Warning: Parameter idealPump.dp0 has no value, and is fixed during initialization (fixed=true), using available start value (start=2.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:1837:7-1839:58:writable] Warning: Parameter idealPump.wNominal 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.0005799/0.2683, allocations: 0.4937 MB / 266.9 MB, free: 28.54 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.2683, allocations: 37.7 kB / 267 MB, free: 28.5 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.2685, allocations: 284.8 kB / 267.2 MB, free: 28.21 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.2686, allocations: 197 kB / 267.4 MB, free: 28.02 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.2686, allocations: 12 kB / 267.4 MB, free: 28 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.2687, allocations: 370.8 kB / 267.8 MB, free: 27.63 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.269, allocations: 161.1 kB / 268 MB, free: 27.48 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.2693, allocations: 376.6 kB / 268.3 MB, free: 27.03 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.2697, allocations: 226.1 kB / 268.6 MB, free: 26.8 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2697, allocations: 0 / 268.6 MB, free: 26.8 MB / 186.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001639/0.2713, allocations: 0.7794 MB / 269.3 MB, free: 26 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.2714, allocations: 29.7 kB / 269.4 MB, free: 25.97 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2714, allocations: 4 kB / 269.4 MB, free: 25.96 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008089/0.2722, allocations: 214.5 kB / 269.6 MB, free: 25.75 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/0.2729, allocations: 139.8 kB / 269.7 MB, free: 25.61 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00508/0.278, allocations: 5.097 MB / 274.8 MB, free: 20.11 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006834/0.2787, allocations: 95.58 kB / 274.9 MB, free: 20.02 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.2788, allocations: 23.97 kB / 274.9 MB, free: 19.99 MB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: 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 pipe.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe.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: 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 (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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 {5 2,1 1,3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001918/0.279, allocations: 161.3 kB / 275.1 MB, free: 19.83 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.2791, allocations: 71.2 kB / 275.2 MB, free: 19.76 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.2808, allocations: 0.7458 MB / 275.9 MB, free: 19 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2808, allocations: 4 kB / 275.9 MB, free: 18.99 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.2808, allocations: 4.172 kB / 275.9 MB, free: 18.99 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001425/0.2823, allocations: 0.9919 MB / 276.9 MB, free: 17.88 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.2846, allocations: 1.517 MB / 278.4 MB, free: 16.28 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.2846, allocations: 0 / 278.4 MB, free: 16.28 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007184/0.2854, allocations: 143.8 kB / 278.6 MB, free: 16.14 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005972/0.286, allocations: 153.5 kB / 278.7 MB, free: 15.98 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.286, allocations: 15.98 kB / 278.7 MB, free: 15.97 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003692/0.2897, allocations: 3.534 MB / 282.3 MB, free: 12.14 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2897, allocations: 0 / 282.3 MB, free: 12.14 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.2916, allocations: 0.9958 MB / 283.3 MB, free: 11.12 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.292, allocations: 196.2 kB / 283.4 MB, free: 10.91 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.923e-05/0.2921, allocations: 20 kB / 283.5 MB, free: 10.89 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.2925, allocations: 47.88 kB / 283.5 MB, free: 10.84 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.2927, allocations: 44.48 kB / 283.6 MB, free: 10.8 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.2927, allocations: 15.98 kB / 283.6 MB, free: 10.78 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0004438/0.2932, allocations: 377.6 kB / 283.9 MB, free: 10.42 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2932, allocations: 4 kB / 283.9 MB, free: 10.41 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007644/0.2939, allocations: 235.8 kB / 284.2 MB, free: 10.18 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002093/0.2942, allocations: 131.1 kB / 284.3 MB, free: 10.05 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.2958, allocations: 0.983 MB / 285.3 MB, free: 9.012 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.2958, allocations: 7.938 kB / 285.3 MB, free: 9.004 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006929/0.2965, allocations: 0.4963 MB / 285.8 MB, free: 8.48 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.298, allocations: 331.4 kB / 286.1 MB, free: 8.152 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.3012, allocations: 1.095 MB / 287.2 MB, free: 7.035 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3015, allocations: 0.896 MB / 288.1 MB, free: 6.113 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0004269/0.302, allocations: 81.22 kB / 288.2 MB, free: 6.035 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.3021, allocations: 51.42 kB / 288.2 MB, free: 5.984 MB / 186.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3021, allocations: 0 / 288.2 MB, free: 5.984 MB / 186.7 MB Notification: Performance of Templates: time 0.02228/0.3244, allocations: 14.32 MB / 302.6 MB, free: 7.633 MB / 202.7 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1)