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.564/3.564, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.265e-05, allocations: 7.938 kB / 0.499 GB, free: 13.44 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5649/0.565, allocations: 92.69 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9691/1.534, allocations: 419.7 MB / 0.9994 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/1.534, allocations: 95.58 kB / 0.9995 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.193/6.727, allocations: 1.201 GB / 2.201 GB, free: 26.57 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.19e-06/6.727, allocations: 4 kB / 2.201 GB, free: 26.57 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.000401/6.728, allocations: 75.86 kB / 2.201 GB, free: 26.5 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.007435/6.735, allocations: 2.705 MB / 2.204 GB, free: 23.73 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/6.735, allocations: 12.03 kB / 2.204 GB, free: 23.72 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006407/6.742, allocations: 1.003 MB / 2.205 GB, free: 22.71 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009809/6.751, allocations: 3.247 MB / 2.208 GB, free: 19.41 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/6.752, allocations: 151.8 kB / 2.208 GB, free: 19.26 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006936/6.752, allocations: 200.5 kB / 2.208 GB, free: 19.06 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007003/6.759, allocations: 2.342 MB / 2.21 GB, free: 16.6 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-05/6.759, allocations: 7.938 kB / 2.21 GB, free: 16.59 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003101/6.76, allocations: 80 kB / 2.211 GB, free: 16.51 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.857e-05/6.76, allocations: 51.98 kB / 2.211 GB, free: 16.46 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006004/6.766, allocations: 1.772 MB / 2.212 GB, free: 14.69 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.02034/6.786, allocations: 12.82 MB / 2.225 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009927/6.796, allocations: 2.131 MB / 2.227 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/6.798, allocations: 0.6422 MB / 2.228 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/6.799, allocations: 1.037 MB / 2.229 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.971e-05/6.8, allocations: 47.56 kB / 2.229 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002358/6.802, allocations: 298.5 kB / 2.229 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=109): time 7.263e-06/6.802, allocations: 0 / 2.229 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=116): time 0.02706/6.829, allocations: 5.533 MB / 2.234 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/6.829, allocations: 226.6 kB / 2.235 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004093/6.833, allocations: 1.707 MB / 2.236 GB, free: 4.949 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003878/6.834, allocations: 49.7 kB / 2.236 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001472/6.835, allocations: 1.195 MB / 2.237 GB, free: 3.684 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006989/6.836, allocations: 418.1 kB / 2.238 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/6.836, allocations: 28 kB / 2.238 GB, free: 3.242 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002291/6.836, allocations: 365.9 kB / 2.238 GB, free: 2.879 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/6.838, allocations: 0.5702 MB / 2.239 GB, free: 2.309 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/6.84, allocations: 1.052 MB / 2.24 GB, free: 1.055 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/6.842, allocations: 0.7009 MB / 2.24 GB, free: 364 kB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.452e-06/6.842, allocations: 0 / 2.24 GB, free: 364 kB / 0.8073 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01273/6.855, allocations: 2.812 MB / 2.243 GB, free: 13.53 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00236/6.857, allocations: 4.558 MB / 2.248 GB, free: 8.535 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/6.858, allocations: 12 kB / 2.248 GB, free: 8.523 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01045/6.868, allocations: 1.725 MB / 2.249 GB, free: 6.797 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/6.87, allocations: 311.5 kB / 2.25 GB, free: 6.492 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005606/6.876, allocations: 2.117 MB / 2.252 GB, free: 4.348 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004319/6.88, allocations: 387.4 kB / 2.252 GB, free: 3.969 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004801/6.88, allocations: 83.94 kB / 2.252 GB, free: 3.887 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/6.88, allocations: 4 kB / 2.252 GB, free: 3.883 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004967/6.885, allocations: 1.746 MB / 2.254 GB, free: 2.133 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/6.886, allocations: 12 kB / 2.254 GB, free: 2.121 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008835/6.894, allocations: 1.386 MB / 2.255 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/6.897, allocations: 347.5 kB / 2.256 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5706/7.467, allocations: 1.451 MB / 2.257 GB, free: 94.51 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003705/7.471, allocations: 305.7 kB / 2.257 GB, free: 94.51 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004253/7.471, allocations: 75.78 kB / 2.257 GB, free: 94.51 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.0006151/7.472, allocations: 207.3 kB / 2.258 GB, free: 94.41 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007889/7.473, allocations: 231.3 kB / 2.258 GB, free: 94.41 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01819/7.491, allocations: 3.071 MB / 2.261 GB, free: 94.32 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.945e-05/7.491, allocations: 20.66 kB / 2.261 GB, free: 94.31 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/7.491, allocations: 1.609 kB / 2.261 GB, free: 94.31 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01774/7.509, allocations: 2.844 MB / 2.264 GB, free: 93.82 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02163/7.531, allocations: 5.549 MB / 2.269 GB, free: 93.22 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/7.531, allocations: 1.312 kB / 2.269 GB, free: 93.22 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/7.533, allocations: 289.2 kB / 2.269 GB, free: 93.22 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/7.534, allocations: 398.3 kB / 2.27 GB, free: 93.21 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000231/7.534, allocations: 43.39 kB / 2.27 GB, free: 93.21 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01986/7.554, allocations: 6.225 MB / 2.276 GB, free: 91.34 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.685e-06/7.554, allocations: 8.734 kB / 2.276 GB, free: 91.34 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01625/7.57, allocations: 3.953 MB / 2.28 GB, free: 90.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001635/7.572, allocations: 0.4905 MB / 2.28 GB, free: 90.61 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006105/7.573, allocations: 29.44 kB / 2.28 GB, free: 90.61 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003189/7.576, allocations: 317.2 kB / 2.28 GB, free: 90.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003629/7.576, allocations: 104 kB / 2.281 GB, free: 90.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002123/7.577, allocations: 47.22 kB / 2.281 GB, free: 90.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00271/7.579, allocations: 1.317 MB / 2.282 GB, free: 90.44 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.063e-06/7.579, allocations: 1.938 kB / 2.282 GB, free: 90.44 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006063/7.585, allocations: 1.224 MB / 2.283 GB, free: 90.44 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (98): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002247/7.588, allocations: 1.161 MB / 2.284 GB, free: 90.17 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.007193/7.595, allocations: 2.552 MB / 2.287 GB, free: 90.12 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/7.595, allocations: 6.922 kB / 2.287 GB, free: 90.11 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002616/7.598, allocations: 1.012 MB / 2.288 GB, free: 89.97 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005849/7.603, allocations: 1.058 MB / 2.289 GB, free: 89.95 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/7.622, allocations: 4.543 MB / 2.293 GB, free: 89.04 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/7.623, allocations: 1.665 MB / 2.295 GB, free: 88.29 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004668/7.628, allocations: 0.5989 MB / 2.295 GB, free: 88.27 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005717/7.628, allocations: 144.4 kB / 2.295 GB, free: 88.27 MB / 0.823 GB Notification: Performance of SimCode: time 1.631e-06/7.628, allocations: 0 / 2.295 GB, free: 88.27 MB / 0.823 GB Notification: Performance of Templates: time 0.1327/7.761, allocations: 68.4 MB / 2.362 GB, free: 85.31 MB / 0.823 GB