Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadModel(Buildings): time 3.561/3.561, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.424e-05, allocations: 11.92 kB / 0.4991 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4884/0.4885, allocations: 92.68 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9382/1.427, allocations: 420 MB / 0.9997 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/1.427, allocations: 90.52 kB / 0.9998 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.362/6.789, allocations: 1.202 GB / 2.201 GB, free: 26.11 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.688e-06/6.789, allocations: 0 / 2.201 GB, free: 26.11 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0004031/6.79, allocations: 71.97 kB / 2.202 GB, free: 26.04 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.007294/6.797, allocations: 2.716 MB / 2.204 GB, free: 23.27 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/6.797, allocations: 8.031 kB / 2.204 GB, free: 23.26 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006499/6.804, allocations: 0.9993 MB / 2.205 GB, free: 22.26 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009605/6.813, allocations: 3.251 MB / 2.208 GB, free: 18.95 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/6.813, allocations: 151.8 kB / 2.209 GB, free: 18.8 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006515/6.814, allocations: 204.5 kB / 2.209 GB, free: 18.6 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006922/6.821, allocations: 2.33 MB / 2.211 GB, free: 16.15 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.684e-05/6.821, allocations: 7.938 kB / 2.211 GB, free: 16.14 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002928/6.821, allocations: 83.98 kB / 2.211 GB, free: 16.06 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.448e-05/6.821, allocations: 56 kB / 2.211 GB, free: 16 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005963/6.827, allocations: 1.776 MB / 2.213 GB, free: 14.23 MB / 0.7917 GB Warning: The model contains alias variables with conflicting start and/or 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.02011/6.848, allocations: 12.81 MB / 2.225 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006262/6.854, allocations: 1.572 MB / 2.227 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/6.856, allocations: 0.6374 MB / 2.228 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/6.857, allocations: 1.033 MB / 2.229 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/6.857, allocations: 47.56 kB / 2.229 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002354/6.86, allocations: 298.5 kB / 2.229 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=109): time 6.133e-06/6.86, allocations: 0 / 2.229 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=116): time 0.02718/6.887, allocations: 5.529 MB / 2.234 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/6.887, allocations: 226.6 kB / 2.234 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003859/6.891, allocations: 1.695 MB / 2.236 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003667/6.891, allocations: 53.7 kB / 2.236 GB, free: 5.051 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/6.893, allocations: 1.21 MB / 2.237 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006519/6.893, allocations: 406.1 kB / 2.238 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/6.893, allocations: 28 kB / 2.238 GB, free: 3.395 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002184/6.894, allocations: 361.9 kB / 2.238 GB, free: 3.035 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/6.895, allocations: 0.578 MB / 2.239 GB, free: 2.457 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/6.897, allocations: 1.056 MB / 2.24 GB, free: 1.203 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/6.899, allocations: 0.6855 MB / 2.24 GB, free: 0.5195 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.952e-06/6.899, allocations: 0 / 2.24 GB, free: 0.5195 MB / 0.8073 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.0124/6.912, allocations: 2.812 MB / 2.243 GB, free: 13.69 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002352/6.914, allocations: 4.569 MB / 2.248 GB, free: 8.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/6.914, allocations: 8 kB / 2.248 GB, free: 8.672 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/6.925, allocations: 1.721 MB / 2.249 GB, free: 6.949 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/6.927, allocations: 311.5 kB / 2.25 GB, free: 6.645 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005542/6.932, allocations: 2.109 MB / 2.252 GB, free: 4.508 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004117/6.936, allocations: 395.4 kB / 2.252 GB, free: 4.121 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003661/6.937, allocations: 79.95 kB / 2.252 GB, free: 4.043 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/6.937, allocations: 4 kB / 2.252 GB, free: 4.039 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004763/6.942, allocations: 1.75 MB / 2.254 GB, free: 2.285 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/6.942, allocations: 12 kB / 2.254 GB, free: 2.273 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008809/6.95, allocations: 1.375 MB / 2.255 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/6.953, allocations: 343.5 kB / 2.255 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5295/7.482, allocations: 1.462 MB / 2.257 GB, free: 94.64 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003824/7.486, allocations: 307.1 kB / 2.257 GB, free: 94.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004827/7.487, allocations: 77.58 kB / 2.257 GB, free: 94.64 MB / 0.823 GB Warning: Assuming fixed start value for the following 1 variables: hex.valHea.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 1.004433569776996 * hex.valHea.vol.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * 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: 0 * Non-linear torn systems: 1 {5 60} Notification: Performance of prepare postOptimizeDAE: time 0.0006331/7.487, allocations: 207.4 kB / 2.257 GB, free: 94.53 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008173/7.488, allocations: 235.4 kB / 2.258 GB, free: 94.53 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01701/7.505, allocations: 3.023 MB / 2.261 GB, free: 94.46 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.075e-05/7.505, allocations: 15.45 kB / 2.261 GB, free: 94.46 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/7.505, allocations: 1.828 kB / 2.261 GB, free: 94.46 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01553/7.521, allocations: 2.877 MB / 2.263 GB, free: 93.96 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02392/7.545, allocations: 5.487 MB / 2.269 GB, free: 93.39 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/7.545, allocations: 1.719 kB / 2.269 GB, free: 93.39 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002083/7.547, allocations: 288.3 kB / 2.269 GB, free: 93.39 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/7.549, allocations: 397.7 kB / 2.269 GB, free: 93.38 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002635/7.549, allocations: 37.55 kB / 2.27 GB, free: 93.38 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0228/7.572, allocations: 6.27 MB / 2.276 GB, free: 91.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.412e-06/7.572, allocations: 3.906 kB / 2.276 GB, free: 91.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0193/7.591, allocations: 3.875 MB / 2.279 GB, free: 91.13 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/7.593, allocations: 0.4904 MB / 2.28 GB, free: 90.95 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007084/7.593, allocations: 23.56 kB / 2.28 GB, free: 90.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003319/7.597, allocations: 315.7 kB / 2.28 GB, free: 90.94 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004103/7.597, allocations: 103.3 kB / 2.28 GB, free: 90.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/7.598, allocations: 49.62 kB / 2.28 GB, free: 90.93 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003099/7.601, allocations: 1.298 MB / 2.282 GB, free: 90.77 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.076e-06/7.601, allocations: 0 / 2.282 GB, free: 90.77 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006507/7.607, allocations: 1.224 MB / 2.283 GB, free: 90.77 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (hex.valCoo.vol.dynBal.medium.T,hex.valHea.vol.dynBal.medium.T,hex.valHea.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 {2 29,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002343/7.61, allocations: 1.166 MB / 2.284 GB, free: 90.51 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00784/7.617, allocations: 2.58 MB / 2.287 GB, free: 90.46 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.373e-06/7.617, allocations: 2.594 kB / 2.287 GB, free: 90.46 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003001/7.62, allocations: 1.019 MB / 2.288 GB, free: 90.32 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006354/7.627, allocations: 1.047 MB / 2.289 GB, free: 90.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/7.649, allocations: 4.749 MB / 2.293 GB, free: 89.42 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/7.651, allocations: 1.672 MB / 2.295 GB, free: 88.68 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005016/7.656, allocations: 0.6068 MB / 2.295 GB, free: 88.65 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006516/7.657, allocations: 141.5 kB / 2.296 GB, free: 88.65 MB / 0.823 GB Notification: Performance of SimCode: time 1.695e-06/7.657, allocations: 0 / 2.296 GB, free: 88.65 MB / 0.823 GB Notification: Performance of Templates: time 0.1414/7.798, allocations: 68.47 MB / 2.362 GB, free: 85.7 MB / 0.823 GB