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.155/1.155, allocations: 111.1 MB / 126.3 MB, free: 6.41 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.586e-05/2.58e-05, allocations: 0 / 154.5 MB, free: 2.836 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06023/0.06028, allocations: 25.18 MB / 179.7 MB, free: 9.617 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005338/0.06568, allocations: 3.289 MB / 183 MB, free: 6.312 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.06817, allocations: 1.029 MB / 184 MB, free: 5.281 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003585/0.06857, allocations: 8 kB / 184 MB, free: 5.273 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.0689, allocations: 83.36 kB / 184.1 MB, free: 5.191 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008377/0.06975, allocations: 299.1 kB / 184.4 MB, free: 4.898 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.07028, allocations: 143.7 kB / 184.5 MB, free: 4.758 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.0713, allocations: 0.5191 MB / 185 MB, free: 4.238 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.07165, allocations: 151.8 kB / 185.2 MB, free: 4.082 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004921/0.07215, allocations: 287.3 kB / 185.5 MB, free: 3.801 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006211/0.07279, allocations: 323 kB / 185.8 MB, free: 3.484 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.073, allocations: 44 kB / 185.8 MB, free: 3.441 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.07313, allocations: 40 kB / 185.9 MB, free: 3.402 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.07331, allocations: 131.5 kB / 186 MB, free: 3.273 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002401/0.07356, allocations: 88 kB / 186.1 MB, free: 3.188 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009151/0.07449, allocations: 0.6507 MB / 186.7 MB, free: 2.535 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.0745, allocations: 0 / 186.7 MB, free: 2.535 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.07452, allocations: 0 / 186.7 MB, free: 2.535 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.07454, allocations: 0 / 186.7 MB, free: 2.535 MB / 154.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.002497/0.07705, allocations: 0.9039 MB / 187.6 MB, free: 1.57 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.0771, allocations: 8.031 kB / 187.6 MB, free: 1.562 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.07733, allocations: 83.06 kB / 187.7 MB, free: 1.48 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008052/0.07815, allocations: 419.8 kB / 188.1 MB, free: 1.027 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.0784, allocations: 130.1 kB / 188.3 MB, free: 0.8789 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.07854, allocations: 44 kB / 188.3 MB, free: 0.8359 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.0804, allocations: 0.6795 MB / 189 MB, free: 84 kB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.08044, allocations: 0 / 189 MB, free: 84 kB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/0.08053, allocations: 20 kB / 189 MB, free: 64 kB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.08055, allocations: 12 kB / 189 MB, free: 52 kB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.08253, allocations: 499.7 kB / 189.5 MB, free: 15.56 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.004831/0.08737, allocations: 2.226 MB / 191.7 MB, free: 13.15 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003653/0.09105, allocations: 0.7456 MB / 192.5 MB, free: 12.38 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-05/0.09114, allocations: 16.41 kB / 192.5 MB, free: 12.36 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.0912, allocations: 50.98 kB / 192.5 MB, free: 12.3 MB / 170.7 MB Notification: Performance of pre-optimization done (n=54): time 2.795e-06/0.09122, allocations: 0 / 192.5 MB, free: 12.3 MB / 170.7 MB Notification: Performance of matching and sorting (n=54): time 0.009295/0.1005, allocations: 1.671 MB / 194.2 MB, free: 10.54 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003062/0.1008, allocations: 0.5682 MB / 194.8 MB, free: 9.84 MB / 170.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.0009756/0.1018, allocations: 479.7 kB / 195.3 MB, free: 9.367 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 8.46e-05/0.1019, allocations: 41.7 kB / 195.3 MB, free: 9.32 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.1022, allocations: 307.2 kB / 195.6 MB, free: 9.02 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.1024, allocations: 185.2 kB / 195.8 MB, free: 8.836 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.1025, allocations: 12 kB / 195.8 MB, free: 8.824 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1027, allocations: 334.8 kB / 196.1 MB, free: 8.488 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009503/0.1036, allocations: 205 kB / 196.3 MB, free: 8.289 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.1049, allocations: 440.5 kB / 196.7 MB, free: 7.777 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.1059, allocations: 273.6 kB / 197 MB, free: 7.508 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.106, allocations: 0 / 197 MB, free: 7.508 MB / 170.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.004172/0.1101, allocations: 0.8432 MB / 197.9 MB, free: 6.637 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/0.1102, allocations: 33.7 kB / 197.9 MB, free: 6.598 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.1102, allocations: 3.938 kB / 197.9 MB, free: 6.594 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.112, allocations: 239.2 kB / 198.1 MB, free: 6.348 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/0.1142, allocations: 175.8 kB / 198.3 MB, free: 6.176 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1467/0.2608, allocations: 6.398 MB / 204.7 MB, free: 21.76 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.2623, allocations: 92.66 kB / 204.8 MB, free: 21.76 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/0.2624, allocations: 18.67 kB / 204.8 MB, free: 21.76 MB / 170.7 MB Warning: Assuming fixed start value for the following 3 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" fixed = true nominal = 300.0 ) "Temperature of element" type: Real pipe.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe.T0 unit = "K" fixed = true nominal = 300.0 ) "Outlet temperature of medium" type: Real valve.T:VARIABLE(min = max(1.0, 1.0) max = min(6000.0, 6000.0) start = valve.T0 unit = "K" fixed = true 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 (50): * 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: 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 1,1 1,1 1,3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005216/0.2629, allocations: 228.7 kB / 205 MB, free: 21.65 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.2631, allocations: 70.78 kB / 205.1 MB, free: 21.65 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004293/0.2674, allocations: 0.83 MB / 205.9 MB, free: 21.57 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.2675, allocations: 5.188 kB / 205.9 MB, free: 21.57 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.2675, allocations: 0.5625 kB / 205.9 MB, free: 21.57 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004105/0.2716, allocations: 1.085 MB / 207 MB, free: 21.02 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005688/0.2774, allocations: 1.574 MB / 208.6 MB, free: 20.61 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.2774, allocations: 9.234 kB / 208.6 MB, free: 20.61 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002223/0.2797, allocations: 169.3 kB / 208.8 MB, free: 20.61 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/0.2812, allocations: 169 kB / 208.9 MB, free: 20.61 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.96e-05/0.2813, allocations: 12.47 kB / 208.9 MB, free: 20.61 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008499/0.2898, allocations: 3.681 MB / 212.6 MB, free: 17.56 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.2899, allocations: 3.188 kB / 212.6 MB, free: 17.56 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005166/0.295, allocations: 1.137 MB / 213.8 MB, free: 17.08 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004257/0.2955, allocations: 199.4 kB / 214 MB, free: 16.91 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.2957, allocations: 13.34 kB / 214 MB, free: 16.91 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.2968, allocations: 51.83 kB / 214 MB, free: 16.89 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.297, allocations: 39.09 kB / 214.1 MB, free: 16.89 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/0.297, allocations: 18.56 kB / 214.1 MB, free: 16.89 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0005832/0.2976, allocations: 361 kB / 214.4 MB, free: 16.71 MB / 170.7 MB Notification: Performance of sort global known variables: time 4e-07/0.2976, allocations: 1.156 kB / 214.4 MB, free: 16.71 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.001067/0.2987, allocations: 228.1 kB / 214.7 MB, free: 16.68 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (valve.T,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): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001874/0.2989, allocations: 113.6 kB / 214.8 MB, free: 16.58 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.003891/0.3028, allocations: 1.176 MB / 215.9 MB, free: 15.86 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.3029, allocations: 1.094 kB / 215.9 MB, free: 15.86 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002239/0.3051, allocations: 480.6 kB / 216.4 MB, free: 15.63 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/0.308, allocations: 321.9 kB / 216.7 MB, free: 15.55 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006709/0.3147, allocations: 1.784 MB / 218.5 MB, free: 14.39 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.3151, allocations: 0.8968 MB / 219.4 MB, free: 13.59 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.3154, allocations: 50.77 kB / 219.5 MB, free: 13.58 MB / 170.7 MB Notification: Performance of SimCode: time 1.563e-06/0.3154, allocations: 0 / 219.5 MB, free: 13.58 MB / 170.7 MB Notification: Performance of Templates: time 0.0257/0.3411, allocations: 15.78 MB / 235.2 MB, free: 15.31 MB / 186.7 MB