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.571/3.571, allocations: 403.9 MB / 411 MB, free: 340 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.742e-05, allocations: 4 kB / 0.4941 GB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4978/0.4978, allocations: 92.69 MB / 0.5847 GB, free: 2.383 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9535/1.451, allocations: 419.3 MB / 0.9942 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/1.452, allocations: 97.25 kB / 0.9943 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.351/6.803, allocations: 1.196 GB / 2.19 GB, free: 50.86 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.054e-06/6.803, allocations: 4 kB / 2.19 GB, free: 50.86 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0004518/6.803, allocations: 72.97 kB / 2.191 GB, free: 50.8 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.007903/6.811, allocations: 2.707 MB / 2.193 GB, free: 48.05 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/6.811, allocations: 12.03 kB / 2.193 GB, free: 48.04 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006529/6.818, allocations: 1.006 MB / 2.194 GB, free: 47.04 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/6.828, allocations: 3.241 MB / 2.197 GB, free: 43.79 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/6.828, allocations: 60.52 kB / 2.197 GB, free: 43.73 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007014/6.829, allocations: 119.9 kB / 2.198 GB, free: 43.61 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004953/6.834, allocations: 1.531 MB / 2.199 GB, free: 42.08 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006016/6.84, allocations: 1.918 MB / 2.201 GB, free: 40.04 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.768e-05/6.84, allocations: 7.875 kB / 2.201 GB, free: 40.03 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003471/6.84, allocations: 4 kB / 2.201 GB, free: 40.03 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-05/6.84, allocations: 52 kB / 2.201 GB, free: 39.98 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.02038/6.861, allocations: 12.44 MB / 2.213 GB, free: 26.78 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004394/6.865, allocations: 1.39 MB / 2.214 GB, free: 25.36 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/6.867, allocations: 0.651 MB / 2.215 GB, free: 24.71 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000948/6.868, allocations: 1.025 MB / 2.216 GB, free: 23.47 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/6.868, allocations: 51.81 kB / 2.216 GB, free: 23.41 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002187/6.87, allocations: 254.5 kB / 2.216 GB, free: 23.16 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=109): time 9.009e-06/6.87, allocations: 0 / 2.216 GB, free: 23.16 MB / 0.7917 GB Notification: Performance of matching and sorting (n=117): time 0.01827/6.888, allocations: 4.65 MB / 2.221 GB, free: 18.44 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/6.888, allocations: 218.9 kB / 2.221 GB, free: 18.18 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002911/6.891, allocations: 1.458 MB / 2.223 GB, free: 16.7 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003814/6.892, allocations: 29.7 kB / 2.223 GB, free: 16.66 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/6.893, allocations: 1.196 MB / 2.224 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005534/6.893, allocations: 394.1 kB / 2.224 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/6.893, allocations: 0 / 2.224 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.00011/6.894, allocations: 365.9 kB / 2.224 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/6.895, allocations: 0.5507 MB / 2.225 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/6.896, allocations: 1.032 MB / 2.226 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0024/6.899, allocations: 0.7341 MB / 2.227 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/6.899, allocations: 4 kB / 2.227 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01876/6.918, allocations: 3.422 MB / 2.23 GB, free: 8.734 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008731/6.919, allocations: 4.526 MB / 2.235 GB, free: 3.727 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/6.919, allocations: 12 kB / 2.235 GB, free: 3.715 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003895/6.923, allocations: 0.9102 MB / 2.235 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/6.925, allocations: 355.5 kB / 2.236 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004955/6.929, allocations: 2.916 MB / 2.239 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004046/6.934, allocations: 358.5 kB / 2.239 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005278/6.934, allocations: 87.89 kB / 2.239 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/6.934, allocations: 4 kB / 2.239 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008856/6.943, allocations: 2.037 MB / 2.241 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.079e-05/6.943, allocations: 12 kB / 2.241 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003165/6.946, allocations: 0.6128 MB / 2.242 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/6.949, allocations: 375.5 kB / 2.242 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006207/6.955, allocations: 4.277 MB / 2.246 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003441/6.958, allocations: 271.5 kB / 2.246 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004731/6.959, allocations: 79.95 kB / 2.247 GB, free: 7.125 MB / 0.8073 GB 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 (148): * Single equations (assignments): 145 * 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 {2 22,1 18,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005622/6.959, allocations: 148.4 kB / 2.247 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007114/6.96, allocations: 213.3 kB / 2.247 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008274/6.968, allocations: 2.063 MB / 2.249 GB, free: 4.691 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.687e-05/6.968, allocations: 27.98 kB / 2.249 GB, free: 4.664 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.556e-06/6.968, allocations: 0 / 2.249 GB, free: 4.664 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00695/6.975, allocations: 1.949 MB / 2.251 GB, free: 2.625 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5535/7.529, allocations: 4.92 MB / 2.256 GB, free: 87.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/7.529, allocations: 2.562 kB / 2.256 GB, free: 87.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/7.531, allocations: 279.6 kB / 2.256 GB, free: 87.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/7.532, allocations: 408 kB / 2.256 GB, free: 87.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002592/7.533, allocations: 18.83 kB / 2.256 GB, free: 87.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008738/7.541, allocations: 3.412 MB / 2.26 GB, free: 86.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.457e-06/7.541, allocations: 1.969 kB / 2.26 GB, free: 86.02 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/7.556, allocations: 3.46 MB / 2.263 GB, free: 85.61 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/7.558, allocations: 482.3 kB / 2.263 GB, free: 85.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006599/7.558, allocations: 5.859 kB / 2.263 GB, free: 85.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003477/7.562, allocations: 302 kB / 2.264 GB, free: 85.51 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003531/7.562, allocations: 93.83 kB / 2.264 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002845/7.562, allocations: 54.38 kB / 2.264 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002429/7.565, allocations: 1.078 MB / 2.265 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.37e-07/7.565, allocations: 3.469 kB / 2.265 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.008187/7.573, allocations: 1.16 MB / 2.266 GB, free: 85.36 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (hex.valCoo.vol.dynBal.medium.T,hex.valHea.vol.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 18,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002555/7.576, allocations: 1.133 MB / 2.267 GB, free: 85.12 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.007826/7.584, allocations: 2.7 MB / 2.27 GB, free: 84.88 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/7.584, allocations: 0 / 2.27 GB, free: 84.88 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003268/7.587, allocations: 0.9442 MB / 2.271 GB, free: 84.77 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00579/7.593, allocations: 0.9492 MB / 2.272 GB, free: 84.75 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02095/7.614, allocations: 4.622 MB / 2.276 GB, free: 83.86 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/7.615, allocations: 1.662 MB / 2.278 GB, free: 83.13 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.005258/7.621, allocations: 0.5878 MB / 2.278 GB, free: 83.11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006815/7.621, allocations: 140.2 kB / 2.279 GB, free: 83.1 MB / 0.8073 GB Notification: Performance of SimCode: time 1.531e-06/7.621, allocations: 1.969 kB / 2.279 GB, free: 83.1 MB / 0.8073 GB Notification: Performance of Templates: time 0.1177/7.739, allocations: 54.91 MB / 2.332 GB, free: 80.89 MB / 0.8073 GB