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.8967/0.8967, allocations: 110.8 MB / 118.3 MB, free: 10.53 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001612/0.001612, allocations: 147.4 kB / 144 MB, free: 9.816 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.299e-05/1.3e-05, allocations: 4 kB / 173.9 MB, free: 11.89 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06057/0.0606, allocations: 25.17 MB / 199 MB, free: 2.668 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.2405, allocations: 37.04 MB / 236.1 MB, free: 2.926 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.2409, allocations: 63.97 kB / 236.1 MB, free: 2.863 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02297/0.2638, allocations: 9.273 MB / 245.4 MB, free: 9.652 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2639, allocations: 0 / 245.4 MB, free: 9.652 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.43e-05/0.2639, allocations: 8 kB / 245.4 MB, free: 9.645 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.001031/0.265, allocations: 0.6789 MB / 246.1 MB, free: 8.918 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.265, allocations: 8.031 kB / 246.1 MB, free: 8.91 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.2652, allocations: 63.34 kB / 246.2 MB, free: 8.848 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.2658, allocations: 366.1 kB / 246.5 MB, free: 8.449 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.857e-05/0.2659, allocations: 46.48 kB / 246.6 MB, free: 8.398 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.2659, allocations: 20 kB / 246.6 MB, free: 8.379 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005814/0.2665, allocations: 245.5 kB / 246.8 MB, free: 8.141 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009364/0.2675, allocations: 405.6 kB / 247.2 MB, free: 7.688 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.2675, allocations: 0 / 247.2 MB, free: 7.688 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-05/0.2676, allocations: 7.938 kB / 247.2 MB, free: 7.68 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.2676, allocations: 8 kB / 247.2 MB, free: 7.672 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003069/0.2707, allocations: 1.281 MB / 248.5 MB, free: 6.301 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.2723, allocations: 415 kB / 248.9 MB, free: 5.867 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.2726, allocations: 132.3 kB / 249 MB, free: 5.738 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-05/0.2727, allocations: 4.281 kB / 249.1 MB, free: 5.734 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.96e-05/0.2728, allocations: 38.84 kB / 249.1 MB, free: 5.688 MB / 186.7 MB Notification: Performance of pre-optimization done (n=33): time 3.626e-06/0.2728, allocations: 0 / 249.1 MB, free: 5.688 MB / 186.7 MB Notification: Performance of matching and sorting (n=33): time 0.001089/0.2739, allocations: 312.7 kB / 249.4 MB, free: 5.371 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003102/0.2742, allocations: 452.9 kB / 249.8 MB, free: 4.824 MB / 186.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.0007245/0.275, allocations: 338.2 kB / 250.2 MB, free: 4.488 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.275, allocations: 26.83 kB / 250.2 MB, free: 4.457 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.2753, allocations: 236.4 kB / 250.4 MB, free: 4.223 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.2755, allocations: 114.2 kB / 250.5 MB, free: 4.109 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.2755, allocations: 3.938 kB / 250.5 MB, free: 4.105 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002442/0.2757, allocations: 350.8 kB / 250.9 MB, free: 3.754 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.276, allocations: 92.33 kB / 251 MB, free: 3.66 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000425/0.2765, allocations: 219.4 kB / 251.2 MB, free: 3.395 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.2768, allocations: 117.3 kB / 251.3 MB, free: 3.285 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2768, allocations: 0 / 251.3 MB, free: 3.285 MB / 186.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009936/0.2778, allocations: 365 kB / 251.7 MB, free: 2.918 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/0.2779, allocations: 33.73 kB / 251.7 MB, free: 2.879 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.2779, allocations: 3.938 kB / 251.7 MB, free: 2.875 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004469/0.2784, allocations: 70.5 kB / 251.8 MB, free: 2.801 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004951/0.2789, allocations: 75.89 kB / 251.8 MB, free: 2.727 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/0.2823, allocations: 2.633 MB / 254.5 MB, free: 15.87 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.2829, allocations: 35.7 kB / 254.5 MB, free: 15.83 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/0.2829, allocations: 20.14 kB / 254.5 MB, free: 15.81 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" 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: ambient1.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: ambient2.flowPort.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 (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,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003474/0.2833, allocations: 131.8 kB / 254.7 MB, free: 15.68 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.2834, allocations: 51.42 kB / 254.7 MB, free: 15.63 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.2836, allocations: 44.67 kB / 254.7 MB, free: 15.59 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2836, allocations: 4 kB / 254.8 MB, free: 15.58 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.2836, allocations: 0 / 254.8 MB, free: 15.58 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008049/0.2845, allocations: 0.6179 MB / 255.4 MB, free: 14.86 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.2863, allocations: 0.8567 MB / 256.2 MB, free: 13.94 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.2863, allocations: 0 / 256.2 MB, free: 13.94 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005301/0.2868, allocations: 79.89 kB / 256.3 MB, free: 13.86 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.2869, allocations: 0 / 256.3 MB, free: 13.86 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.2869, allocations: 4 kB / 256.3 MB, free: 13.86 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2869, allocations: 0 / 256.3 MB, free: 13.86 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2869, allocations: 0 / 256.3 MB, free: 13.86 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009725/0.2879, allocations: 483.1 kB / 256.8 MB, free: 13.37 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.2881, allocations: 124.6 kB / 256.9 MB, free: 13.23 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.558e-05/0.2882, allocations: 4 kB / 256.9 MB, free: 13.23 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.2886, allocations: 19.98 kB / 256.9 MB, free: 13.21 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.2886, allocations: 19.97 kB / 256.9 MB, free: 13.19 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.2887, allocations: 8 kB / 257 MB, free: 13.18 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0004634/0.2892, allocations: 248.6 kB / 257.2 MB, free: 12.94 MB / 202.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2892, allocations: 0 / 257.2 MB, free: 12.94 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.000766/0.2899, allocations: 139.7 kB / 257.3 MB, free: 12.8 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 (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.0003207/0.2903, allocations: 119.5 kB / 257.4 MB, free: 12.68 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.2916, allocations: 0.5262 MB / 258 MB, free: 12.12 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.2917, allocations: 5.062 kB / 258 MB, free: 12.12 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.2919, allocations: 111.9 kB / 258.1 MB, free: 12.01 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.2936, allocations: 214.9 kB / 258.3 MB, free: 11.81 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.2956, allocations: 0.6042 MB / 258.9 MB, free: 11.18 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006902/0.2963, allocations: 0.8198 MB / 259.7 MB, free: 10.34 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0004138/0.2968, allocations: 63.36 kB / 259.8 MB, free: 10.27 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.2969, allocations: 35.44 kB / 259.8 MB, free: 10.24 MB / 202.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2969, allocations: 0 / 259.8 MB, free: 10.24 MB / 202.7 MB Notification: Performance of Templates: time 0.02077/0.3177, allocations: 7.551 MB / 267.4 MB, free: 2.777 MB / 202.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)