Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadModel(Modelica): time 1.044/1.044, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.492e-05/2.504e-05, allocations: 4 kB / 151.4 MB, free: 15.63 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1439, allocations: 25.15 MB / 176.5 MB, free: 20 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0596/0.2035, allocations: 38.52 MB / 215.1 MB, free: 10.96 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.2038, allocations: 59.97 kB / 215.1 MB, free: 10.9 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06298/0.2668, allocations: 15.86 MB / 231 MB, free: 10.96 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2669, allocations: 0 / 231 MB, free: 10.96 MB / 202.7 MB Notification: Performance of Transformations before backend: time 5.449e-05/0.2669, allocations: 16 kB / 231 MB, free: 10.95 MB / 202.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002176/0.2691, allocations: 1.026 MB / 232 MB, free: 9.859 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.2692, allocations: 11.97 kB / 232 MB, free: 9.848 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/0.2695, allocations: 98.97 kB / 232.1 MB, free: 9.75 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.2706, allocations: 0.5039 MB / 232.6 MB, free: 9.203 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002907/0.271, allocations: 150.4 kB / 232.8 MB, free: 9.039 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.2711, allocations: 63.91 kB / 232.8 MB, free: 8.977 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.2728, allocations: 0.7825 MB / 233.6 MB, free: 8.09 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.2729, allocations: 3.953 kB / 233.6 MB, free: 8.086 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.976e-05/0.273, allocations: 32 kB / 233.7 MB, free: 8.055 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.273, allocations: 12 kB / 233.7 MB, free: 8.043 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.2744, allocations: 0.4946 MB / 234.2 MB, free: 7.551 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005171/0.2795, allocations: 2.356 MB / 236.5 MB, free: 5.031 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/0.2817, allocations: 0.899 MB / 237.4 MB, free: 4.07 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007954/0.2826, allocations: 343.5 kB / 237.7 MB, free: 3.734 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.481e-05/0.2827, allocations: 20.83 kB / 237.8 MB, free: 3.715 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.2827, allocations: 43.34 kB / 237.8 MB, free: 3.664 MB / 202.7 MB Notification: Performance of pre-optimization done (n=74): time 4.616e-06/0.2827, allocations: 0 / 237.8 MB, free: 3.664 MB / 202.7 MB Notification: Performance of matching and sorting (n=74): time 0.002704/0.2855, allocations: 0.8422 MB / 238.7 MB, free: 2.801 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005049/0.286, allocations: 0.8235 MB / 239.5 MB, free: 1.781 MB / 202.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1280:7-1281:76:writable] Warning: Parameter pipe3.h_g has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2262:9-2264:54:writable] Warning: Parameter pipe3.dpNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2259:9-2261:54:writable] Warning: Parameter pipe3.V_flowNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2256:9-2258:54:writable] Warning: Parameter pipe3.dpLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2253:9-2255:54:writable] Warning: Parameter pipe3.V_flowLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1309:7-1310:76:writable] Warning: Parameter pipe2.h_g has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2262:9-2264:54:writable] Warning: Parameter pipe2.dpNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2259:9-2261:54:writable] Warning: Parameter pipe2.V_flowNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2256:9-2258:54:writable] Warning: Parameter pipe2.dpLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2253:9-2255:54:writable] Warning: Parameter pipe2.V_flowLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1309:7-1310:76:writable] Warning: Parameter pipe1.h_g has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2262:9-2264:54:writable] Warning: Parameter pipe1.dpNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2259:9-2261:54:writable] Warning: Parameter pipe1.V_flowNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2256:9-2258:54:writable] Warning: Parameter pipe1.dpLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2253:9-2255:54:writable] Warning: Parameter pipe1.V_flowLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/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.001256/0.2873, allocations: 0.5809 MB / 240.1 MB, free: 1.195 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.2874, allocations: 41.7 kB / 240.1 MB, free: 1.148 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.2877, allocations: 335.6 kB / 240.4 MB, free: 0.8203 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.288, allocations: 265.8 kB / 240.7 MB, free: 0.5586 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.2881, allocations: 8 kB / 240.7 MB, free: 0.5508 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.2883, allocations: 342.8 kB / 241 MB, free: 212 kB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005794/0.2889, allocations: 209.5 kB / 241.2 MB, free: 0 / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009227/0.2898, allocations: 482.9 kB / 241.7 MB, free: 15.43 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007455/0.2906, allocations: 347.5 kB / 242 MB, free: 15.08 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.205e-06/0.2906, allocations: 0 / 242 MB, free: 15.08 MB / 218.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002829/0.2935, allocations: 0.9415 MB / 243 MB, free: 14.1 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.804e-05/0.2936, allocations: 93.09 kB / 243.1 MB, free: 13.99 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.444e-06/0.2936, allocations: 0 / 243.1 MB, free: 13.99 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007162/0.2944, allocations: 191.3 kB / 243.3 MB, free: 13.79 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008432/0.2952, allocations: 135.8 kB / 243.4 MB, free: 13.66 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/0.3055, allocations: 6.358 MB / 249.8 MB, free: 6.766 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.3065, allocations: 119.3 kB / 249.9 MB, free: 6.648 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.245e-05/0.3066, allocations: 27.98 kB / 249.9 MB, free: 6.621 MB / 218.7 MB Warning: Assuming fixed start value for the following 5 variables: heatCapacitor2.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 heatCapacitor1.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 pipe3.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe3.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real pipe2.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe2.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real pipe1.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe1.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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,2 6,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004141/0.3071, allocations: 204.6 kB / 250.1 MB, free: 6.418 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.3073, allocations: 83.06 kB / 250.2 MB, free: 6.336 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.3075, allocations: 87.98 kB / 250.3 MB, free: 6.242 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.3076, allocations: 8 kB / 250.3 MB, free: 6.234 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.749e-06/0.3076, allocations: 3.938 kB / 250.3 MB, free: 6.23 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002606/0.3102, allocations: 1.142 MB / 251.4 MB, free: 4.977 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005068/0.3153, allocations: 1.979 MB / 253.4 MB, free: 2.887 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.3153, allocations: 4 kB / 253.4 MB, free: 2.883 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008899/0.3162, allocations: 127.8 kB / 253.5 MB, free: 2.758 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005499/0.3168, allocations: 166.5 kB / 253.7 MB, free: 2.586 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-05/0.3169, allocations: 19.98 kB / 253.7 MB, free: 2.566 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1401/0.4571, allocations: 4.852 MB / 258.6 MB, free: 58.09 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/0.4572, allocations: 2.312 kB / 258.6 MB, free: 58.09 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006513/0.4637, allocations: 1.275 MB / 259.8 MB, free: 57.88 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005284/0.4643, allocations: 164.1 kB / 260 MB, free: 57.78 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003359/0.4646, allocations: 21.66 kB / 260 MB, free: 57.78 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/0.4661, allocations: 58.77 kB / 260.1 MB, free: 57.77 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003476/0.4664, allocations: 59.97 kB / 260.1 MB, free: 57.77 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.4666, allocations: 18.69 kB / 260.2 MB, free: 57.77 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.001401/0.468, allocations: 445.2 kB / 260.6 MB, free: 57.67 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.484e-06/0.468, allocations: 1.469 kB / 260.6 MB, free: 57.67 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.002369/0.4704, allocations: 296.3 kB / 260.9 MB, free: 57.66 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000392/0.4708, allocations: 135.2 kB / 261 MB, free: 57.58 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.005113/0.476, allocations: 1.318 MB / 262.3 MB, free: 56.95 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/0.476, allocations: 7.469 kB / 262.3 MB, free: 56.95 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002485/0.4786, allocations: 0.7014 MB / 263 MB, free: 56.64 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004877/0.4835, allocations: 419.2 kB / 263.4 MB, free: 56.63 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006819/0.4903, allocations: 1.37 MB / 264.8 MB, free: 56.26 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000762/0.4911, allocations: 0.9506 MB / 265.8 MB, free: 55.55 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005589/0.4917, allocations: 64.64 kB / 265.8 MB, free: 55.54 MB / 218.7 MB Notification: Performance of SimCode: time 3.557e-06/0.4918, allocations: 1.859 kB / 265.8 MB, free: 55.54 MB / 218.7 MB Notification: Performance of Templates: time 0.04175/0.5335, allocations: 20.97 MB / 286.8 MB, free: 43.63 MB / 218.7 MB