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.6349/0.6349, 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.001605/0.001604, allocations: 150.4 kB / 151.9 MB, free: 4.992 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003223, allocations: 8 kB / 184.9 MB, free: 3.934 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1359, allocations: 25.16 MB / 210 MB, free: 29.74 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04352/0.1795, allocations: 38.63 MB / 248.7 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.1798, allocations: 63.97 kB / 248.7 MB, free: 11.12 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02639/0.2062, allocations: 10.14 MB / 258.9 MB, free: 0.9883 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2063, allocations: 4 kB / 258.9 MB, free: 0.9844 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.673e-05/0.2063, allocations: 11.98 kB / 258.9 MB, free: 0.9727 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.001331/0.2076, allocations: 0.8319 MB / 259.7 MB, free: 88 kB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2077, allocations: 8.031 kB / 259.7 MB, free: 80 kB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.2078, allocations: 63.34 kB / 259.8 MB, free: 16 kB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005431/0.2084, allocations: 402 kB / 260.2 MB, free: 15.58 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.565e-05/0.2085, allocations: 62.69 kB / 260.3 MB, free: 15.51 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.2085, allocations: 39.94 kB / 260.3 MB, free: 15.47 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008297/0.2094, allocations: 0.5115 MB / 260.8 MB, free: 14.9 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.2094, allocations: 11.56 kB / 260.8 MB, free: 14.89 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.2095, allocations: 19.95 kB / 260.8 MB, free: 14.88 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.2095, allocations: 8 kB / 260.8 MB, free: 14.87 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008286/0.2103, allocations: 391.8 kB / 261.2 MB, free: 14.48 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.2124, allocations: 1.452 MB / 262.7 MB, free: 12.93 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.2135, allocations: 0.5147 MB / 263.2 MB, free: 12.4 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.2135, allocations: 11.97 kB / 263.2 MB, free: 12.39 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.2136, allocations: 42.5 kB / 263.2 MB, free: 12.34 MB / 202.7 MB Notification: Performance of pre-optimization done (n=38): time 1.714e-06/0.2136, allocations: 0 / 263.2 MB, free: 12.34 MB / 202.7 MB Notification: Performance of matching and sorting (n=38): time 0.00159/0.2152, allocations: 0.7948 MB / 264 MB, free: 11.49 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/0.2154, allocations: 448.7 kB / 264.5 MB, free: 10.95 MB / 202.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.0006466/0.216, allocations: 454.8 kB / 264.9 MB, free: 10.5 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.2161, allocations: 33.7 kB / 265 MB, free: 10.46 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.2163, allocations: 244.4 kB / 265.2 MB, free: 10.21 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.2164, allocations: 142 kB / 265.3 MB, free: 10.07 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.2164, allocations: 8 kB / 265.3 MB, free: 10.07 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2166, allocations: 358.8 kB / 265.7 MB, free: 9.707 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.217, allocations: 161 kB / 265.9 MB, free: 9.551 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.2175, allocations: 292.4 kB / 266.1 MB, free: 9.215 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.2179, allocations: 221.7 kB / 266.4 MB, free: 8.996 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2179, allocations: 0 / 266.4 MB, free: 8.996 MB / 202.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001/0.2189, allocations: 0.5236 MB / 266.9 MB, free: 8.453 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/0.219, allocations: 29.7 kB / 266.9 MB, free: 8.418 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.219, allocations: 4 kB / 266.9 MB, free: 8.414 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001657/0.2192, allocations: 53.69 kB / 267 MB, free: 8.355 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.2196, allocations: 99.88 kB / 267.1 MB, free: 8.258 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.222, allocations: 2.768 MB / 269.8 MB, free: 5.219 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/0.2224, allocations: 71.61 kB / 269.9 MB, free: 5.148 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.2225, allocations: 15.94 kB / 269.9 MB, free: 5.133 MB / 202.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" fixed = true nominal = 300.0 ) "Temperature of element" type: Real pipe.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe.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 (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.0003497/0.2228, allocations: 194.1 kB / 270.1 MB, free: 4.934 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-05/0.2229, allocations: 55.34 kB / 270.2 MB, free: 4.879 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.223, allocations: 52.84 kB / 270.2 MB, free: 4.828 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2231, allocations: 4 kB / 270.2 MB, free: 4.824 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2231, allocations: 5.594 kB / 270.2 MB, free: 4.82 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/0.2241, allocations: 0.7739 MB / 271 MB, free: 3.941 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.2258, allocations: 1.142 MB / 272.1 MB, free: 2.727 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2258, allocations: 0 / 272.1 MB, free: 2.727 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/0.2262, allocations: 103.9 kB / 272.2 MB, free: 2.625 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2263, allocations: 0 / 272.2 MB, free: 2.625 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.2263, allocations: 8 kB / 272.2 MB, free: 2.617 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2263, allocations: 3.938 kB / 272.2 MB, free: 2.613 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2263, allocations: 4 kB / 272.3 MB, free: 2.609 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.2276, allocations: 0.7332 MB / 273 MB, free: 1.855 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.2277, allocations: 128.5 kB / 273.1 MB, free: 1.711 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.2278, allocations: 12 kB / 273.1 MB, free: 1.699 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.2281, allocations: 43.97 kB / 273.2 MB, free: 1.656 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.2282, allocations: 27.95 kB / 273.2 MB, free: 1.629 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.2282, allocations: 16 kB / 273.2 MB, free: 1.613 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0003618/0.2286, allocations: 338.9 kB / 273.5 MB, free: 1.285 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2286, allocations: 0 / 273.5 MB, free: 1.285 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0004531/0.2291, allocations: 162 kB / 273.7 MB, free: 1.129 MB / 202.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 () * Number of clocked 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.0001757/0.2292, allocations: 125.1 kB / 273.8 MB, free: 1 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.2304, allocations: 0.6811 MB / 274.5 MB, free: 288 kB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2304, allocations: 3.938 kB / 274.5 MB, free: 284 kB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.2308, allocations: 208.2 kB / 274.7 MB, free: 76 kB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.2319, allocations: 246.4 kB / 274.9 MB, free: 15.83 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.234, allocations: 1.221 MB / 276.2 MB, free: 14.59 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.2345, allocations: 0.8435 MB / 277 MB, free: 13.71 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.0003061/0.2348, allocations: 68.52 kB / 277.1 MB, free: 13.64 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.2349, allocations: 43.44 kB / 277.1 MB, free: 13.6 MB / 218.7 MB Notification: Performance of SimCode: time 8.02e-07/0.235, allocations: 0 / 277.1 MB, free: 13.6 MB / 218.7 MB Notification: Performance of Templates: time 0.01552/0.2505, allocations: 9.282 MB / 286.4 MB, free: 4.367 MB / 218.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)