Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadModel(Modelica): time 1.088/1.088, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.683e-05, allocations: 4 kB / 151.4 MB, free: 15.63 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1411, allocations: 25.15 MB / 176.5 MB, free: 0 / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0605/0.2016, allocations: 39.87 MB / 216.4 MB, free: 9.586 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.2019, allocations: 63.97 kB / 216.5 MB, free: 9.523 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05847/0.2604, allocations: 14.2 MB / 230.7 MB, free: 11.26 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.971e-06/0.2604, allocations: 0 / 230.7 MB, free: 11.26 MB / 202.7 MB Notification: Performance of Transformations before backend: time 4.976e-05/0.2605, allocations: 16 kB / 230.7 MB, free: 11.25 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001981/0.2625, allocations: 0.8876 MB / 231.6 MB, free: 10.3 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.2625, allocations: 12.03 kB / 231.6 MB, free: 10.29 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.2627, allocations: 83.06 kB / 231.7 MB, free: 10.2 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009413/0.2637, allocations: 451.9 kB / 232.1 MB, free: 9.723 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.2639, allocations: 100.4 kB / 232.2 MB, free: 9.613 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.264, allocations: 48 kB / 232.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.2654, allocations: 0.6073 MB / 232.9 MB, free: 8.887 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.2654, allocations: 3.906 kB / 232.9 MB, free: 8.883 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-05/0.2655, allocations: 31.92 kB / 232.9 MB, free: 8.852 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.2655, allocations: 16 kB / 232.9 MB, free: 8.836 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.2666, allocations: 373.9 kB / 233.3 MB, free: 8.469 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004463/0.2711, allocations: 2.061 MB / 235.3 MB, free: 6.273 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.2735, allocations: 0.658 MB / 236 MB, free: 5.586 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/0.2741, allocations: 235.5 kB / 236.2 MB, free: 5.355 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.745e-05/0.2742, allocations: 24.52 kB / 236.2 MB, free: 5.332 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/0.2742, allocations: 43.06 kB / 236.3 MB, free: 5.281 MB / 202.7 MB Notification: Performance of pre-optimization done (n=56): time 3.53e-06/0.2743, allocations: 3.938 kB / 236.3 MB, free: 5.277 MB / 202.7 MB Notification: Performance of matching and sorting (n=56): time 0.002463/0.2767, allocations: 0.6685 MB / 237 MB, free: 4.59 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003615/0.2771, allocations: 0.5761 MB / 237.5 MB, free: 3.879 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: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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1366:7-1367:48:writable] Warning: Parameter valve.frictionLoss 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:1363:7-1365:60:writable] Warning: Parameter valve.rho0 has no value, and is fixed during initialization (fixed=true), using available start value (start=10.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1361:7-1362:60:writable] Warning: Parameter valve.dp0 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:1358:7-1360:60:writable] Warning: Parameter valve.kv0 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.01) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1355:7-1357:60:writable] Warning: Parameter valve.Kv1 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:1353:7-1354:60:writable] Warning: Parameter valve.y1 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:2340:9-2340:68:writable] Warning: Parameter valve.m 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:1843:7-1845:58:writable] Warning: Parameter idealPump.V_flow0 has no value, and is fixed during initialization (fixed=true), using available start value (start=2.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1840:7-1842:58:writable] Warning: Parameter idealPump.dp0 has no value, and is fixed during initialization (fixed=true), using available start value (start=2.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1837:7-1839:58:writable] Warning: Parameter idealPump.wNominal 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.00116/0.2783, allocations: 0.4963 MB / 238 MB, free: 3.379 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.2785, allocations: 41.7 kB / 238.1 MB, free: 3.332 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.2788, allocations: 303.2 kB / 238.4 MB, free: 3.031 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.279, allocations: 193.1 kB / 238.6 MB, free: 2.84 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.2791, allocations: 16 kB / 238.6 MB, free: 2.824 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.2793, allocations: 334.8 kB / 238.9 MB, free: 2.488 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.2797, allocations: 161 kB / 239.1 MB, free: 2.332 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006926/0.2805, allocations: 367.5 kB / 239.4 MB, free: 1.895 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005762/0.281, allocations: 234.1 kB / 239.6 MB, free: 1.66 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.354e-06/0.2811, allocations: 0 / 239.6 MB, free: 1.66 MB / 202.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002468/0.2835, allocations: 0.706 MB / 240.4 MB, free: 0.9336 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/0.2836, allocations: 29.7 kB / 240.4 MB, free: 0.8984 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.2836, allocations: 4 kB / 240.4 MB, free: 0.8945 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.2847, allocations: 206.4 kB / 240.6 MB, free: 0.6836 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.2859, allocations: 143.8 kB / 240.7 MB, free: 0.543 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008855/0.2948, allocations: 5.088 MB / 245.8 MB, free: 11.06 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009052/0.2957, allocations: 83.73 kB / 245.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.31e-05/0.2958, allocations: 20 kB / 245.9 MB, free: 10.96 MB / 218.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: 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 (49): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003172/0.2961, allocations: 177.5 kB / 246.1 MB, free: 10.78 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.2963, allocations: 71.16 kB / 246.2 MB, free: 10.71 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.2989, allocations: 0.7187 MB / 246.9 MB, free: 9.973 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.2989, allocations: 4 kB / 246.9 MB, free: 9.969 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.821e-06/0.299, allocations: 0 / 246.9 MB, free: 9.969 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002391/0.3014, allocations: 0.9843 MB / 247.9 MB, free: 8.871 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004038/0.3054, allocations: 1.518 MB / 249.4 MB, free: 7.273 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.584e-06/0.3055, allocations: 3.938 kB / 249.4 MB, free: 7.27 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.3066, allocations: 139.8 kB / 249.5 MB, free: 7.133 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008625/0.3075, allocations: 157.5 kB / 249.7 MB, free: 6.973 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.707e-05/0.3075, allocations: 8 kB / 249.7 MB, free: 6.965 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00644/0.314, allocations: 3.537 MB / 253.2 MB, free: 3.125 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.038e-06/0.314, allocations: 0 / 253.2 MB, free: 3.125 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003036/0.3171, allocations: 0.9763 MB / 254.2 MB, free: 2.125 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005558/0.3177, allocations: 212.1 kB / 254.4 MB, free: 1.898 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.3179, allocations: 16 kB / 254.4 MB, free: 1.883 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006404/0.3185, allocations: 39.97 kB / 254.5 MB, free: 1.844 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.3187, allocations: 44.48 kB / 254.5 MB, free: 1.801 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-05/0.3188, allocations: 12 kB / 254.5 MB, free: 1.789 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0007193/0.3195, allocations: 389.6 kB / 254.9 MB, free: 1.414 MB / 218.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.3195, allocations: 0 / 254.9 MB, free: 1.414 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001153/0.3207, allocations: 243.7 kB / 255.1 MB, free: 1.176 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * 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: 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 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002651/0.321, allocations: 130.9 kB / 255.3 MB, free: 1.039 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.00248/0.3235, allocations: 0.951 MB / 256.2 MB, free: 44 kB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 5.178e-06/0.3235, allocations: 0 / 256.2 MB, free: 44 kB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1239/0.4474, allocations: 495 kB / 256.7 MB, free: 62.56 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.4498, allocations: 331.6 kB / 257 MB, free: 62.55 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004488/0.4543, allocations: 1.119 MB / 258.1 MB, free: 62.27 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.4548, allocations: 0.9003 MB / 259 MB, free: 61.57 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.4551, allocations: 61.34 kB / 259.1 MB, free: 61.57 MB / 218.7 MB Notification: Performance of SimCode: time 1.772e-06/0.4551, allocations: 0 / 259.1 MB, free: 61.57 MB / 218.7 MB Notification: Performance of Templates: time 0.02137/0.4765, allocations: 15.05 MB / 274.2 MB, free: 56.94 MB / 218.7 MB