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.8254/0.8254, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001816/0.001816, allocations: 147.5 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.781e-05, allocations: 0 / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06728/0.06733, allocations: 25.18 MB / 205.4 MB, free: 8.438 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06498/0.1324, allocations: 37.7 MB / 243.1 MB, free: 2.676 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.1327, allocations: 67.97 kB / 243.2 MB, free: 2.609 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1807/0.3134, allocations: 9.379 MB / 252.5 MB, free: 40.81 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3135, allocations: 0 / 252.5 MB, free: 40.81 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.184e-05/0.3135, allocations: 9 kB / 252.5 MB, free: 40.81 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.001542/0.3151, allocations: 0.6888 MB / 253.2 MB, free: 40.27 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.316e-05/0.3152, allocations: 9.25 kB / 253.2 MB, free: 40.27 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.3154, allocations: 56.34 kB / 253.3 MB, free: 40.25 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008511/0.3162, allocations: 371.5 kB / 253.7 MB, free: 39.94 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.3164, allocations: 62.33 kB / 253.7 MB, free: 39.89 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.3166, allocations: 31.31 kB / 253.8 MB, free: 39.89 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.3177, allocations: 451.1 kB / 254.2 MB, free: 39.54 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.3177, allocations: 1.5 kB / 254.2 MB, free: 39.54 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.906e-05/0.3178, allocations: 20.28 kB / 254.2 MB, free: 39.53 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.3178, allocations: 7.688 kB / 254.2 MB, free: 39.53 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007587/0.3186, allocations: 267.8 kB / 254.5 MB, free: 39.42 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.3212, allocations: 1.37 MB / 255.9 MB, free: 38.28 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.3226, allocations: 438.5 kB / 256.3 MB, free: 38.01 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.323, allocations: 129.1 kB / 256.4 MB, free: 37.95 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.873e-05/0.323, allocations: 16.02 kB / 256.4 MB, free: 37.95 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.3231, allocations: 38.81 kB / 256.5 MB, free: 37.9 MB / 186.7 MB Notification: Performance of pre-optimization done (n=33): time 2.605e-06/0.3231, allocations: 0 / 256.5 MB, free: 37.9 MB / 186.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008963/0.324, allocations: 339.3 kB / 256.8 MB, free: 37.72 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.3242, allocations: 448.8 kB / 257.2 MB, free: 37.18 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.0006612/0.3248, allocations: 417 kB / 257.6 MB, free: 36.95 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.3249, allocations: 33.7 kB / 257.7 MB, free: 36.91 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.3251, allocations: 231.6 kB / 257.9 MB, free: 36.71 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.91e-05/0.3252, allocations: 121.7 kB / 258 MB, free: 36.61 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.3252, allocations: 7.875 kB / 258 MB, free: 36.6 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3253, allocations: 350.7 kB / 258.4 MB, free: 36.26 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.3255, allocations: 93.42 kB / 258.5 MB, free: 36.22 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.3258, allocations: 241.3 kB / 258.7 MB, free: 36.01 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.3261, allocations: 149.5 kB / 258.8 MB, free: 35.92 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3261, allocations: 0 / 258.8 MB, free: 35.92 MB / 186.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008748/0.327, allocations: 439.6 kB / 259.3 MB, free: 35.66 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.3271, allocations: 33.02 kB / 259.3 MB, free: 35.63 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3271, allocations: 4 kB / 259.3 MB, free: 35.63 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004021/0.3275, allocations: 74.84 kB / 259.4 MB, free: 35.58 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/0.3279, allocations: 70.62 kB / 259.4 MB, free: 35.53 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/0.3304, allocations: 2.729 MB / 262.2 MB, free: 32.54 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/0.3309, allocations: 55.83 kB / 262.2 MB, free: 32.48 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.331, allocations: 15.94 kB / 262.2 MB, free: 32.46 MB / 186.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 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.0002483/0.3312, allocations: 154.7 kB / 262.4 MB, free: 32.31 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.3314, allocations: 47.44 kB / 262.4 MB, free: 32.26 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.3315, allocations: 48.78 kB / 262.5 MB, free: 32.21 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3315, allocations: 4 kB / 262.5 MB, free: 32.21 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3315, allocations: 3.938 kB / 262.5 MB, free: 32.21 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006439/0.3322, allocations: 0.6455 MB / 263.1 MB, free: 31.46 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.3337, allocations: 0.9374 MB / 264.1 MB, free: 30.45 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3337, allocations: 4 kB / 264.1 MB, free: 30.45 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.3342, allocations: 75.89 kB / 264.2 MB, free: 30.38 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.3342, allocations: 0 / 264.2 MB, free: 30.38 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.3343, allocations: 11.94 kB / 264.2 MB, free: 30.36 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3343, allocations: 0 / 264.2 MB, free: 30.36 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.3343, allocations: 3.953 kB / 264.2 MB, free: 30.36 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007368/0.3351, allocations: 0.4954 MB / 264.7 MB, free: 29.85 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.3352, allocations: 136.6 kB / 264.8 MB, free: 29.7 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.656e-05/0.3353, allocations: 8 kB / 264.8 MB, free: 29.69 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.3356, allocations: 27.92 kB / 264.8 MB, free: 29.66 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.3357, allocations: 31.86 kB / 264.9 MB, free: 29.63 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.3357, allocations: 4 kB / 264.9 MB, free: 29.62 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0003544/0.3361, allocations: 317.2 kB / 265.2 MB, free: 29.32 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.292e-06/0.3361, allocations: 0 / 265.2 MB, free: 29.32 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005103/0.3366, allocations: 147.8 kB / 265.3 MB, free: 29.17 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 (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.0001926/0.3368, allocations: 123.1 kB / 265.4 MB, free: 29.04 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.3378, allocations: 0.5435 MB / 266 MB, free: 28.46 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3379, allocations: 0 / 266 MB, free: 28.46 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.3381, allocations: 115.9 kB / 266.1 MB, free: 28.35 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.3395, allocations: 244.5 kB / 266.3 MB, free: 28.11 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.3408, allocations: 0.6149 MB / 267 MB, free: 27.47 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.3411, allocations: 0.8238 MB / 267.8 MB, free: 26.62 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0003436/0.3415, allocations: 68.33 kB / 267.8 MB, free: 26.55 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.3416, allocations: 39.44 kB / 267.9 MB, free: 26.52 MB / 186.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3416, allocations: 0 / 267.9 MB, free: 26.52 MB / 186.7 MB Notification: Performance of Templates: time 0.01504/0.3566, allocations: 8.802 MB / 276.7 MB, free: 17.71 MB / 186.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)