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.549/3.549, allocations: 403.3 MB / 415.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.788e-05/3.799e-05, allocations: 8 kB / 0.499 GB, free: 13.39 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5808/0.5809, allocations: 92.68 MB / 0.5895 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9324/1.513, allocations: 420 MB / 0.9997 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/1.514, allocations: 90.77 kB / 0.9998 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.431/6.945, allocations: 1.202 GB / 2.201 GB, free: 26.23 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.851e-06/6.945, allocations: 4 kB / 2.201 GB, free: 26.23 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003873/6.945, allocations: 71.92 kB / 2.202 GB, free: 26.16 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.007227/6.953, allocations: 2.708 MB / 2.204 GB, free: 23.39 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/6.953, allocations: 12.03 kB / 2.204 GB, free: 23.38 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006371/6.959, allocations: 0.9993 MB / 2.205 GB, free: 22.38 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009441/6.968, allocations: 3.257 MB / 2.208 GB, free: 19.06 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/6.969, allocations: 147.8 kB / 2.208 GB, free: 18.91 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005502/6.969, allocations: 204.5 kB / 2.209 GB, free: 18.71 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006688/6.976, allocations: 2.357 MB / 2.211 GB, free: 16.23 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.358e-05/6.976, allocations: 3.938 kB / 2.211 GB, free: 16.23 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002961/6.976, allocations: 80 kB / 2.211 GB, free: 16.15 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.568e-05/6.976, allocations: 59.56 kB / 2.211 GB, free: 16.1 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005911/6.982, allocations: 1.806 MB / 2.213 GB, free: 14.29 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.02032/7.003, allocations: 12.82 MB / 2.225 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006185/7.009, allocations: 1.575 MB / 2.227 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/7.011, allocations: 0.6383 MB / 2.228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001382/7.012, allocations: 1.033 MB / 2.229 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.331e-05/7.012, allocations: 55.48 kB / 2.229 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002482/7.015, allocations: 298.5 kB / 2.229 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=109): time 7.97e-06/7.015, allocations: 0 / 2.229 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=116): time 0.02765/7.042, allocations: 5.533 MB / 2.234 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/7.043, allocations: 222.6 kB / 2.235 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004189/7.047, allocations: 1.699 MB / 2.236 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004083/7.047, allocations: 53.7 kB / 2.236 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001517/7.049, allocations: 1.207 MB / 2.237 GB, free: 3.871 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006933/7.05, allocations: 410.1 kB / 2.238 GB, free: 3.465 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/7.05, allocations: 28 kB / 2.238 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002388/7.05, allocations: 365.9 kB / 2.238 GB, free: 3.074 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/7.052, allocations: 0.5702 MB / 2.239 GB, free: 2.504 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/7.054, allocations: 1.068 MB / 2.24 GB, free: 1.234 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/7.056, allocations: 0.6893 MB / 2.24 GB, free: 0.5508 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/7.056, allocations: 4 kB / 2.24 GB, free: 0.5469 MB / 0.8073 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01756/7.074, allocations: 3.365 MB / 2.244 GB, free: 13.16 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002372/7.076, allocations: 4.565 MB / 2.248 GB, free: 8.16 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/7.076, allocations: 8 kB / 2.248 GB, free: 8.152 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/7.087, allocations: 1.725 MB / 2.25 GB, free: 6.426 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/7.089, allocations: 315.5 kB / 2.25 GB, free: 6.117 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005606/7.094, allocations: 2.113 MB / 2.252 GB, free: 3.977 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004268/7.099, allocations: 387.4 kB / 2.253 GB, free: 3.598 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004718/7.099, allocations: 83.83 kB / 2.253 GB, free: 3.52 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/7.099, allocations: 4 kB / 2.253 GB, free: 3.516 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01165/7.111, allocations: 2.521 MB / 2.255 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.673e-05/7.111, allocations: 12 kB / 2.255 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5426/7.653, allocations: 1.379 MB / 2.257 GB, free: 95.05 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/7.656, allocations: 338.1 kB / 2.257 GB, free: 95.05 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/7.659, allocations: 1.464 MB / 2.258 GB, free: 94.53 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003761/7.663, allocations: 308.9 kB / 2.259 GB, free: 94.53 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003115/7.663, allocations: 80.31 kB / 2.259 GB, free: 94.53 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.0005792/7.664, allocations: 203 kB / 2.259 GB, free: 94.42 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006075/7.664, allocations: 235.1 kB / 2.259 GB, free: 94.42 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01669/7.681, allocations: 3.022 MB / 2.262 GB, free: 94.34 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.067e-05/7.681, allocations: 21.86 kB / 2.262 GB, free: 94.34 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/7.681, allocations: 2.406 kB / 2.262 GB, free: 94.34 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01687/7.698, allocations: 2.871 MB / 2.265 GB, free: 93.85 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02217/7.72, allocations: 5.486 MB / 2.27 GB, free: 93.28 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/7.72, allocations: 5.5 kB / 2.27 GB, free: 93.28 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/7.722, allocations: 287.6 kB / 2.27 GB, free: 93.28 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001619/7.724, allocations: 411.1 kB / 2.271 GB, free: 93.26 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002429/7.724, allocations: 37.23 kB / 2.271 GB, free: 93.26 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02334/7.748, allocations: 6.253 MB / 2.277 GB, free: 91.39 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.061e-06/7.748, allocations: 0.6562 kB / 2.277 GB, free: 91.39 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01749/7.765, allocations: 3.874 MB / 2.281 GB, free: 91.02 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/7.767, allocations: 0.4924 MB / 2.281 GB, free: 90.84 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005901/7.767, allocations: 28.58 kB / 2.281 GB, free: 90.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00311/7.77, allocations: 322.7 kB / 2.282 GB, free: 90.83 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003287/7.771, allocations: 96.59 kB / 2.282 GB, free: 90.83 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001982/7.771, allocations: 51.08 kB / 2.282 GB, free: 90.83 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002684/7.774, allocations: 1.298 MB / 2.283 GB, free: 90.67 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.6e-07/7.774, allocations: 0 / 2.283 GB, free: 90.67 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006228/7.78, allocations: 1.223 MB / 2.284 GB, free: 90.67 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.002236/7.782, allocations: 1.133 MB / 2.285 GB, free: 90.42 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.007797/7.79, allocations: 2.628 MB / 2.288 GB, free: 90.36 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/7.79, allocations: 5.844 kB / 2.288 GB, free: 90.36 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002884/7.793, allocations: 1.042 MB / 2.289 GB, free: 90.21 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006386/7.799, allocations: 1.055 MB / 2.29 GB, free: 90.19 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02235/7.822, allocations: 4.75 MB / 2.295 GB, free: 89.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/7.823, allocations: 1.669 MB / 2.296 GB, free: 88.57 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005099/7.829, allocations: 0.6072 MB / 2.297 GB, free: 88.54 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000661/7.829, allocations: 140.9 kB / 2.297 GB, free: 88.54 MB / 0.823 GB Notification: Performance of SimCode: time 1.675e-06/7.829, allocations: 0 / 2.297 GB, free: 88.54 MB / 0.823 GB Notification: Performance of Templates: time 0.1405/7.97, allocations: 68.65 MB / 2.364 GB, free: 85.79 MB / 0.823 GB