Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadModel(Buildings): time 4.009/4.009, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.33e-05/3.335e-05, allocations: 0 / 0.5731 GB, free: 5.742 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1987, allocations: 107.2 MB / 0.6777 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.556/1.755, allocations: 439.5 MB / 1.107 GB, free: 258.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/1.755, allocations: 93.44 kB / 1.107 GB, free: 258.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.156/6.912, allocations: 1.241 GB / 2.348 GB, free: 90.61 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.727e-06/6.912, allocations: 0 / 2.348 GB, free: 90.61 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0006039/6.912, allocations: 80.16 kB / 2.348 GB, free: 90.59 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01053/6.923, allocations: 2.724 MB / 2.351 GB, free: 88.7 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/6.923, allocations: 12 kB / 2.351 GB, free: 88.7 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006473/6.929, allocations: 1.009 MB / 2.352 GB, free: 88.27 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008497/6.938, allocations: 2.918 MB / 2.355 GB, free: 86.18 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/6.938, allocations: 146.8 kB / 2.355 GB, free: 86.11 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006957/6.939, allocations: 200.9 kB / 2.355 GB, free: 86.05 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005674/6.945, allocations: 2.11 MB / 2.357 GB, free: 84.68 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-05/6.945, allocations: 0 / 2.357 GB, free: 84.68 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003041/6.945, allocations: 80 kB / 2.357 GB, free: 84.61 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.95e-05/6.945, allocations: 44 kB / 2.357 GB, free: 84.56 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004782/6.95, allocations: 1.647 MB / 2.359 GB, free: 82.91 MB / 0.9011 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.021/6.971, allocations: 12.13 MB / 2.371 GB, free: 69.99 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004652/6.976, allocations: 1.407 MB / 2.372 GB, free: 68.58 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/6.977, allocations: 0.6489 MB / 2.373 GB, free: 67.93 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/6.978, allocations: 1.377 MB / 2.374 GB, free: 66.26 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/6.978, allocations: 46.84 kB / 2.374 GB, free: 66.21 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002159/6.98, allocations: 282.5 kB / 2.374 GB, free: 65.93 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 5.961e-06/6.98, allocations: 0 / 2.374 GB, free: 65.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.009847/6.99, allocations: 3.331 MB / 2.378 GB, free: 62.54 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/6.99, allocations: 171.2 kB / 2.378 GB, free: 62.33 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003525/6.994, allocations: 1.787 MB / 2.379 GB, free: 60.52 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003621/6.994, allocations: 57.7 kB / 2.379 GB, free: 60.46 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009845/6.995, allocations: 1.192 MB / 2.381 GB, free: 59.25 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004868/6.996, allocations: 386.4 kB / 2.381 GB, free: 58.87 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/6.996, allocations: 31.94 kB / 2.381 GB, free: 58.84 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001069/6.996, allocations: 365.9 kB / 2.381 GB, free: 58.48 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/6.997, allocations: 0.5585 MB / 2.382 GB, free: 57.92 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/6.999, allocations: 1.026 MB / 2.383 GB, free: 56.69 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/7.001, allocations: 0.6637 MB / 2.384 GB, free: 56.03 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.544e-06/7.001, allocations: 4 kB / 2.384 GB, free: 56.02 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006873/7.008, allocations: 2.172 MB / 2.386 GB, free: 53.84 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007427/7.008, allocations: 3.736 MB / 2.389 GB, free: 49.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/7.008, allocations: 12 kB / 2.389 GB, free: 49.74 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005625/7.014, allocations: 1.11 MB / 2.39 GB, free: 48.64 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/7.016, allocations: 335.5 kB / 2.391 GB, free: 48.31 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/7.027, allocations: 5.27 MB / 2.396 GB, free: 42.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004181/7.032, allocations: 411.1 kB / 2.396 GB, free: 42.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004315/7.032, allocations: 75.95 kB / 2.396 GB, free: 42.43 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/7.032, allocations: 8 kB / 2.396 GB, free: 42.42 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004134/7.036, allocations: 1.708 MB / 2.398 GB, free: 40.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/7.036, allocations: 10.73 kB / 2.398 GB, free: 40.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002837/7.039, allocations: 0.5839 MB / 2.399 GB, free: 40.12 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/7.041, allocations: 387.5 kB / 2.399 GB, free: 39.74 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/7.054, allocations: 6.221 MB / 2.405 GB, free: 33.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004148/7.058, allocations: 359.4 kB / 2.405 GB, free: 32.93 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003826/7.058, allocations: 79.77 kB / 2.405 GB, free: 32.86 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * 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: 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 16,3 36} Notification: Performance of prepare postOptimizeDAE: time 0.0004715/7.059, allocations: 180.9 kB / 2.406 GB, free: 32.67 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006671/7.059, allocations: 234.7 kB / 2.406 GB, free: 32.44 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00454/7.064, allocations: 1.876 MB / 2.408 GB, free: 30.55 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/7.064, allocations: 15.98 kB / 2.408 GB, free: 30.54 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/7.064, allocations: 0 / 2.408 GB, free: 30.54 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00299/7.067, allocations: 1.701 MB / 2.409 GB, free: 28.75 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009401/7.076, allocations: 4.263 MB / 2.414 GB, free: 24.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/7.077, allocations: 0 / 2.414 GB, free: 24.42 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/7.078, allocations: 263.8 kB / 2.414 GB, free: 24.16 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002936/7.081, allocations: 0.6402 MB / 2.414 GB, free: 23.53 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002018/7.081, allocations: 35.97 kB / 2.414 GB, free: 23.49 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/7.083, allocations: 1.247 MB / 2.416 GB, free: 22.22 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/7.083, allocations: 0 / 2.416 GB, free: 22.22 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007487/7.091, allocations: 2.898 MB / 2.419 GB, free: 19.27 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/7.092, allocations: 0.5134 MB / 2.419 GB, free: 18.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004128/7.093, allocations: 24 kB / 2.419 GB, free: 18.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002748/7.096, allocations: 319.5 kB / 2.419 GB, free: 18.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/7.096, allocations: 68.89 kB / 2.419 GB, free: 18.33 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/7.096, allocations: 47.97 kB / 2.419 GB, free: 18.28 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002676/7.099, allocations: 1.371 MB / 2.421 GB, free: 16.89 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9.89e-07/7.099, allocations: 0 / 2.421 GB, free: 16.89 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.006286/7.105, allocations: 1.285 MB / 2.422 GB, free: 15.61 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.port_b1.h_outflow,hex.port_a2.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 78 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 37} Notification: Performance of Backend phase and start with SimCode phase: time 0.002217/7.107, allocations: 1.174 MB / 2.423 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00663/7.114, allocations: 2.905 MB / 2.426 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.529e-06/7.114, allocations: 0 / 2.426 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001669/7.116, allocations: 0.6962 MB / 2.427 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006545/7.122, allocations: 1.13 MB / 2.428 GB, free: 9.789 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/7.134, allocations: 3.705 MB / 2.431 GB, free: 6.047 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/7.136, allocations: 1.684 MB / 2.433 GB, free: 4.336 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004325/7.14, allocations: 0.5935 MB / 2.434 GB, free: 3.781 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005629/7.141, allocations: 139.4 kB / 2.434 GB, free: 3.645 MB / 0.9011 GB Notification: Performance of SimCode: time 2.035e-06/7.141, allocations: 4 kB / 2.434 GB, free: 3.641 MB / 0.9011 GB Notification: Performance of Templates: time 0.7863/7.927, allocations: 67.37 MB / 2.5 GB, free: 117.4 MB / 0.9323 GB