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.521/3.521, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.152e-05/5.18e-05, allocations: 7.938 kB / 0.499 GB, free: 13.47 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4914/0.4915, allocations: 92.69 MB / 0.5895 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.92/1.412, allocations: 419.7 MB / 0.9994 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004167/1.412, allocations: 95.05 kB / 0.9994 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.364/6.776, allocations: 1.201 GB / 2.201 GB, free: 26.81 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.165e-06/6.776, allocations: 0 / 2.201 GB, free: 26.81 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.000391/6.777, allocations: 79.86 kB / 2.201 GB, free: 26.73 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.006935/6.784, allocations: 2.701 MB / 2.204 GB, free: 23.98 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/6.784, allocations: 12.03 kB / 2.204 GB, free: 23.96 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00624/6.79, allocations: 1.003 MB / 2.205 GB, free: 22.96 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009106/6.799, allocations: 3.251 MB / 2.208 GB, free: 19.64 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/6.799, allocations: 151.8 kB / 2.208 GB, free: 19.5 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005667/6.8, allocations: 200.5 kB / 2.208 GB, free: 19.3 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006356/6.806, allocations: 2.361 MB / 2.21 GB, free: 16.82 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.249e-05/6.806, allocations: 7.938 kB / 2.21 GB, free: 16.81 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002832/6.807, allocations: 76 kB / 2.211 GB, free: 16.73 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.288e-05/6.807, allocations: 56 kB / 2.211 GB, free: 16.68 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005587/6.812, allocations: 1.802 MB / 2.212 GB, free: 14.88 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.01897/6.831, allocations: 12.82 MB / 2.225 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009736/6.841, allocations: 2.15 MB / 2.227 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/6.843, allocations: 0.6535 MB / 2.228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/6.844, allocations: 1.026 MB / 2.229 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/6.844, allocations: 47.55 kB / 2.229 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002278/6.847, allocations: 306.5 kB / 2.229 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=109): time 5.312e-06/6.847, allocations: 0 / 2.229 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=116): time 0.02587/6.873, allocations: 5.529 MB / 2.234 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/6.873, allocations: 218.6 kB / 2.235 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0039/6.877, allocations: 1.707 MB / 2.236 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003798/6.877, allocations: 53.7 kB / 2.236 GB, free: 5.066 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001397/6.878, allocations: 1.203 MB / 2.237 GB, free: 3.848 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006262/6.879, allocations: 410 kB / 2.238 GB, free: 3.441 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/6.879, allocations: 28 kB / 2.238 GB, free: 3.414 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002205/6.879, allocations: 357.9 kB / 2.238 GB, free: 3.059 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/6.881, allocations: 0.578 MB / 2.239 GB, free: 2.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/6.883, allocations: 1.067 MB / 2.24 GB, free: 1.211 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/6.885, allocations: 0.6893 MB / 2.24 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/6.885, allocations: 4 kB / 2.24 GB, free: 0.5195 MB / 0.8073 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01731/6.902, allocations: 3.362 MB / 2.244 GB, free: 13.14 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002411/6.905, allocations: 4.568 MB / 2.248 GB, free: 8.133 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.371e-05/6.905, allocations: 12 kB / 2.248 GB, free: 8.121 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/6.916, allocations: 1.729 MB / 2.25 GB, free: 6.391 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/6.918, allocations: 307.5 kB / 2.25 GB, free: 6.09 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005565/6.923, allocations: 2.113 MB / 2.252 GB, free: 3.949 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004212/6.928, allocations: 387.4 kB / 2.253 GB, free: 3.57 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003704/6.928, allocations: 79.95 kB / 2.253 GB, free: 3.492 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/6.928, allocations: 7.953 kB / 2.253 GB, free: 3.484 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01168/6.94, allocations: 2.521 MB / 2.255 GB, free: 0.957 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/6.94, allocations: 12 kB / 2.255 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5688/7.509, allocations: 1.378 MB / 2.257 GB, free: 95.33 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/7.511, allocations: 339.9 kB / 2.257 GB, free: 95.33 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/7.514, allocations: 1.468 MB / 2.258 GB, free: 94.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003837/7.518, allocations: 306.1 kB / 2.259 GB, free: 94.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004215/7.518, allocations: 76.31 kB / 2.259 GB, free: 94.8 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.0006097/7.519, allocations: 208.4 kB / 2.259 GB, free: 94.69 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007283/7.52, allocations: 230.7 kB / 2.259 GB, free: 94.69 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01694/7.536, allocations: 3.082 MB / 2.262 GB, free: 94.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.863e-05/7.537, allocations: 20.02 kB / 2.262 GB, free: 94.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/7.537, allocations: 1.406 kB / 2.262 GB, free: 94.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01705/7.554, allocations: 2.835 MB / 2.265 GB, free: 94.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0244/7.578, allocations: 5.559 MB / 2.27 GB, free: 93.51 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/7.578, allocations: 11.52 kB / 2.27 GB, free: 93.51 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/7.58, allocations: 282.7 kB / 2.271 GB, free: 93.51 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001642/7.582, allocations: 403.4 kB / 2.271 GB, free: 93.49 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000269/7.582, allocations: 43.42 kB / 2.271 GB, free: 93.49 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02343/7.606, allocations: 6.216 MB / 2.277 GB, free: 91.62 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.269e-06/7.606, allocations: 5.875 kB / 2.277 GB, free: 91.62 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01873/7.625, allocations: 3.945 MB / 2.281 GB, free: 91.08 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/7.626, allocations: 0.4961 MB / 2.281 GB, free: 90.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007546/7.627, allocations: 30.55 kB / 2.281 GB, free: 90.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003718/7.631, allocations: 314.9 kB / 2.282 GB, free: 90.89 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004276/7.631, allocations: 95.41 kB / 2.282 GB, free: 90.89 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000244/7.632, allocations: 57.72 kB / 2.282 GB, free: 90.89 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003128/7.635, allocations: 1.313 MB / 2.283 GB, free: 90.73 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.36e-06/7.635, allocations: 0 / 2.283 GB, free: 90.73 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006899/7.642, allocations: 1.224 MB / 2.284 GB, free: 90.73 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.002433/7.644, allocations: 1.139 MB / 2.286 GB, free: 90.48 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.008402/7.653, allocations: 2.602 MB / 2.288 GB, free: 90.42 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/7.653, allocations: 6.797 kB / 2.288 GB, free: 90.42 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003119/7.656, allocations: 1.034 MB / 2.289 GB, free: 90.27 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006751/7.663, allocations: 1.058 MB / 2.29 GB, free: 90.24 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/7.685, allocations: 4.544 MB / 2.295 GB, free: 89.32 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/7.686, allocations: 1.671 MB / 2.296 GB, free: 88.59 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005368/7.692, allocations: 0.5998 MB / 2.297 GB, free: 88.56 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000703/7.692, allocations: 141.7 kB / 2.297 GB, free: 88.56 MB / 0.823 GB Notification: Performance of SimCode: time 1.97e-06/7.692, allocations: 2.188 kB / 2.297 GB, free: 88.56 MB / 0.823 GB Notification: Performance of Templates: time 0.1431/7.836, allocations: 68.58 MB / 2.364 GB, free: 85.82 MB / 0.823 GB