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.9968/0.9968, allocations: 110.8 MB / 118.3 MB, free: 10.57 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001626/0.001626, allocations: 147.4 kB / 144 MB, free: 9.824 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.714e-05/1.716e-05, allocations: 4 kB / 173.9 MB, free: 11.89 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05216/0.05219, allocations: 25.16 MB / 199 MB, free: 2.684 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.2057, allocations: 37.62 MB / 236.6 MB, free: 2.383 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.206, allocations: 71.89 kB / 236.7 MB, free: 2.312 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02522/0.2312, allocations: 9.753 MB / 246.5 MB, free: 8.613 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2313, allocations: 0 / 246.5 MB, free: 8.613 MB / 186.7 MB Notification: Performance of Transformations before backend: time 6.465e-05/0.2314, allocations: 8 kB / 246.5 MB, free: 8.605 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.001467/0.2328, allocations: 0.7295 MB / 247.2 MB, free: 7.828 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2329, allocations: 8.031 kB / 247.2 MB, free: 7.82 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.2331, allocations: 67.34 kB / 247.3 MB, free: 7.754 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007255/0.2338, allocations: 388 kB / 247.6 MB, free: 7.336 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.234, allocations: 46.48 kB / 247.7 MB, free: 7.285 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.058e-05/0.234, allocations: 20 kB / 247.7 MB, free: 7.266 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005244/0.2346, allocations: 259.7 kB / 248 MB, free: 7.012 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006552/0.2352, allocations: 416.5 kB / 248.4 MB, free: 6.555 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.2353, allocations: 0 / 248.4 MB, free: 6.555 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-05/0.2353, allocations: 3.953 kB / 248.4 MB, free: 6.551 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.2354, allocations: 9.125 kB / 248.4 MB, free: 6.543 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.2377, allocations: 1.318 MB / 249.7 MB, free: 5.137 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005489/0.2383, allocations: 357.5 kB / 250.1 MB, free: 4.762 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.2385, allocations: 134.4 kB / 250.2 MB, free: 4.629 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/0.2386, allocations: 11.97 kB / 250.2 MB, free: 4.617 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.2386, allocations: 39.16 kB / 250.2 MB, free: 4.57 MB / 186.7 MB Notification: Performance of pre-optimization done (n=36): time 2.164e-06/0.2386, allocations: 0 / 250.2 MB, free: 4.57 MB / 186.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008234/0.2394, allocations: 359.1 kB / 250.6 MB, free: 4.207 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002616/0.2397, allocations: 452.9 kB / 251 MB, free: 3.66 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.0005653/0.2403, allocations: 365.1 kB / 251.4 MB, free: 3.297 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.2404, allocations: 25.7 kB / 251.4 MB, free: 3.266 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.2406, allocations: 244.6 kB / 251.6 MB, free: 3.023 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.2407, allocations: 123 kB / 251.8 MB, free: 2.902 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.2407, allocations: 0 / 251.8 MB, free: 2.902 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.2409, allocations: 354.8 kB / 252.1 MB, free: 2.547 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.2411, allocations: 100.3 kB / 252.2 MB, free: 2.445 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.2414, allocations: 243.1 kB / 252.5 MB, free: 2.156 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.2416, allocations: 126 kB / 252.6 MB, free: 2.035 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2416, allocations: 0 / 252.6 MB, free: 2.035 MB / 186.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006911/0.2423, allocations: 382.3 kB / 252.9 MB, free: 1.648 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.2423, allocations: 32.36 kB / 253 MB, free: 1.613 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/0.2424, allocations: 6.016 kB / 253 MB, free: 1.609 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002504/0.2426, allocations: 57.69 kB / 253 MB, free: 1.547 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.2431, allocations: 87.88 kB / 253.1 MB, free: 1.461 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.2453, allocations: 2.632 MB / 255.8 MB, free: 14.6 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.2457, allocations: 55.7 kB / 255.8 MB, free: 14.54 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.2458, allocations: 15.98 kB / 255.8 MB, free: 14.53 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" 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 (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.0002554/0.246, allocations: 134.8 kB / 256 MB, free: 14.39 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.2462, allocations: 43.53 kB / 256 MB, free: 14.35 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.2463, allocations: 40.91 kB / 256 MB, free: 14.31 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.2463, allocations: 8.141 kB / 256.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.2463, allocations: 3.984 kB / 256.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006092/0.2469, allocations: 0.653 MB / 256.7 MB, free: 13.54 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.2483, allocations: 0.9441 MB / 257.7 MB, free: 12.54 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2483, allocations: 0 / 257.7 MB, free: 12.54 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.2488, allocations: 99.88 kB / 257.7 MB, free: 12.44 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.2488, allocations: 7.938 kB / 257.8 MB, free: 12.43 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.2489, allocations: 4 kB / 257.8 MB, free: 12.43 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2489, allocations: 4 kB / 257.8 MB, free: 12.43 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2489, allocations: 0 / 257.8 MB, free: 12.43 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007322/0.2496, allocations: 0.526 MB / 258.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.2498, allocations: 124.5 kB / 258.4 MB, free: 11.74 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.523e-05/0.2499, allocations: 11.95 kB / 258.4 MB, free: 11.73 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.2502, allocations: 32.03 kB / 258.5 MB, free: 11.7 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/0.2503, allocations: 19.97 kB / 258.5 MB, free: 11.68 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.2503, allocations: 14.42 kB / 258.5 MB, free: 11.67 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0003498/0.2507, allocations: 283 kB / 258.8 MB, free: 11.39 MB / 202.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2507, allocations: 0 / 258.8 MB, free: 11.39 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0005228/0.2512, allocations: 139.6 kB / 258.9 MB, free: 11.26 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 () * 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.0002413/0.2515, allocations: 119 kB / 259 MB, free: 11.13 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0008635/0.2524, allocations: 0.5455 MB / 259.6 MB, free: 10.55 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.2524, allocations: 0 / 259.6 MB, free: 10.55 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.2526, allocations: 144.5 kB / 259.7 MB, free: 10.41 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.2538, allocations: 206.9 kB / 259.9 MB, free: 10.21 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.2557, allocations: 0.6872 MB / 260.6 MB, free: 9.508 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.2562, allocations: 0.8391 MB / 261.4 MB, free: 8.641 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0003127/0.2565, allocations: 52.25 kB / 261.5 MB, free: 8.586 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.2566, allocations: 43.42 kB / 261.5 MB, free: 8.543 MB / 202.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2566, allocations: 0 / 261.5 MB, free: 8.543 MB / 202.7 MB Notification: Performance of Templates: time 0.01727/0.2739, allocations: 7.935 MB / 269.5 MB, free: 0.6914 MB / 202.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)