Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadModel(Buildings): time 3.562/3.562, allocations: 403.9 MB / 411 MB, free: 380 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.246e-05, allocations: 7.938 kB / 0.4942 GB, free: 1.383 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5042/0.5043, allocations: 92.69 MB / 0.5847 GB, free: 2.363 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9224/1.427, allocations: 419 MB / 0.9939 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.427, allocations: 94 kB / 0.9939 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.258/6.685, allocations: 1.196 GB / 2.19 GB, free: 51.2 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.128e-06/6.685, allocations: 0 / 2.19 GB, free: 51.2 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0004305/6.686, allocations: 75.22 kB / 2.19 GB, free: 51.13 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.007654/6.693, allocations: 2.7 MB / 2.193 GB, free: 48.4 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/6.693, allocations: 12.03 kB / 2.193 GB, free: 48.39 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006711/6.7, allocations: 1.003 MB / 2.194 GB, free: 47.38 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/6.71, allocations: 3.24 MB / 2.197 GB, free: 44.13 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/6.71, allocations: 63.75 kB / 2.197 GB, free: 44.07 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007001/6.711, allocations: 120 kB / 2.197 GB, free: 43.96 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004758/6.716, allocations: 1.527 MB / 2.199 GB, free: 42.43 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005464/6.721, allocations: 1.928 MB / 2.2 GB, free: 40.38 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.761e-05/6.721, allocations: 3.938 kB / 2.2 GB, free: 40.38 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/6.722, allocations: 4 kB / 2.2 GB, free: 40.38 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.437e-05/6.722, allocations: 55.98 kB / 2.2 GB, free: 40.32 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.742, allocations: 12.44 MB / 2.213 GB, free: 27.13 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007984/6.75, allocations: 1.96 MB / 2.215 GB, free: 25.12 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/6.752, allocations: 0.6577 MB / 2.215 GB, free: 24.46 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009358/6.753, allocations: 1.033 MB / 2.216 GB, free: 23.21 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/6.753, allocations: 47.88 kB / 2.216 GB, free: 23.16 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0022/6.755, allocations: 250.4 kB / 2.216 GB, free: 22.92 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=109): time 9.351e-06/6.755, allocations: 0 / 2.216 GB, free: 22.92 MB / 0.7917 GB Notification: Performance of matching and sorting (n=117): time 0.01896/6.774, allocations: 4.653 MB / 2.221 GB, free: 18.2 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/6.774, allocations: 226.9 kB / 2.221 GB, free: 17.93 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003081/6.777, allocations: 1.454 MB / 2.223 GB, free: 16.45 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003859/6.778, allocations: 29.7 kB / 2.223 GB, free: 16.41 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001137/6.779, allocations: 1.209 MB / 2.224 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005776/6.779, allocations: 390.1 kB / 2.224 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/6.78, allocations: 4 kB / 2.224 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001213/6.78, allocations: 361.9 kB / 2.225 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/6.781, allocations: 0.5468 MB / 2.225 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/6.783, allocations: 1.037 MB / 2.226 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/6.785, allocations: 0.7388 MB / 2.227 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/6.785, allocations: 4 kB / 2.227 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01872/6.804, allocations: 3.415 MB / 2.23 GB, free: 8.48 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009079/6.805, allocations: 4.516 MB / 2.235 GB, free: 3.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/6.805, allocations: 16 kB / 2.235 GB, free: 3.465 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004022/6.809, allocations: 0.9097 MB / 2.235 GB, free: 2.562 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/6.811, allocations: 351.5 kB / 2.236 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005133/6.816, allocations: 2.927 MB / 2.239 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/6.821, allocations: 358.5 kB / 2.239 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005059/6.821, allocations: 79.95 kB / 2.239 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/6.821, allocations: 4 kB / 2.239 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009266/6.83, allocations: 2.032 MB / 2.241 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.376e-05/6.83, allocations: 16.09 kB / 2.241 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003301/6.834, allocations: 0.6196 MB / 2.242 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/6.836, allocations: 375.4 kB / 2.242 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006458/6.843, allocations: 4.273 MB / 2.246 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003583/6.846, allocations: 267.5 kB / 2.246 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004434/6.847, allocations: 75.95 kB / 2.247 GB, free: 6.883 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.000562/6.847, allocations: 144.4 kB / 2.247 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007668/6.848, allocations: 225.2 kB / 2.247 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0086/6.857, allocations: 2.132 MB / 2.249 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-05/6.857, allocations: 23.98 kB / 2.249 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.996e-06/6.857, allocations: 0 / 2.249 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007105/6.864, allocations: 1.924 MB / 2.251 GB, free: 2.324 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5501/7.414, allocations: 4.727 MB / 2.256 GB, free: 87.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/7.414, allocations: 9.906 kB / 2.256 GB, free: 87.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/7.416, allocations: 272.8 kB / 2.256 GB, free: 87.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/7.417, allocations: 406.4 kB / 2.256 GB, free: 87.55 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002652/7.418, allocations: 21.67 kB / 2.256 GB, free: 87.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009195/7.427, allocations: 3.434 MB / 2.26 GB, free: 85.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/7.427, allocations: 9.438 kB / 2.26 GB, free: 85.72 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/7.441, allocations: 3.531 MB / 2.263 GB, free: 85.13 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/7.443, allocations: 484.2 kB / 2.263 GB, free: 85.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006112/7.444, allocations: 7.328 kB / 2.263 GB, free: 85.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003469/7.447, allocations: 310.8 kB / 2.264 GB, free: 85.04 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003572/7.448, allocations: 90.94 kB / 2.264 GB, free: 85.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002281/7.448, allocations: 53.25 kB / 2.264 GB, free: 85.04 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002405/7.45, allocations: 1.094 MB / 2.265 GB, free: 84.89 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.706e-06/7.45, allocations: 1.969 kB / 2.265 GB, free: 84.89 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.008026/7.458, allocations: 1.162 MB / 2.266 GB, free: 84.89 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 99 * 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 {1 18,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002397/7.461, allocations: 1.137 MB / 2.267 GB, free: 84.65 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.007503/7.468, allocations: 2.678 MB / 2.27 GB, free: 84.41 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/7.468, allocations: 1.75 kB / 2.27 GB, free: 84.41 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002888/7.471, allocations: 0.9263 MB / 2.271 GB, free: 84.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005509/7.477, allocations: 0.9525 MB / 2.272 GB, free: 84.28 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/7.498, allocations: 4.423 MB / 2.276 GB, free: 83.36 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/7.499, allocations: 1.658 MB / 2.278 GB, free: 82.62 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004755/7.504, allocations: 0.5935 MB / 2.278 GB, free: 82.6 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/7.505, allocations: 140.2 kB / 2.278 GB, free: 82.59 MB / 0.8073 GB Notification: Performance of SimCode: time 1.359e-06/7.505, allocations: 0 / 2.278 GB, free: 82.59 MB / 0.8073 GB Notification: Performance of Templates: time 0.1169/7.622, allocations: 54.84 MB / 2.332 GB, free: 80.39 MB / 0.8073 GB