Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8001/0.8001, allocations: 110.9 MB / 125.9 MB, free: 6.203 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001693/0.001693, allocations: 146.4 kB / 151.8 MB, free: 4.977 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00025/0.0002499, allocations: 4 kB / 184.9 MB, free: 3.918 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 25.16 MB / 210 MB, free: 29.73 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04816/0.1861, allocations: 37.8 MB / 247.8 MB, free: 12.03 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000169/0.1863, allocations: 63.97 kB / 247.9 MB, free: 11.96 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02499/0.2113, allocations: 9.393 MB / 257.3 MB, free: 2.574 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2114, allocations: 0 / 257.3 MB, free: 2.574 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.56e-05/0.2114, allocations: 8 kB / 257.3 MB, free: 2.566 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001463/0.2129, allocations: 0.7614 MB / 258.1 MB, free: 1.75 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.213, allocations: 14.09 kB / 258.1 MB, free: 1.738 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.2131, allocations: 59.89 kB / 258.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006298/0.2138, allocations: 366.1 kB / 258.5 MB, free: 1.281 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.2139, allocations: 62.64 kB / 258.6 MB, free: 1.211 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/0.214, allocations: 32 kB / 258.6 MB, free: 1.18 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007625/0.2148, allocations: 479.8 kB / 259.1 MB, free: 0.6562 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.2148, allocations: 8.188 kB / 259.1 MB, free: 0.6484 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.2148, allocations: 19.95 kB / 259.1 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.2149, allocations: 8 kB / 259.1 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006449/0.2155, allocations: 295.8 kB / 259.4 MB, free: 340 kB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.2179, allocations: 1.366 MB / 260.7 MB, free: 14.86 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.2191, allocations: 452.4 kB / 261.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.2192, allocations: 4.281 kB / 261.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/0.2192, allocations: 46.84 kB / 261.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of pre-optimization done (n=33): time 3.216e-06/0.2192, allocations: 0 / 261.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of matching and sorting (n=33): time 0.001222/0.2205, allocations: 0.6201 MB / 261.9 MB, free: 13.67 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002045/0.2207, allocations: 444.9 kB / 262.3 MB, free: 13.13 MB / 202.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: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.000652/0.2213, allocations: 418.9 kB / 262.7 MB, free: 12.72 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.2214, allocations: 33.7 kB / 262.7 MB, free: 12.68 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.2216, allocations: 238.4 kB / 263 MB, free: 12.44 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.2217, allocations: 118.3 kB / 263.1 MB, free: 12.32 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.2217, allocations: 4 kB / 263.1 MB, free: 12.32 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.2219, allocations: 358.8 kB / 263.4 MB, free: 11.96 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.2222, allocations: 116.3 kB / 263.6 MB, free: 11.84 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.2226, allocations: 250.9 kB / 263.8 MB, free: 11.55 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.2229, allocations: 174.3 kB / 264 MB, free: 11.38 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2229, allocations: 3.953 kB / 264 MB, free: 11.38 MB / 202.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007848/0.2237, allocations: 442.2 kB / 264.4 MB, free: 10.93 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.2237, allocations: 33.73 kB / 264.4 MB, free: 10.89 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.2237, allocations: 4 kB / 264.4 MB, free: 10.88 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.2239, allocations: 49.69 kB / 264.5 MB, free: 10.83 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.2243, allocations: 71.91 kB / 264.6 MB, free: 10.76 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.2268, allocations: 2.776 MB / 267.3 MB, free: 7.723 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.2272, allocations: 51.58 kB / 267.4 MB, free: 7.672 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.2272, allocations: 12 kB / 267.4 MB, free: 7.66 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 (37): * Single equations (assignments): 34 * 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 {1 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003855/0.2276, allocations: 197.4 kB / 267.6 MB, free: 7.461 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.2277, allocations: 51.38 kB / 267.6 MB, free: 7.41 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.2278, allocations: 48.66 kB / 267.7 MB, free: 7.355 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2279, allocations: 4 kB / 267.7 MB, free: 7.352 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2279, allocations: 4.094 kB / 267.7 MB, free: 7.348 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007228/0.2286, allocations: 0.6697 MB / 268.4 MB, free: 6.574 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.2301, allocations: 0.9726 MB / 269.3 MB, free: 5.527 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2302, allocations: 0 / 269.3 MB, free: 5.527 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/0.2305, allocations: 71.89 kB / 269.4 MB, free: 5.457 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.2306, allocations: 0 / 269.4 MB, free: 5.457 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/0.2306, allocations: 12 kB / 269.4 MB, free: 5.445 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.2306, allocations: 0 / 269.4 MB, free: 5.445 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2306, allocations: 0 / 269.4 MB, free: 5.445 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/0.2316, allocations: 0.5461 MB / 270 MB, free: 4.883 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.2318, allocations: 128.5 kB / 270.1 MB, free: 4.738 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.2318, allocations: 16.05 kB / 270.1 MB, free: 4.723 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.2321, allocations: 23.91 kB / 270.1 MB, free: 4.699 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.2322, allocations: 19.97 kB / 270.2 MB, free: 4.68 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.2322, allocations: 8 kB / 270.2 MB, free: 4.672 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.000373/0.2326, allocations: 323.1 kB / 270.5 MB, free: 4.359 MB / 202.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2326, allocations: 0 / 270.5 MB, free: 4.359 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0004982/0.2331, allocations: 139.8 kB / 270.6 MB, free: 4.223 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 (33): * Single equations (assignments): 33 * 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.0001855/0.2333, allocations: 131.1 kB / 270.7 MB, free: 4.086 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.2344, allocations: 0.5801 MB / 271.3 MB, free: 3.469 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2344, allocations: 0 / 271.3 MB, free: 3.469 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.2347, allocations: 135.8 kB / 271.5 MB, free: 3.336 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.2359, allocations: 248.6 kB / 271.7 MB, free: 3.098 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.2377, allocations: 1.046 MB / 272.7 MB, free: 2.023 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.2381, allocations: 0.8277 MB / 273.6 MB, free: 1.168 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0003182/0.2384, allocations: 60.34 kB / 273.6 MB, free: 1.109 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.2386, allocations: 47.42 kB / 273.7 MB, free: 1.062 MB / 202.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2386, allocations: 0 / 273.7 MB, free: 1.062 MB / 202.7 MB Notification: Performance of Templates: time 0.01635/0.2549, allocations: 8.625 MB / 282.3 MB, free: 8.48 MB / 218.7 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)