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.45/3.45, allocations: 402 MB / 415.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.659e-05, allocations: 0 / 0.5003 GB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1868, allocations: 92.69 MB / 0.5909 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.359/1.546, allocations: 420 MB / 1.001 GB, free: 151.2 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/1.546, allocations: 107.9 kB / 1.001 GB, free: 151.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.428/6.974, allocations: 1.209 GB / 2.21 GB, free: 76.31 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.372e-06/6.974, allocations: 0.75 kB / 2.21 GB, free: 76.31 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0004459/6.974, allocations: 77.72 kB / 2.21 GB, free: 76.3 MB / 0.8073 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.008209/6.983, allocations: 2.718 MB / 2.213 GB, free: 75.09 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/6.983, allocations: 13.59 kB / 2.213 GB, free: 75.09 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007298/6.99, allocations: 1.006 MB / 2.214 GB, free: 74.93 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/7.001, allocations: 3.277 MB / 2.217 GB, free: 74.37 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/7.001, allocations: 151.7 kB / 2.217 GB, free: 74.36 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007524/7.002, allocations: 204.1 kB / 2.217 GB, free: 74.36 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/7.012, allocations: 2.717 MB / 2.22 GB, free: 73.98 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.959e-05/7.012, allocations: 8.156 kB / 2.22 GB, free: 73.98 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004322/7.013, allocations: 78.19 kB / 2.22 GB, free: 73.98 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.014e-05/7.013, allocations: 58.19 kB / 2.22 GB, free: 73.98 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/7.023, allocations: 2.445 MB / 2.222 GB, free: 73.96 MB / 0.8073 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02266/7.046, allocations: 12.81 MB / 2.235 GB, free: 66.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/7.056, allocations: 2.193 MB / 2.237 GB, free: 66.81 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/7.057, allocations: 1.025 MB / 2.238 GB, free: 65.69 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/7.057, allocations: 48.34 kB / 2.238 GB, free: 65.65 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002438/7.06, allocations: 297.9 kB / 2.238 GB, free: 65.58 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=109): time 8.745e-06/7.06, allocations: 0 / 2.238 GB, free: 65.58 MB / 0.8073 GB Notification: Performance of matching and sorting (n=116): time 0.04386/7.104, allocations: 8.483 MB / 2.247 GB, free: 64.1 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/7.104, allocations: 218.9 kB / 2.247 GB, free: 63.84 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004226/7.108, allocations: 1.772 MB / 2.249 GB, free: 63.62 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004089/7.108, allocations: 52.67 kB / 2.249 GB, free: 63.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/7.11, allocations: 1.194 MB / 2.25 GB, free: 63.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005785/7.11, allocations: 409.1 kB / 2.25 GB, free: 62.92 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/7.11, allocations: 32.44 kB / 2.25 GB, free: 62.92 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001258/7.11, allocations: 368.8 kB / 2.251 GB, free: 62.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003477/7.114, allocations: 0.9139 MB / 2.251 GB, free: 62.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004315/7.118, allocations: 1.405 MB / 2.253 GB, free: 62.01 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004119/7.122, allocations: 1.02 MB / 2.254 GB, free: 61.96 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/7.123, allocations: 3.906 kB / 2.254 GB, free: 61.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01824/7.141, allocations: 3.603 MB / 2.257 GB, free: 61.7 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.000947/7.142, allocations: 4.561 MB / 2.262 GB, free: 56.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.764e-05/7.142, allocations: 11.53 kB / 2.262 GB, free: 56.83 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01431/7.156, allocations: 2.069 MB / 2.264 GB, free: 56.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/7.158, allocations: 312.6 kB / 2.264 GB, free: 56.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008949/7.167, allocations: 2.638 MB / 2.267 GB, free: 56.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004769/7.172, allocations: 392.6 kB / 2.267 GB, free: 56.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004812/7.173, allocations: 79.22 kB / 2.267 GB, free: 56.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/7.173, allocations: 3.844 kB / 2.267 GB, free: 56.1 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008484/7.181, allocations: 2.335 MB / 2.269 GB, free: 55.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/7.181, allocations: 15.92 kB / 2.269 GB, free: 55.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/7.193, allocations: 1.548 MB / 2.271 GB, free: 55.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/7.195, allocations: 349.7 kB / 2.271 GB, free: 55.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003872/7.199, allocations: 1.714 MB / 2.273 GB, free: 55.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003652/7.202, allocations: 307.1 kB / 2.273 GB, free: 55.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004018/7.203, allocations: 80.03 kB / 2.273 GB, free: 55.26 MB / 0.8073 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" fixed = true 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 (130): * Single equations (assignments): 129 * 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 59} Notification: Performance of prepare postOptimizeDAE: time 0.002037/7.205, allocations: 0.557 MB / 2.274 GB, free: 55.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007356/7.206, allocations: 231.7 kB / 2.274 GB, free: 55 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02133/7.227, allocations: 3.67 MB / 2.278 GB, free: 54.75 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.104e-05/7.227, allocations: 17.77 kB / 2.278 GB, free: 54.75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/7.227, allocations: 3.906 kB / 2.278 GB, free: 54.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01963/7.247, allocations: 3.517 MB / 2.281 GB, free: 54.17 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/7.273, allocations: 6.133 MB / 2.287 GB, free: 52.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/7.273, allocations: 0 / 2.287 GB, free: 52.69 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001934/7.275, allocations: 294.6 kB / 2.287 GB, free: 52.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002337/7.277, allocations: 0.5467 MB / 2.288 GB, free: 52.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002701/7.278, allocations: 40.84 kB / 2.288 GB, free: 52.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02776/7.305, allocations: 7.043 MB / 2.295 GB, free: 48.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.404e-06/7.305, allocations: 3.5 kB / 2.295 GB, free: 48.66 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0242/7.33, allocations: 4.814 MB / 2.3 GB, free: 47.06 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/7.331, allocations: 0.489 MB / 2.3 GB, free: 46.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008141/7.332, allocations: 27.19 kB / 2.3 GB, free: 46.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00385/7.336, allocations: 315.4 kB / 2.3 GB, free: 46.64 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004345/7.337, allocations: 100.9 kB / 2.3 GB, free: 46.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002272/7.337, allocations: 56.58 kB / 2.3 GB, free: 46.61 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003439/7.34, allocations: 1.365 MB / 2.302 GB, free: 46.06 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.326e-06/7.34, allocations: 0 / 2.302 GB, free: 46.06 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.006763/7.347, allocations: 1.227 MB / 2.303 GB, free: 45.88 MB / 0.8073 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 (102): * Single equations (assignments): 93 * 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 28,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002279/7.349, allocations: 1.126 MB / 2.304 GB, free: 45.41 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01277/7.362, allocations: 3.478 MB / 2.308 GB, free: 42.93 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/7.362, allocations: 4 kB / 2.308 GB, free: 42.93 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00447/7.367, allocations: 1.339 MB / 2.309 GB, free: 41.77 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006396/7.373, allocations: 1.05 MB / 2.31 GB, free: 41.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02365/7.397, allocations: 6.834 MB / 2.317 GB, free: 35.06 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/7.398, allocations: 1.667 MB / 2.318 GB, free: 33.73 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004531/7.403, allocations: 0.6033 MB / 2.319 GB, free: 33.33 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006062/7.404, allocations: 149.6 kB / 2.319 GB, free: 33.2 MB / 0.8073 GB Notification: Performance of SimCode: time 1.84e-06/7.404, allocations: 0 / 2.319 GB, free: 33.2 MB / 0.8073 GB Notification: Performance of Templates: time 0.6561/8.06, allocations: 68.51 MB / 2.386 GB, free: 95 MB / 0.823 GB