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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7478/0.7478, allocations: 110.8 MB / 118 MB, free: 14.55 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002423/0.002423, allocations: 156 kB / 143.7 MB, free: 4.879 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.512e-06/6.552e-06, allocations: 0 / 173.5 MB, free: 23.04 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05056/0.05058, allocations: 25.17 MB / 198.6 MB, free: 13.95 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.201, allocations: 37.79 MB / 236.4 MB, free: 4.34 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001738/0.2012, allocations: 62.23 kB / 236.5 MB, free: 4.34 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.02481/0.2261, allocations: 9.851 MB / 246.3 MB, free: 2.051 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.558e-05/0.2261, allocations: 7.75 kB / 246.3 MB, free: 2.051 MB / 170.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.001433/0.2276, allocations: 0.7589 MB / 247.1 MB, free: 1.461 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.2276, allocations: 10.59 kB / 247.1 MB, free: 1.461 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.2279, allocations: 69.69 kB / 247.2 MB, free: 1.426 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006938/0.2286, allocations: 400 kB / 247.6 MB, free: 1.145 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.673e-05/0.2287, allocations: 56.91 kB / 247.6 MB, free: 1.105 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.2288, allocations: 18.72 kB / 247.6 MB, free: 1.105 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006234/0.2294, allocations: 272.1 kB / 247.9 MB, free: 1.09 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000877/0.2303, allocations: 419.2 kB / 248.3 MB, free: 0.8711 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.2304, allocations: 4 kB / 248.3 MB, free: 0.8672 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.747e-05/0.2304, allocations: 0 / 248.3 MB, free: 0.8672 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.2305, allocations: 7.688 kB / 248.3 MB, free: 0.8672 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.2331, allocations: 1.381 MB / 249.7 MB, free: 56 kB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007626/0.2339, allocations: 415.5 kB / 250.1 MB, free: 15.91 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.2342, allocations: 149 kB / 250.3 MB, free: 15.89 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/0.2342, allocations: 4 kB / 250.3 MB, free: 15.89 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.2343, allocations: 40.78 kB / 250.3 MB, free: 15.85 MB / 186.7 MB Notification: Performance of pre-optimization done (n=38): time 2.034e-06/0.2343, allocations: 0 / 250.3 MB, free: 15.85 MB / 186.7 MB Notification: Performance of matching and sorting (n=38): time 0.0008401/0.2351, allocations: 369.1 kB / 250.7 MB, free: 15.75 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002292/0.2354, allocations: 444.7 kB / 251.1 MB, free: 15.21 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.0006409/0.236, allocations: 381.6 kB / 251.5 MB, free: 15.07 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.2361, allocations: 26.92 kB / 251.5 MB, free: 15.04 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.2362, allocations: 188 kB / 251.7 MB, free: 14.89 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.2363, allocations: 124.4 kB / 251.8 MB, free: 14.8 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.2364, allocations: 5.031 kB / 251.8 MB, free: 14.79 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2365, allocations: 355 kB / 252.1 MB, free: 14.46 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.2367, allocations: 101.5 kB / 252.2 MB, free: 14.46 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.237, allocations: 234.3 kB / 252.5 MB, free: 14.32 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.2373, allocations: 130.6 kB / 252.6 MB, free: 14.29 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2373, allocations: 0 / 252.6 MB, free: 14.29 MB / 186.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008986/0.2382, allocations: 395.6 kB / 253 MB, free: 14.18 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.2382, allocations: 4.594 kB / 253 MB, free: 14.18 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2383, allocations: 1.031 kB / 253 MB, free: 14.18 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000294/0.2386, allocations: 55.22 kB / 253 MB, free: 14.16 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/0.2391, allocations: 101.7 kB / 253.1 MB, free: 14.14 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/0.2417, allocations: 2.625 MB / 255.8 MB, free: 11.63 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.2422, allocations: 61.89 kB / 255.8 MB, free: 11.6 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.2423, allocations: 11.44 kB / 255.8 MB, free: 11.6 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.0002836/0.2426, allocations: 136.1 kB / 256 MB, free: 11.48 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.2427, allocations: 48.19 kB / 256 MB, free: 11.46 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.2428, allocations: 44.66 kB / 256.1 MB, free: 11.45 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2428, allocations: 4.125 kB / 256.1 MB, free: 11.45 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.2428, allocations: 5.281 kB / 256.1 MB, free: 11.44 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007312/0.2436, allocations: 0.663 MB / 256.7 MB, free: 10.88 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.2451, allocations: 0.968 MB / 257.7 MB, free: 10.34 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2451, allocations: 3.906 kB / 257.7 MB, free: 10.33 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/0.2457, allocations: 105.2 kB / 257.8 MB, free: 10.31 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.2457, allocations: 1.469 kB / 257.8 MB, free: 10.31 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.2458, allocations: 0.9688 kB / 257.8 MB, free: 10.31 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2458, allocations: 1.469 kB / 257.8 MB, free: 10.31 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-05/0.2458, allocations: 5.547 kB / 257.8 MB, free: 10.3 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008055/0.2466, allocations: 0.5615 MB / 258.4 MB, free: 10.11 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.2468, allocations: 132.5 kB / 258.5 MB, free: 9.98 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-05/0.2469, allocations: 2 kB / 258.5 MB, free: 9.98 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.2473, allocations: 38.59 kB / 258.6 MB, free: 9.965 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.2474, allocations: 24.59 kB / 258.6 MB, free: 9.953 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.2474, allocations: 10.7 kB / 258.6 MB, free: 9.949 MB / 186.7 MB Notification: Performance of sort global known variables: time 0.0003541/0.2477, allocations: 275.8 kB / 258.9 MB, free: 9.848 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005636/0.2483, allocations: 145 kB / 259 MB, free: 9.828 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.0001958/0.2485, allocations: 107.3 kB / 259.1 MB, free: 9.73 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0008807/0.2494, allocations: 0.5198 MB / 259.6 MB, free: 9.469 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2494, allocations: 1.25 kB / 259.6 MB, free: 9.469 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000279/0.2497, allocations: 149.9 kB / 259.8 MB, free: 9.457 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.2509, allocations: 219.2 kB / 260 MB, free: 9.383 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.2531, allocations: 0.7427 MB / 260.7 MB, free: 8.996 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006517/0.2538, allocations: 0.8926 MB / 261.6 MB, free: 8.215 MB / 186.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2538, allocations: 0 / 261.6 MB, free: 8.215 MB / 186.7 MB Notification: Performance of Templates: time 0.01766/0.2715, allocations: 8.312 MB / 269.9 MB, free: 1.258 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)