Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadModel(Modelica): time 1.07/1.07, allocations: 111.1 MB / 126.3 MB, free: 6.406 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.366e-05/2.35e-05, allocations: 4 kB / 154.5 MB, free: 2.84 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05614/0.05618, allocations: 25.18 MB / 179.7 MB, free: 9.621 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.009408/0.06566, allocations: 4.186 MB / 183.9 MB, free: 5.422 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.004226/0.06995, allocations: 1.22 MB / 185.1 MB, free: 4.195 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007434/0.07076, allocations: 16 kB / 185.1 MB, free: 4.18 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.07128, allocations: 119.1 kB / 185.2 MB, free: 4.062 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.07314, allocations: 434.7 kB / 185.7 MB, free: 3.637 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.07427, allocations: 183.7 kB / 185.8 MB, free: 3.457 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.002851/0.07716, allocations: 0.7507 MB / 186.6 MB, free: 2.707 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008208/0.07804, allocations: 244.9 kB / 186.8 MB, free: 2.473 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.07911, allocations: 391.2 kB / 187.2 MB, free: 2.09 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.08067, allocations: 478.5 kB / 187.7 MB, free: 1.621 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.08116, allocations: 60 kB / 187.7 MB, free: 1.562 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003369/0.08151, allocations: 64 kB / 187.8 MB, free: 1.5 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003323/0.08186, allocations: 179.3 kB / 188 MB, free: 1.324 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005387/0.08242, allocations: 128 kB / 188.1 MB, free: 1.199 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.08448, allocations: 0.9584 MB / 189 MB, free: 244 kB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.08452, allocations: 0 / 189 MB, free: 244 kB / 154.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.08453, allocations: 0 / 189 MB, free: 244 kB / 154.7 MB Notification: Performance of Transformations before backend: time 2.539e-05/0.08457, allocations: 0 / 189 MB, free: 244 kB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004/0.08859, allocations: 1.156 MB / 190.2 MB, free: 15.01 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.08866, allocations: 8.031 kB / 190.2 MB, free: 15 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004328/0.08911, allocations: 122.7 kB / 190.3 MB, free: 14.88 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.09077, allocations: 0.5206 MB / 190.9 MB, free: 14.32 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004767/0.09127, allocations: 151.1 kB / 191 MB, free: 14.16 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002455/0.09153, allocations: 68 kB / 191.1 MB, free: 14.09 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003372/0.09492, allocations: 0.9666 MB / 192 MB, free: 13 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.09498, allocations: 0 / 192 MB, free: 13 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.09519, allocations: 32 kB / 192.1 MB, free: 12.97 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/0.09524, allocations: 16 kB / 192.1 MB, free: 12.96 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003671/0.09892, allocations: 0.6363 MB / 192.7 MB, free: 12.32 MB / 170.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008981/0.1079, allocations: 2.925 MB / 195.6 MB, free: 9.145 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006972/0.115, allocations: 0.9078 MB / 196.5 MB, free: 8.211 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.1151, allocations: 16.55 kB / 196.6 MB, free: 8.195 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.9e-05/0.1152, allocations: 51.12 kB / 196.6 MB, free: 8.137 MB / 170.7 MB Notification: Performance of pre-optimization done (n=70): time 4.548e-06/0.1152, allocations: 0 / 196.6 MB, free: 8.137 MB / 170.7 MB Notification: Performance of matching and sorting (n=70): time 0.006274/0.1215, allocations: 1.436 MB / 198.1 MB, free: 6.586 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005551/0.1221, allocations: 0.9566 MB / 199 MB, free: 5.402 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1309:7-1310:76:writable] Warning: Parameter innerPipe.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 innerPipe.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 innerPipe.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 innerPipe.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 innerPipe.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 outerPipe.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 outerPipe.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 outerPipe.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 outerPipe.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 outerPipe.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 innerPump.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: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: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:1702:7-1704:58:writable] Warning: Parameter outerPump.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.001646/0.1238, allocations: 0.6384 MB / 199.6 MB, free: 4.762 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002193/0.124, allocations: 49.64 kB / 199.7 MB, free: 4.707 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/0.1245, allocations: 407.1 kB / 200.1 MB, free: 4.309 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003272/0.1248, allocations: 240.4 kB / 200.3 MB, free: 4.07 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.1249, allocations: 16 kB / 200.3 MB, free: 4.055 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1251, allocations: 338.8 kB / 200.7 MB, free: 3.715 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.1261, allocations: 261.8 kB / 200.9 MB, free: 3.461 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.1276, allocations: 0.5838 MB / 201.5 MB, free: 2.75 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.1287, allocations: 402.2 kB / 201.9 MB, free: 2.34 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1288, allocations: 3.938 kB / 201.9 MB, free: 2.336 MB / 170.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00295/0.1317, allocations: 0.9086 MB / 202.8 MB, free: 1.387 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.584e-05/0.1318, allocations: 85.09 kB / 202.9 MB, free: 1.285 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.1319, allocations: 4 kB / 202.9 MB, free: 1.281 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005112/0.1324, allocations: 132.2 kB / 203 MB, free: 1.137 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.1337, allocations: 147.8 kB / 203.2 MB, free: 0.9922 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1751/0.3088, allocations: 6.967 MB / 210.1 MB, free: 17.59 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.3112, allocations: 121.1 kB / 210.3 MB, free: 17.59 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.3114, allocations: 24.89 kB / 210.3 MB, free: 17.59 MB / 170.7 MB Warning: Assuming fixed start value for the following 4 variables: innerPipe.T:VARIABLE(min = 1.0 max = 6000.0 start = innerPipe.T0 unit = "K" fixed = true nominal = 300.0 ) "Outlet temperature of medium" type: Real outerPipe.T:VARIABLE(min = 1.0 max = 6000.0 start = outerPipe.T0 unit = "K" fixed = true nominal = 300.0 ) "Outlet temperature of medium" type: Real pipe1.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe1.T0 unit = "K" fixed = true nominal = 300.0 ) "Outlet temperature of medium" type: Real 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" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 69 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {1 1,3 1,1 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008992/0.3123, allocations: 270.2 kB / 210.6 MB, free: 17.46 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003256/0.3126, allocations: 98.34 kB / 210.6 MB, free: 17.44 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.313, allocations: 94.78 kB / 210.7 MB, free: 17.43 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.313, allocations: 7.219 kB / 210.7 MB, free: 17.43 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.313, allocations: 1.125 kB / 210.7 MB, free: 17.43 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003002/0.3161, allocations: 0.9855 MB / 211.7 MB, free: 16.74 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005272/0.3214, allocations: 1.747 MB / 213.5 MB, free: 15.82 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.3214, allocations: 0.875 kB / 213.5 MB, free: 15.82 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.3228, allocations: 156.1 kB / 213.6 MB, free: 15.8 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001541/0.323, allocations: 29.98 kB / 213.7 MB, free: 15.79 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.197e-05/0.3231, allocations: 17.62 kB / 213.7 MB, free: 15.79 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.3243, allocations: 1.459 MB / 215.1 MB, free: 14.35 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3243, allocations: 0.5625 kB / 215.1 MB, free: 14.35 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003381/0.3277, allocations: 1.091 MB / 216.2 MB, free: 13.84 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.3281, allocations: 167.9 kB / 216.4 MB, free: 13.69 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.3284, allocations: 24.52 kB / 216.4 MB, free: 13.68 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.3297, allocations: 58.73 kB / 216.5 MB, free: 13.66 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.3299, allocations: 44.62 kB / 216.5 MB, free: 13.65 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.256e-05/0.3299, allocations: 18.89 kB / 216.5 MB, free: 13.64 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0009082/0.3308, allocations: 494.3 kB / 217 MB, free: 13.43 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3309, allocations: 1.312 kB / 217 MB, free: 13.43 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.001266/0.3321, allocations: 299.8 kB / 217.3 MB, free: 13.38 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002164/0.3324, allocations: 134.9 kB / 217.4 MB, free: 13.27 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.003338/0.3357, allocations: 1.407 MB / 218.9 MB, free: 12.29 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 9.689e-06/0.3358, allocations: 3.312 kB / 218.9 MB, free: 12.29 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.337, allocations: 432.9 kB / 219.3 MB, free: 12.08 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004101/0.3411, allocations: 486 kB / 219.8 MB, free: 11.96 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.3449, allocations: 1.967 MB / 221.7 MB, free: 10.77 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.3454, allocations: 0.9877 MB / 222.7 MB, free: 9.965 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/0.3458, allocations: 71.48 kB / 222.8 MB, free: 9.953 MB / 170.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3459, allocations: 0 / 222.8 MB, free: 9.953 MB / 170.7 MB Notification: Performance of Templates: time 0.03878/0.3846, allocations: 22.4 MB / 245.2 MB, free: 5.309 MB / 186.7 MB