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.8896/0.8896, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001796/0.001796, allocations: 151.4 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.67e-05/2.687e-05, allocations: 3.984 kB / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04993/0.04997, allocations: 25.18 MB / 205.4 MB, free: 8.438 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0513/0.1013, allocations: 38.28 MB / 243.7 MB, free: 2.098 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.1016, allocations: 67.97 kB / 243.7 MB, free: 2.031 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1221/0.2237, allocations: 9.865 MB / 253.6 MB, free: 40.62 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2237, allocations: 2.516 kB / 253.6 MB, free: 40.62 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.604e-05/0.2238, allocations: 14.19 kB / 253.6 MB, free: 40.62 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.001/0.2248, allocations: 0.7362 MB / 254.3 MB, free: 40.01 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.2248, allocations: 11.09 kB / 254.4 MB, free: 40.01 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.2249, allocations: 65.84 kB / 254.4 MB, free: 39.97 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.2254, allocations: 384.3 kB / 254.8 MB, free: 39.65 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.542e-05/0.2255, allocations: 57.98 kB / 254.9 MB, free: 39.6 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/0.2256, allocations: 35.03 kB / 254.9 MB, free: 39.59 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.2261, allocations: 464.2 kB / 255.3 MB, free: 39.24 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.2261, allocations: 4.281 kB / 255.3 MB, free: 39.24 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.2262, allocations: 19.89 kB / 255.4 MB, free: 39.23 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.2262, allocations: 7.781 kB / 255.4 MB, free: 39.23 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.2266, allocations: 275.3 kB / 255.6 MB, free: 39.11 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.2283, allocations: 1.393 MB / 257 MB, free: 37.97 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.2287, allocations: 370.9 kB / 257.4 MB, free: 37.73 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.2289, allocations: 155.5 kB / 257.5 MB, free: 37.66 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.229, allocations: 6.75 kB / 257.6 MB, free: 37.66 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.229, allocations: 53.27 kB / 257.6 MB, free: 37.61 MB / 186.7 MB Notification: Performance of pre-optimization done (n=36): time 1.954e-06/0.229, allocations: 0 / 257.6 MB, free: 37.61 MB / 186.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006613/0.2297, allocations: 382.6 kB / 258 MB, free: 37.4 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/0.2298, allocations: 444.7 kB / 258.4 MB, free: 36.86 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: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.000463/0.2303, allocations: 426.5 kB / 258.8 MB, free: 36.46 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.2303, allocations: 33.7 kB / 258.9 MB, free: 36.42 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2304, allocations: 244.4 kB / 259.1 MB, free: 36.18 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.395e-05/0.2305, allocations: 116.5 kB / 259.2 MB, free: 36.07 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-05/0.2305, allocations: 8 kB / 259.2 MB, free: 36.06 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 7.549e-05/0.2306, allocations: 366.7 kB / 259.6 MB, free: 35.69 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.2307, allocations: 104.3 kB / 259.7 MB, free: 35.59 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.231, allocations: 247.4 kB / 259.9 MB, free: 35.29 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.2312, allocations: 146.9 kB / 260.1 MB, free: 35.14 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2312, allocations: 0 / 260.1 MB, free: 35.14 MB / 186.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005852/0.2318, allocations: 452 kB / 260.5 MB, free: 34.68 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.2318, allocations: 29.7 kB / 260.5 MB, free: 34.65 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2318, allocations: 4 kB / 260.5 MB, free: 34.64 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/0.2321, allocations: 61.67 kB / 260.6 MB, free: 34.58 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.2325, allocations: 91.88 kB / 260.7 MB, free: 34.49 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.234, allocations: 2.732 MB / 263.4 MB, free: 31.49 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.2344, allocations: 67.7 kB / 263.5 MB, free: 31.42 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.2344, allocations: 15.98 kB / 263.5 MB, free: 31.41 MB / 186.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" 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 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 (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.0001506/0.2346, allocations: 149.5 kB / 263.7 MB, free: 31.25 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.2347, allocations: 51.44 kB / 263.7 MB, free: 31.2 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.366e-05/0.2347, allocations: 48.83 kB / 263.8 MB, free: 31.16 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2347, allocations: 4 kB / 263.8 MB, free: 31.15 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2348, allocations: 3.984 kB / 263.8 MB, free: 31.15 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004298/0.2352, allocations: 0.6688 MB / 264.4 MB, free: 30.38 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.2362, allocations: 1.017 MB / 265.4 MB, free: 29.29 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.2362, allocations: 8 kB / 265.5 MB, free: 29.29 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/0.2367, allocations: 107.8 kB / 265.6 MB, free: 29.18 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2367, allocations: 0 / 265.6 MB, free: 29.18 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.2367, allocations: 7.984 kB / 265.6 MB, free: 29.17 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2367, allocations: 4 kB / 265.6 MB, free: 29.17 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2367, allocations: 0 / 265.6 MB, free: 29.17 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006346/0.2374, allocations: 0.5655 MB / 266.1 MB, free: 28.59 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/0.2375, allocations: 132.5 kB / 266.3 MB, free: 28.44 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/0.2375, allocations: 8 kB / 266.3 MB, free: 28.43 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.2378, allocations: 35.97 kB / 266.3 MB, free: 28.39 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.2379, allocations: 31.97 kB / 266.3 MB, free: 28.36 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.2379, allocations: 7.984 kB / 266.3 MB, free: 28.36 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000268/0.2382, allocations: 321.2 kB / 266.7 MB, free: 28.04 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2382, allocations: 4 kB / 266.7 MB, free: 28.04 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003972/0.2386, allocations: 147.8 kB / 266.8 MB, free: 27.89 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 (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.0001501/0.2388, allocations: 129 kB / 266.9 MB, free: 27.77 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0006652/0.2395, allocations: 0.5668 MB / 267.5 MB, free: 27.16 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2395, allocations: 4 kB / 267.5 MB, free: 27.16 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.2397, allocations: 143.9 kB / 267.6 MB, free: 27.02 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.2408, allocations: 254.9 kB / 267.9 MB, free: 26.77 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.2422, allocations: 0.7149 MB / 268.6 MB, free: 26.03 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.2424, allocations: 0.8354 MB / 269.4 MB, free: 25.16 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0002868/0.2427, allocations: 60.39 kB / 269.5 MB, free: 25.11 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2428, allocations: 39.44 kB / 269.5 MB, free: 25.07 MB / 186.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2428, allocations: 4 kB / 269.5 MB, free: 25.06 MB / 186.7 MB Notification: Performance of Templates: time 0.01247/0.2553, allocations: 9.169 MB / 278.7 MB, free: 15.89 MB / 186.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)