Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8683/0.8683, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001744/0.001744, allocations: 159.4 kB / 144 MB, free: 4.797 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.459e-05/1.445e-05, allocations: 0 / 173.8 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04712/0.04715, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05031/0.09751, allocations: 37.87 MB / 236.9 MB, free: 7.766 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.09777, allocations: 63.97 kB / 237 MB, free: 7.703 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1278/0.2256, allocations: 10.02 MB / 247 MB, free: 40.82 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2257, allocations: 0 / 247 MB, free: 40.82 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.456e-05/0.2257, allocations: 10 kB / 247 MB, free: 40.82 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0009999/0.2267, allocations: 0.7412 MB / 247.7 MB, free: 40.32 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2267, allocations: 10.72 kB / 247.7 MB, free: 40.32 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.2269, allocations: 66.08 kB / 247.8 MB, free: 40.29 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.2273, allocations: 398.5 kB / 248.2 MB, free: 40.04 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.363e-05/0.2274, allocations: 55.44 kB / 248.2 MB, free: 40 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/0.2275, allocations: 20.69 kB / 248.3 MB, free: 40 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004449/0.2279, allocations: 270.2 kB / 248.5 MB, free: 40 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.2285, allocations: 429.4 kB / 248.9 MB, free: 39.83 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2285, allocations: 1.875 kB / 248.9 MB, free: 39.83 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.2286, allocations: 2.609 kB / 249 MB, free: 39.83 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.2286, allocations: 9.625 kB / 249 MB, free: 39.83 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.2304, allocations: 1.368 MB / 250.3 MB, free: 39.29 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000644/0.231, allocations: 422.1 kB / 250.7 MB, free: 39.12 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.2312, allocations: 144.2 kB / 250.9 MB, free: 39.06 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.2313, allocations: 15.19 kB / 250.9 MB, free: 39.05 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.2313, allocations: 47.31 kB / 250.9 MB, free: 39 MB / 186.7 MB Notification: Performance of pre-optimization done (n=38): time 1.773e-06/0.2313, allocations: 2.734 kB / 250.9 MB, free: 39 MB / 186.7 MB Notification: Performance of matching and sorting (n=38): time 0.0006414/0.232, allocations: 357.7 kB / 251.3 MB, free: 38.83 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.2321, allocations: 447.4 kB / 251.7 MB, free: 38.3 MB / 186.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:1121:9-1123:45:writable] Warning: Parameter volumeFlow.duration_2 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:1119:9-1120:45:writable] Warning: Parameter volumeFlow.height_2 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:1116:9-1118:45:writable] Warning: Parameter volumeFlow.duration_1 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:1114:9-1115:45:writable] Warning: Parameter volumeFlow.height_1 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:1112:9-1113:66:writable] Warning: Parameter volumeFlow.interval has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:1110:9-1111:34:writable] Warning: Parameter volumeFlow.startTime has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Thermal/FluidHeatFlow.mo:1109:9-1109:57:writable] Warning: Parameter volumeFlow.offset 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 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: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.0004447/0.2325, allocations: 388.5 kB / 252.1 MB, free: 38.09 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.2325, allocations: 27.52 kB / 252.1 MB, free: 38.06 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.2327, allocations: 246.7 kB / 252.4 MB, free: 37.86 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.2327, allocations: 125.3 kB / 252.5 MB, free: 37.76 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.2328, allocations: 0 / 252.5 MB, free: 37.76 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 6.539e-05/0.2328, allocations: 355.4 kB / 252.8 MB, free: 37.43 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.233, allocations: 99.56 kB / 252.9 MB, free: 37.39 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.2332, allocations: 235.5 kB / 253.2 MB, free: 37.19 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.2334, allocations: 133.5 kB / 253.3 MB, free: 37.12 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2334, allocations: 0.5312 kB / 253.3 MB, free: 37.12 MB / 186.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006307/0.2341, allocations: 398.8 kB / 253.7 MB, free: 36.94 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.2341, allocations: 30.98 kB / 253.7 MB, free: 36.91 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2341, allocations: 1 kB / 253.7 MB, free: 36.91 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/0.2343, allocations: 56.97 kB / 253.8 MB, free: 36.88 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.2348, allocations: 96.98 kB / 253.9 MB, free: 36.87 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.2362, allocations: 2.636 MB / 256.5 MB, free: 34.29 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/0.2366, allocations: 47.08 kB / 256.6 MB, free: 34.28 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.2366, allocations: 21.28 kB / 256.6 MB, free: 34.27 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 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: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) type: Real pump.h:VARIABLE(unit = "J/kg" nominal = 1000000.0 protected = true ) "Medium's specific enthalpy" type: Real pipe.flowPort_a.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: 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 (40): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001898/0.2368, allocations: 147.9 kB / 256.7 MB, free: 34.16 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.392e-05/0.2369, allocations: 48.19 kB / 256.8 MB, free: 34.13 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.228e-05/0.237, allocations: 46.41 kB / 256.8 MB, free: 34.1 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.237, allocations: 4.125 kB / 256.8 MB, free: 34.1 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.237, allocations: 1.969 kB / 256.8 MB, free: 34.1 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004812/0.2375, allocations: 0.6617 MB / 257.5 MB, free: 33.48 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.2386, allocations: 0.9701 MB / 258.5 MB, free: 32.87 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2386, allocations: 1.406 kB / 258.5 MB, free: 32.87 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.239, allocations: 100.4 kB / 258.6 MB, free: 32.86 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.2391, allocations: 1.438 kB / 258.6 MB, free: 32.86 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.2391, allocations: 2.469 kB / 258.6 MB, free: 32.86 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2391, allocations: 1.469 kB / 258.6 MB, free: 32.86 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2391, allocations: 0 / 258.6 MB, free: 32.86 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/0.2397, allocations: 0.5637 MB / 259.1 MB, free: 32.52 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.2398, allocations: 131.7 kB / 259.3 MB, free: 32.39 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.2399, allocations: 3.375 kB / 259.3 MB, free: 32.39 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.2402, allocations: 31.03 kB / 259.3 MB, free: 32.39 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.2402, allocations: 27.23 kB / 259.3 MB, free: 32.38 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.2403, allocations: 11.38 kB / 259.3 MB, free: 32.38 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002276/0.2405, allocations: 275 kB / 259.6 MB, free: 32.23 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2405, allocations: 0.5469 kB / 259.6 MB, free: 32.23 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004275/0.2409, allocations: 149 kB / 259.7 MB, free: 32.21 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001411/0.2411, allocations: 114.3 kB / 259.9 MB, free: 32.11 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0006618/0.2417, allocations: 0.5489 MB / 260.4 MB, free: 31.73 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2418, allocations: 3.969 kB / 260.4 MB, free: 31.73 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.2419, allocations: 151.6 kB / 260.6 MB, free: 31.67 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.243, allocations: 219.5 kB / 260.8 MB, free: 31.62 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.2445, allocations: 0.7174 MB / 261.5 MB, free: 31.26 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.2448, allocations: 0.8466 MB / 262.3 MB, free: 30.55 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0002906/0.2451, allocations: 54.17 kB / 262.4 MB, free: 30.54 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.2452, allocations: 37.62 kB / 262.4 MB, free: 30.54 MB / 186.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2452, allocations: 0 / 262.4 MB, free: 30.54 MB / 186.7 MB Notification: Performance of Templates: time 0.01142/0.2567, allocations: 8.025 MB / 270.4 MB, free: 25.37 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1)