Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6509/0.6509, allocations: 110.9 MB / 125.9 MB, free: 6.082 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00156/0.00156, allocations: 151.3 kB / 151.9 MB, free: 4.953 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002142/0.0002142, allocations: 4 kB / 184.9 MB, free: 3.898 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.111, allocations: 25.15 MB / 210 MB, free: 29.77 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04257/0.1536, allocations: 38.39 MB / 248.4 MB, free: 11.43 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.1538, allocations: 67.97 kB / 248.5 MB, free: 11.36 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02478/0.1786, allocations: 9.877 MB / 258.4 MB, free: 1.484 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1787, allocations: 0 / 258.4 MB, free: 1.484 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.372e-05/0.1787, allocations: 12 kB / 258.4 MB, free: 1.473 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001336/0.1801, allocations: 0.8083 MB / 259.2 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1801, allocations: 12.03 kB / 259.2 MB, free: 0.5977 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.1802, allocations: 63.25 kB / 259.3 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.1808, allocations: 389.8 kB / 259.6 MB, free: 112 kB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.628e-05/0.1809, allocations: 62.3 kB / 259.7 MB, free: 44 kB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.1809, allocations: 39.94 kB / 259.7 MB, free: 4 kB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008003/0.1817, allocations: 0.4948 MB / 260.2 MB, free: 15.46 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1817, allocations: 352 / 260.2 MB, free: 15.46 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.1818, allocations: 15.95 kB / 260.3 MB, free: 15.44 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1818, allocations: 11.28 kB / 260.3 MB, free: 15.43 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000792/0.1826, allocations: 382.3 kB / 260.6 MB, free: 15.05 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.1847, allocations: 1.404 MB / 262 MB, free: 13.55 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007866/0.1855, allocations: 450.5 kB / 262.5 MB, free: 13.09 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.1856, allocations: 4 kB / 262.5 MB, free: 13.08 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.1856, allocations: 38.56 kB / 262.5 MB, free: 13.04 MB / 202.7 MB Notification: Performance of pre-optimization done (n=36): time 2.245e-06/0.1856, allocations: 0 / 262.5 MB, free: 13.04 MB / 202.7 MB Notification: Performance of matching and sorting (n=36): time 0.001659/0.1873, allocations: 0.7792 MB / 263.3 MB, free: 12.21 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001795/0.1875, allocations: 453 kB / 263.7 MB, free: 11.66 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: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: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: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.0005596/0.188, allocations: 426.8 kB / 264.2 MB, free: 11.23 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.1881, allocations: 37.7 kB / 264.2 MB, free: 11.19 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.1883, allocations: 240.4 kB / 264.4 MB, free: 10.95 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.489e-05/0.1884, allocations: 122.2 kB / 264.6 MB, free: 10.83 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/0.1884, allocations: 8 kB / 264.6 MB, free: 10.82 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1885, allocations: 350.8 kB / 264.9 MB, free: 10.47 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.1889, allocations: 160.2 kB / 265.1 MB, free: 10.31 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.1894, allocations: 303.1 kB / 265.4 MB, free: 9.965 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.1898, allocations: 199 kB / 265.6 MB, free: 9.77 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1898, allocations: 0 / 265.6 MB, free: 9.77 MB / 202.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009723/0.1908, allocations: 0.5201 MB / 266.1 MB, free: 9.23 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.1908, allocations: 29.7 kB / 266.1 MB, free: 9.195 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1909, allocations: 11.94 kB / 266.1 MB, free: 9.184 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.191, allocations: 45.64 kB / 266.2 MB, free: 9.133 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.1915, allocations: 91.94 kB / 266.2 MB, free: 9.043 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.1937, allocations: 2.768 MB / 269 MB, free: 6.008 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/0.1941, allocations: 67.64 kB / 269.1 MB, free: 5.941 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.1942, allocations: 12 kB / 269.1 MB, free: 5.93 MB / 202.7 MB Warning: Assuming fixed start value for the following 2 variables: heatCapacitor.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(6000.0, min(6000.0, 6000.0)) start = TMass 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 (38): * Single equations (assignments): 35 * 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.0003217/0.1945, allocations: 187.1 kB / 269.3 MB, free: 5.742 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.295e-05/0.1946, allocations: 67.27 kB / 269.3 MB, free: 5.676 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.837e-05/0.1947, allocations: 52.77 kB / 269.4 MB, free: 5.625 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1947, allocations: 4 kB / 269.4 MB, free: 5.621 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1947, allocations: 0 / 269.4 MB, free: 5.621 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001008/0.1957, allocations: 0.7702 MB / 270.2 MB, free: 4.746 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.1975, allocations: 1.119 MB / 271.3 MB, free: 3.555 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1975, allocations: 0 / 271.3 MB, free: 3.555 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.1979, allocations: 95.88 kB / 271.4 MB, free: 3.461 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.1979, allocations: 0 / 271.4 MB, free: 3.461 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.198, allocations: 11.98 kB / 271.4 MB, free: 3.449 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.198, allocations: 0 / 271.4 MB, free: 3.449 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.198, allocations: 0 / 271.4 MB, free: 3.449 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.1992, allocations: 0.7059 MB / 272.1 MB, free: 2.727 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.1994, allocations: 136.5 kB / 272.2 MB, free: 2.574 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.249e-05/0.1995, allocations: 15.98 kB / 272.2 MB, free: 2.559 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.1998, allocations: 35.92 kB / 272.3 MB, free: 2.523 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.1999, allocations: 27.95 kB / 272.3 MB, free: 2.496 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.1999, allocations: 4 kB / 272.3 MB, free: 2.492 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0003737/0.2003, allocations: 335.1 kB / 272.6 MB, free: 2.168 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2003, allocations: 3.938 kB / 272.6 MB, free: 2.164 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0004477/0.2007, allocations: 143.8 kB / 272.8 MB, free: 2.023 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 (36): * Single equations (assignments): 36 * 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.0001603/0.2009, allocations: 111.2 kB / 272.9 MB, free: 1.906 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.202, allocations: 0.6794 MB / 273.6 MB, free: 1.191 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2021, allocations: 0 / 273.6 MB, free: 1.191 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003876/0.2024, allocations: 199.8 kB / 273.8 MB, free: 0.9961 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.2036, allocations: 256 kB / 274 MB, free: 0.75 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.2055, allocations: 1.173 MB / 275.2 MB, free: 15.55 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.2059, allocations: 0.8354 MB / 276 MB, free: 14.68 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.0002745/0.2061, allocations: 64.38 kB / 276.1 MB, free: 14.62 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.2063, allocations: 51.44 kB / 276.1 MB, free: 14.57 MB / 218.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2063, allocations: 0 / 276.1 MB, free: 14.57 MB / 218.7 MB Notification: Performance of Templates: time 0.0144/0.2207, allocations: 9.143 MB / 285.3 MB, free: 5.473 MB / 218.7 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)