Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.091/4.091, allocations: 432.8 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.025e-05/4.029e-05, allocations: 2.453 kB / 0.5338 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2427, allocations: 98.72 MB / 0.6302 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.28/1.522, allocations: 430.3 MB / 1.05 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/1.523, allocations: 97.36 kB / 1.051 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.653/8.176, allocations: 1.228 GB / 2.279 GB, free: 86.23 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.904e-06/8.176, allocations: 0 / 2.279 GB, free: 86.23 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004908/8.177, allocations: 73.53 kB / 2.279 GB, free: 86.21 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 460 * Number of variables: 460 Notification: Performance of Generate backend data structure: time 0.00923/8.186, allocations: 2.707 MB / 2.282 GB, free: 84.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/8.186, allocations: 11.5 kB / 2.282 GB, free: 84.3 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007692/8.187, allocations: 256.5 kB / 2.282 GB, free: 84.09 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009075/8.196, allocations: 0.9984 MB / 2.283 GB, free: 83.19 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009651/8.206, allocations: 2.898 MB / 2.286 GB, free: 80.23 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/8.206, allocations: 143.6 kB / 2.286 GB, free: 80.09 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000585/8.206, allocations: 203.7 kB / 2.286 GB, free: 79.89 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005326/8.212, allocations: 2.066 MB / 2.288 GB, free: 77.74 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-05/8.212, allocations: 7.938 kB / 2.288 GB, free: 77.73 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003062/8.212, allocations: 79.98 kB / 2.288 GB, free: 77.65 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.831e-05/8.212, allocations: 48 kB / 2.288 GB, free: 77.61 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004799/8.217, allocations: 1.62 MB / 2.29 GB, free: 75.98 MB / 0.8542 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.02507/8.242, allocations: 12.02 MB / 2.302 GB, free: 63.15 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009553/8.252, allocations: 1.629 MB / 2.303 GB, free: 61.52 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/8.254, allocations: 0.637 MB / 2.304 GB, free: 60.89 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/8.255, allocations: 1.366 MB / 2.305 GB, free: 59.23 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/8.255, allocations: 47.56 kB / 2.305 GB, free: 59.17 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002807/8.258, allocations: 282.5 kB / 2.305 GB, free: 58.89 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=103): time 7.785e-06/8.258, allocations: 0 / 2.305 GB, free: 58.89 MB / 0.8542 GB Notification: Performance of matching and sorting (n=109): time 0.01128/8.269, allocations: 3.283 MB / 2.309 GB, free: 55.55 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/8.269, allocations: 171.2 kB / 2.309 GB, free: 55.35 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004071/8.274, allocations: 1.774 MB / 2.311 GB, free: 53.55 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004776/8.274, allocations: 53.7 kB / 2.311 GB, free: 53.49 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001187/8.275, allocations: 1.196 MB / 2.312 GB, free: 52.28 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006094/8.276, allocations: 378.5 kB / 2.312 GB, free: 51.91 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/8.276, allocations: 24 kB / 2.312 GB, free: 51.88 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001202/8.276, allocations: 365.9 kB / 2.313 GB, free: 51.52 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/8.278, allocations: 0.5507 MB / 2.313 GB, free: 50.97 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002058/8.28, allocations: 1.026 MB / 2.314 GB, free: 49.75 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/8.282, allocations: 0.6557 MB / 2.315 GB, free: 49.09 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/8.282, allocations: 4 kB / 2.315 GB, free: 49.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006148/8.288, allocations: 2.055 MB / 2.317 GB, free: 47.02 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008626/8.289, allocations: 3.735 MB / 2.32 GB, free: 42.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/8.289, allocations: 12 kB / 2.32 GB, free: 42.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006248/8.295, allocations: 0.9544 MB / 2.321 GB, free: 41.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002854/8.298, allocations: 323.5 kB / 2.322 GB, free: 41.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/8.314, allocations: 5.263 MB / 2.327 GB, free: 36.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005837/8.319, allocations: 415.2 kB / 2.327 GB, free: 35.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004157/8.32, allocations: 75.95 kB / 2.327 GB, free: 35.78 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/8.32, allocations: 4 kB / 2.327 GB, free: 35.78 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004771/8.325, allocations: 1.687 MB / 2.329 GB, free: 34.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/8.325, allocations: 8 kB / 2.329 GB, free: 34.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004009/8.329, allocations: 0.5909 MB / 2.329 GB, free: 33.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/8.332, allocations: 391.5 kB / 2.33 GB, free: 33.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02134/8.353, allocations: 6.227 MB / 2.336 GB, free: 26.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006895/8.36, allocations: 351.4 kB / 2.336 GB, free: 26.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004898/8.361, allocations: 76.05 kB / 2.336 GB, free: 26.22 MB / 0.8542 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.0007184/8.362, allocations: 184.6 kB / 2.337 GB, free: 26.04 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000889/8.363, allocations: 233 kB / 2.337 GB, free: 25.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007582/8.37, allocations: 1.839 MB / 2.339 GB, free: 23.95 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.651e-05/8.37, allocations: 15.98 kB / 2.339 GB, free: 23.94 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/8.37, allocations: 0 / 2.339 GB, free: 23.94 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004916/8.375, allocations: 1.692 MB / 2.34 GB, free: 22.16 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/8.392, allocations: 4.132 MB / 2.344 GB, free: 17.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/8.392, allocations: 0 / 2.344 GB, free: 17.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003341/8.395, allocations: 255.7 kB / 2.344 GB, free: 17.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003263/8.399, allocations: 483.9 kB / 2.345 GB, free: 17.25 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003391/8.399, allocations: 31.97 kB / 2.345 GB, free: 17.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002742/8.402, allocations: 1.242 MB / 2.346 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/8.402, allocations: 4.062 kB / 2.346 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008612/8.41, allocations: 2.525 MB / 2.349 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002146/8.413, allocations: 0.5018 MB / 2.349 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000636/8.413, allocations: 24 kB / 2.349 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004725/8.418, allocations: 315.5 kB / 2.349 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/8.418, allocations: 72.89 kB / 2.35 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/8.418, allocations: 43.97 kB / 2.35 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002825/8.421, allocations: 1.358 MB / 2.351 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.51e-07/8.421, allocations: 0 / 2.351 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006617/8.428, allocations: 1.269 MB / 2.352 GB, free: 9.773 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (84): * Single equations (assignments): 76 * 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.008718/8.437, allocations: 4.216 MB / 2.356 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007876/8.445, allocations: 2.882 MB / 2.359 GB, free: 2.68 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/8.445, allocations: 0.875 kB / 2.359 GB, free: 2.68 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001911/8.447, allocations: 0.7039 MB / 2.36 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009069/8.456, allocations: 1.105 MB / 2.361 GB, free: 0.918 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01906/8.475, allocations: 4.128 MB / 2.365 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/8.477, allocations: 1.661 MB / 2.366 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004913/8.481, allocations: 0.5896 MB / 2.367 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002227/8.484, allocations: 0.9874 MB / 2.368 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of SimCode: time 9.52e-07/8.484, allocations: 0 / 2.368 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9584/9.442, allocations: 90.33 MB / 2.456 GB, free: 104 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/9.443, allocations: 279.2 kB / 2.457 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.648/16.09, allocations: 0 / 2.457 GB, free: 103.7 MB / 0.8698 GB