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.506/3.506, allocations: 402.1 MB / 416 MB, free: 10.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.206e-05, allocations: 8 kB / 0.5003 GB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1644, allocations: 92.68 MB / 0.5909 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.391/1.555, allocations: 419.7 MB / 1.001 GB, free: 151.5 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/1.556, allocations: 102.9 kB / 1.001 GB, free: 151.4 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.333/6.889, allocations: 1.209 GB / 2.209 GB, free: 76.16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.13e-06/6.889, allocations: 1.5 kB / 2.209 GB, free: 76.16 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0004177/6.89, allocations: 72.8 kB / 2.209 GB, free: 76.15 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.007213/6.897, allocations: 2.719 MB / 2.212 GB, free: 74.95 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/6.897, allocations: 10.62 kB / 2.212 GB, free: 74.95 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006471/6.904, allocations: 1.001 MB / 2.213 GB, free: 74.79 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009823/6.913, allocations: 3.273 MB / 2.216 GB, free: 74.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/6.914, allocations: 157.7 kB / 2.216 GB, free: 74.22 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006295/6.914, allocations: 201 kB / 2.217 GB, free: 74.22 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008766/6.923, allocations: 2.715 MB / 2.219 GB, free: 73.84 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-05/6.923, allocations: 10 kB / 2.219 GB, free: 73.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003082/6.923, allocations: 78.55 kB / 2.219 GB, free: 73.84 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.918e-05/6.924, allocations: 57.64 kB / 2.219 GB, free: 73.84 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00954/6.933, allocations: 2.445 MB / 2.222 GB, free: 73.82 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.02141/6.955, allocations: 12.8 MB / 2.234 GB, free: 66.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/6.968, allocations: 2.8 MB / 2.237 GB, free: 66.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009836/6.969, allocations: 1.028 MB / 2.238 GB, free: 65.46 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/6.969, allocations: 53.58 kB / 2.238 GB, free: 65.43 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002267/6.971, allocations: 292.9 kB / 2.238 GB, free: 65.36 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=109): time 5.619e-06/6.971, allocations: 0 / 2.238 GB, free: 65.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=116): time 0.04397/7.015, allocations: 8.482 MB / 2.247 GB, free: 63.86 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/7.015, allocations: 225 kB / 2.247 GB, free: 63.6 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003893/7.019, allocations: 1.773 MB / 2.249 GB, free: 63.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.000398/7.019, allocations: 54.11 kB / 2.249 GB, free: 63.35 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/7.021, allocations: 1.203 MB / 2.25 GB, free: 62.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004958/7.021, allocations: 406.5 kB / 2.25 GB, free: 62.67 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/7.021, allocations: 31 kB / 2.25 GB, free: 62.67 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001109/7.021, allocations: 363.4 kB / 2.251 GB, free: 62.37 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00367/7.025, allocations: 0.9116 MB / 2.252 GB, free: 62.34 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004105/7.029, allocations: 1.4 MB / 2.253 GB, free: 61.77 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003966/7.033, allocations: 1.024 MB / 2.254 GB, free: 61.71 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/7.033, allocations: 3.156 kB / 2.254 GB, free: 61.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01657/7.05, allocations: 3.601 MB / 2.257 GB, free: 61.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009163/7.051, allocations: 4.565 MB / 2.262 GB, free: 56.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/7.051, allocations: 11.75 kB / 2.262 GB, free: 56.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01183/7.063, allocations: 2.072 MB / 2.264 GB, free: 56.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/7.065, allocations: 321 kB / 2.264 GB, free: 56.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007849/7.073, allocations: 2.63 MB / 2.267 GB, free: 55.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004156/7.077, allocations: 398.6 kB / 2.267 GB, free: 55.85 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000405/7.077, allocations: 81.23 kB / 2.267 GB, free: 55.85 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/7.077, allocations: 4.438 kB / 2.267 GB, free: 55.85 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008049/7.085, allocations: 2.334 MB / 2.269 GB, free: 55.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/7.085, allocations: 9.25 kB / 2.27 GB, free: 55.72 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01001/7.095, allocations: 1.558 MB / 2.271 GB, free: 55.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/7.098, allocations: 336.4 kB / 2.271 GB, free: 55.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004249/7.102, allocations: 1.721 MB / 2.273 GB, free: 55.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003859/7.106, allocations: 309 kB / 2.273 GB, free: 55.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003587/7.106, allocations: 75.47 kB / 2.273 GB, free: 55.03 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.001935/7.108, allocations: 0.5592 MB / 2.274 GB, free: 54.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007071/7.109, allocations: 232.1 kB / 2.274 GB, free: 54.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02147/7.13, allocations: 3.724 MB / 2.278 GB, free: 54.51 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.099e-05/7.13, allocations: 20 kB / 2.278 GB, free: 54.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/7.13, allocations: 0 / 2.278 GB, free: 54.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01905/7.15, allocations: 3.483 MB / 2.281 GB, free: 53.92 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02683/7.176, allocations: 6.214 MB / 2.287 GB, free: 52.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/7.176, allocations: 0 / 2.287 GB, free: 52.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00192/7.178, allocations: 291.9 kB / 2.288 GB, free: 52.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002368/7.181, allocations: 0.5378 MB / 2.288 GB, free: 52.39 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002432/7.181, allocations: 39.47 kB / 2.288 GB, free: 52.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02697/7.208, allocations: 7.044 MB / 2.295 GB, free: 48.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/7.208, allocations: 9.734 kB / 2.295 GB, free: 48.53 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02348/7.232, allocations: 4.893 MB / 2.3 GB, free: 46.79 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001881/7.234, allocations: 497.4 kB / 2.3 GB, free: 46.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000873/7.234, allocations: 23.44 kB / 2.3 GB, free: 46.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003916/7.238, allocations: 323.3 kB / 2.301 GB, free: 46.36 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000417/7.239, allocations: 100.8 kB / 2.301 GB, free: 46.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002285/7.239, allocations: 50.09 kB / 2.301 GB, free: 46.34 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003172/7.242, allocations: 1.384 MB / 2.302 GB, free: 45.78 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.99e-06/7.242, allocations: 0 / 2.302 GB, free: 45.78 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.006642/7.249, allocations: 1.219 MB / 2.303 GB, free: 45.6 MB / 0.8073 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 (99): * Single equations (assignments): 91 * 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 28,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002285/7.251, allocations: 1.131 MB / 2.304 GB, free: 45.13 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01223/7.264, allocations: 3.472 MB / 2.308 GB, free: 42.45 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/7.264, allocations: 0 / 2.308 GB, free: 42.45 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00426/7.268, allocations: 1.319 MB / 2.309 GB, free: 41.31 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006166/7.274, allocations: 1.057 MB / 2.31 GB, free: 40.55 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0216/7.296, allocations: 6.625 MB / 2.317 GB, free: 34.71 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/7.297, allocations: 1.666 MB / 2.318 GB, free: 33.38 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004816/7.302, allocations: 0.6078 MB / 2.319 GB, free: 32.97 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006485/7.303, allocations: 137.1 kB / 2.319 GB, free: 32.85 MB / 0.8073 GB Notification: Performance of SimCode: time 2.399e-06/7.303, allocations: 4 kB / 2.319 GB, free: 32.85 MB / 0.8073 GB Notification: Performance of Templates: time 0.7631/8.066, allocations: 68.45 MB / 2.386 GB, free: 94.96 MB / 0.823 GB