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") [: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.7645/0.7645, allocations: 110.8 MB / 118 MB, free: 14.57 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002209/0.002209, allocations: 164 kB / 143.7 MB, free: 4.891 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 5.961e-06/5.992e-06, allocations: 0 / 173.5 MB, free: 23.06 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04417/0.04419, allocations: 25.16 MB / 198.6 MB, free: 13.96 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.1921, allocations: 37.54 MB / 236.2 MB, free: 4.359 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.1924, allocations: 64.36 kB / 236.2 MB, free: 4.359 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.02296/0.2153, allocations: 9.588 MB / 245.8 MB, free: 2.246 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.062e-05/0.2154, allocations: 7.469 kB / 245.8 MB, free: 2.246 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00118/0.2166, allocations: 0.7429 MB / 246.6 MB, free: 1.664 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2167, allocations: 11.47 kB / 246.6 MB, free: 1.664 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.2168, allocations: 64.94 kB / 246.6 MB, free: 1.633 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/0.2174, allocations: 395 kB / 247 MB, free: 1.352 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.028e-05/0.2175, allocations: 52.2 kB / 247.1 MB, free: 1.32 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.2175, allocations: 19.25 kB / 247.1 MB, free: 1.32 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004411/0.218, allocations: 255.7 kB / 247.3 MB, free: 1.301 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.2185, allocations: 405.5 kB / 247.7 MB, free: 1.086 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.2185, allocations: 0 / 247.7 MB, free: 1.086 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.2185, allocations: 4 kB / 247.7 MB, free: 1.082 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2186, allocations: 7.75 kB / 247.7 MB, free: 1.082 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.2205, allocations: 1.329 MB / 249.1 MB, free: 288 kB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.2208, allocations: 223.4 kB / 249.3 MB, free: 260 kB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.2211, allocations: 155.5 kB / 249.4 MB, free: 244 kB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.2211, allocations: 15.39 kB / 249.5 MB, free: 240 kB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.2211, allocations: 37.5 kB / 249.5 MB, free: 200 kB / 170.7 MB Notification: Performance of pre-optimization done (n=36): time 1.513e-06/0.2212, allocations: 0 / 249.5 MB, free: 200 kB / 170.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006464/0.2218, allocations: 357.9 kB / 249.8 MB, free: 88 kB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001856/0.222, allocations: 442.1 kB / 250.3 MB, free: 15.55 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.0005135/0.2225, allocations: 369.7 kB / 250.6 MB, free: 15.41 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.2226, allocations: 28.27 kB / 250.7 MB, free: 15.38 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.2227, allocations: 180.8 kB / 250.8 MB, free: 15.24 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.373e-05/0.2228, allocations: 120.7 kB / 251 MB, free: 15.15 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.2228, allocations: 0 / 251 MB, free: 15.15 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.223, allocations: 352.5 kB / 251.3 MB, free: 14.82 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.2231, allocations: 102.1 kB / 251.4 MB, free: 14.81 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.2234, allocations: 231.7 kB / 251.6 MB, free: 14.67 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.2236, allocations: 127.7 kB / 251.8 MB, free: 14.64 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2236, allocations: 0 / 251.8 MB, free: 14.64 MB / 186.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006757/0.2243, allocations: 383.6 kB / 252.1 MB, free: 14.54 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2244, allocations: 5.031 kB / 252.1 MB, free: 14.54 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.2244, allocations: 0 / 252.1 MB, free: 14.54 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002378/0.2246, allocations: 62.38 kB / 252.2 MB, free: 14.5 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/0.2251, allocations: 99.19 kB / 252.3 MB, free: 14.48 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.2275, allocations: 2.61 MB / 254.9 MB, free: 11.99 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.2279, allocations: 64.83 kB / 255 MB, free: 11.96 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.228, allocations: 12.25 kB / 255 MB, free: 11.96 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 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.0002769/0.2283, allocations: 132.8 kB / 255.1 MB, free: 11.84 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.2284, allocations: 48.47 kB / 255.2 MB, free: 11.81 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.2285, allocations: 49.17 kB / 255.2 MB, free: 11.8 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.2285, allocations: 3.906 kB / 255.2 MB, free: 11.8 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2285, allocations: 1.375 kB / 255.2 MB, free: 11.8 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006035/0.2291, allocations: 0.6395 MB / 255.8 MB, free: 11.24 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.2305, allocations: 0.9447 MB / 256.8 MB, free: 10.7 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2305, allocations: 5.344 kB / 256.8 MB, free: 10.7 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/0.231, allocations: 97.5 kB / 256.9 MB, free: 10.68 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.231, allocations: 5.469 kB / 256.9 MB, free: 10.68 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.231, allocations: 1.312 kB / 256.9 MB, free: 10.68 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.231, allocations: 1.219 kB / 256.9 MB, free: 10.68 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2311, allocations: 0 / 256.9 MB, free: 10.68 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007432/0.2318, allocations: 0.5441 MB / 257.4 MB, free: 10.48 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.2319, allocations: 131 kB / 257.6 MB, free: 10.36 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.232, allocations: 3.125 kB / 257.6 MB, free: 10.36 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/0.2324, allocations: 32.61 kB / 257.6 MB, free: 10.34 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.09e-05/0.2325, allocations: 24.23 kB / 257.6 MB, free: 10.33 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.2325, allocations: 12.75 kB / 257.6 MB, free: 10.33 MB / 186.7 MB Notification: Performance of sort global known variables: time 0.0003839/0.2329, allocations: 273.5 kB / 257.9 MB, free: 10.23 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007162/0.2336, allocations: 137.4 kB / 258 MB, free: 10.21 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.0002587/0.2339, allocations: 115.5 kB / 258.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.2349, allocations: 0.5034 MB / 258.7 MB, free: 9.852 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.2349, allocations: 1.375 kB / 258.7 MB, free: 9.852 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.2352, allocations: 143.9 kB / 258.8 MB, free: 9.84 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.2364, allocations: 221.4 kB / 259 MB, free: 9.762 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.2385, allocations: 0.7068 MB / 259.7 MB, free: 9.391 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005694/0.2391, allocations: 0.8911 MB / 260.6 MB, free: 8.602 MB / 186.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2391, allocations: 1.375 kB / 260.6 MB, free: 8.602 MB / 186.7 MB Notification: Performance of Templates: time 0.01531/0.2545, allocations: 8.181 MB / 268.8 MB, free: 2.254 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)