Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.99/3.99, allocations: 432.7 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.633e-05, allocations: 4 kB / 0.5338 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2122, allocations: 98.73 MB / 0.6302 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.216/1.429, allocations: 421.6 MB / 1.042 GB, free: 5.254 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004422/1.429, allocations: 113.2 kB / 1.042 GB, free: 5.191 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 41.7/43.12, allocations: 7.279 GB / 8.321 GB, free: 88.26 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.057e-06/43.13, allocations: 3.375 kB / 8.321 GB, free: 88.26 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.009546/43.13, allocations: 0.569 MB / 8.321 GB, free: 88.19 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4407 * Number of variables: 4407 Notification: Performance of Generate backend data structure: time 0.1115/43.25, allocations: 20.39 MB / 8.341 GB, free: 80.37 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.516e-05/43.25, allocations: 6.75 kB / 8.341 GB, free: 80.37 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01829/43.26, allocations: 2.31 MB / 8.343 GB, free: 80.22 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02714/43.29, allocations: 3.013 MB / 8.346 GB, free: 78.77 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1614/43.45, allocations: 35.15 MB / 8.381 GB, free: 75.61 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003188/43.46, allocations: 1.29 MB / 8.382 GB, free: 75.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01356/43.47, allocations: 1.739 MB / 8.384 GB, free: 75.56 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1154/43.59, allocations: 24.33 MB / 8.407 GB, free: 73.89 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00162/43.59, allocations: 63.38 kB / 8.407 GB, free: 73.87 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008883/43.6, allocations: 0.7039 MB / 8.408 GB, free: 73.87 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004567/43.6, allocations: 421.1 kB / 8.408 GB, free: 73.87 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0834/43.68, allocations: 21.26 MB / 8.429 GB, free: 71.14 MB / 0.948 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 2.078/45.76, allocations: 102.7 MB / 8.53 GB, free: 89.14 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03943/45.8, allocations: 13.08 MB / 8.542 GB, free: 89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02602/45.82, allocations: 9.797 MB / 8.552 GB, free: 88.88 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004174/45.83, allocations: 2.627 MB / 8.554 GB, free: 86.15 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/45.83, allocations: 161.2 kB / 8.555 GB, free: 86.1 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02017/45.85, allocations: 1.158 MB / 8.556 GB, free: 86.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1032): time 4.712e-05/45.85, allocations: 0 / 8.556 GB, free: 86.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=1032): time 0.05836/45.91, allocations: 15.98 MB / 8.571 GB, free: 85.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/45.91, allocations: 157.5 kB / 8.571 GB, free: 85.04 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1026/46.01, allocations: 24.57 MB / 8.595 GB, free: 83.99 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.004871/46.01, allocations: 231.5 kB / 8.596 GB, free: 83.96 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.02759/46.04, allocations: 11.18 MB / 8.607 GB, free: 81.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.01/46.05, allocations: 3.645 MB / 8.61 GB, free: 79.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005087/46.06, allocations: 267 kB / 8.61 GB, free: 79.82 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.002628/46.06, allocations: 0.8643 MB / 8.611 GB, free: 79.49 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02661/46.09, allocations: 7.251 MB / 8.618 GB, free: 79.46 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0334/46.12, allocations: 10.89 MB / 8.629 GB, free: 76 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03188/46.15, allocations: 9.483 MB / 8.638 GB, free: 75.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002504/46.15, allocations: 22.47 kB / 8.638 GB, free: 75.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=1744) (initialization): time 0.08955/46.24, allocations: 21.98 MB / 8.66 GB, free: 74.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.02766/46.27, allocations: 63.41 MB / 8.722 GB, free: 57.89 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008437/46.27, allocations: 112.5 kB / 8.722 GB, free: 57.89 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007969/46.28, allocations: 2.077 MB / 8.724 GB, free: 57.57 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02672/46.31, allocations: 3.158 MB / 8.727 GB, free: 57.57 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08719/46.39, allocations: 66.49 MB / 8.792 GB, free: 35.86 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04017/46.43, allocations: 2.067 MB / 8.794 GB, free: 35.68 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004353/46.44, allocations: 0.5433 MB / 8.794 GB, free: 35.68 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/46.44, allocations: 5.562 kB / 8.794 GB, free: 35.68 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06309/46.5, allocations: 20.08 MB / 8.814 GB, free: 35.04 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005251/46.5, allocations: 108.9 kB / 8.814 GB, free: 35.04 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006436/46.51, allocations: 2.015 MB / 8.816 GB, free: 34.71 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02451/46.53, allocations: 3.169 MB / 8.819 GB, free: 34.71 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07324/46.61, allocations: 68.02 MB / 8.886 GB, free: 27.71 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03753/46.64, allocations: 2.018 MB / 8.888 GB, free: 27.36 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004489/46.65, allocations: 0.5422 MB / 8.888 GB, free: 27.25 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1580): * Single equations (assignments): 1529 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 40 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.008176/46.66, allocations: 0.861 MB / 8.889 GB, free: 26.73 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01139/46.67, allocations: 2.059 MB / 8.891 GB, free: 25.65 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06646/46.73, allocations: 17.7 MB / 8.908 GB, free: 18.91 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001431/46.73, allocations: 104 kB / 8.908 GB, free: 18.91 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000106/46.73, allocations: 21.19 kB / 8.908 GB, free: 18.91 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04577/46.78, allocations: 14.14 MB / 8.922 GB, free: 13.7 MB / 1.073 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 postOpt removeSimpleEquations (simulation): time 2.081/48.86, allocations: 44.85 MB / 8.966 GB, free: 196.7 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001857/48.86, allocations: 0 / 8.966 GB, free: 196.7 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02229/48.88, allocations: 2.35 MB / 8.968 GB, free: 196.7 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008771/48.89, allocations: 1.95 MB / 8.97 GB, free: 196.4 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004005/48.9, allocations: 297.9 kB / 8.97 GB, free: 196.4 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06866/48.97, allocations: 66.64 MB / 9.035 GB, free: 143.3 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/48.97, allocations: 4.344 kB / 9.035 GB, free: 143.3 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09359/49.06, allocations: 25.72 MB / 9.061 GB, free: 142.1 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02545/49.09, allocations: 5.088 MB / 9.066 GB, free: 141 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01454/49.1, allocations: 241.7 kB / 9.066 GB, free: 141 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03289/49.13, allocations: 1.413 MB / 9.067 GB, free: 140.9 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003851/49.14, allocations: 0.6542 MB / 9.068 GB, free: 140.9 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003169/49.14, allocations: 375.5 kB / 9.068 GB, free: 140.9 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.06061/49.2, allocations: 19.21 MB / 9.087 GB, free: 140.2 MB / 1.073 GB Notification: Performance of sort global known variables: time 8.42e-07/49.2, allocations: 0 / 9.087 GB, free: 140.2 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.07589/49.28, allocations: 12.53 MB / 9.099 GB, free: 139.6 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 80 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].vol3.dynBal.U,borHol.intHex[1].vol4.dynBal.U,borHol.intHex[1].intRes2UTub.capFil1.T,borHol.intHex[1].intRes2UTub.capFil2.T,borHol.intHex[1].intRes2UTub.capFil3.T,borHol.intHex[1].intRes2UTub.capFil4.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].vol3.dynBal.U,borHol.intHex[2].vol4.dynBal.U,borHol.intHex[2].intRes2UTub.capFil1.T,borHol.intHex[2].intRes2UTub.capFil2.T,borHol.intHex[2].intRes2UTub.capFil3.T,borHol.intHex[2].intRes2UTub.capFil4.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].vol3.dynBal.U,borHol.intHex[3].vol4.dynBal.U,borHol.intHex[3].intRes2UTub.capFil1.T,borHol.intHex[3].intRes2UTub.capFil2.T,borHol.intHex[3].intRes2UTub.capFil3.T,borHol.intHex[3].intRes2UTub.capFil4.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].vol3.dynBal.U,borHol.intHex[4].vol4.dynBal.U,borHol.intHex[4].intRes2UTub.capFil1.T,borHol.intHex[4].intRes2UTub.capFil2.T,borHol.intHex[4].intRes2UTub.capFil3.T,borHol.intHex[4].intRes2UTub.capFil4.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].vol3.dynBal.U,borHol.intHex[5].vol4.dynBal.U,borHol.intHex[5].intRes2UTub.capFil1.T,borHol.intHex[5].intRes2UTub.capFil2.T,borHol.intHex[5].intRes2UTub.capFil3.T,borHol.intHex[5].intRes2UTub.capFil4.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].vol3.dynBal.U,borHol.intHex[6].vol4.dynBal.U,borHol.intHex[6].intRes2UTub.capFil1.T,borHol.intHex[6].intRes2UTub.capFil2.T,borHol.intHex[6].intRes2UTub.capFil3.T,borHol.intHex[6].intRes2UTub.capFil4.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].vol3.dynBal.U,borHol.intHex[7].vol4.dynBal.U,borHol.intHex[7].intRes2UTub.capFil1.T,borHol.intHex[7].intRes2UTub.capFil2.T,borHol.intHex[7].intRes2UTub.capFil3.T,borHol.intHex[7].intRes2UTub.capFil4.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].vol3.dynBal.U,borHol.intHex[8].vol4.dynBal.U,borHol.intHex[8].intRes2UTub.capFil1.T,borHol.intHex[8].intRes2UTub.capFil2.T,borHol.intHex[8].intRes2UTub.capFil3.T,borHol.intHex[8].intRes2UTub.capFil4.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].vol3.dynBal.U,borHol.intHex[9].vol4.dynBal.U,borHol.intHex[9].intRes2UTub.capFil1.T,borHol.intHex[9].intRes2UTub.capFil2.T,borHol.intHex[9].intRes2UTub.capFil3.T,borHol.intHex[9].intRes2UTub.capFil4.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].vol3.dynBal.U,borHol.intHex[10].vol4.dynBal.U,borHol.intHex[10].intRes2UTub.capFil1.T,borHol.intHex[10].intRes2UTub.capFil2.T,borHol.intHex[10].intRes2UTub.capFil3.T,borHol.intHex[10].intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (919): * Single equations (assignments): 872 * 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: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 40 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.08472/49.36, allocations: 28.32 MB / 9.127 GB, free: 136.6 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.08768/49.45, allocations: 36.86 MB / 9.163 GB, free: 127.3 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/49.45, allocations: 5.844 kB / 9.163 GB, free: 127.3 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.02663/49.48, allocations: 11.81 MB / 9.174 GB, free: 123.2 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1108/49.59, allocations: 13.31 MB / 9.187 GB, free: 122.9 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2205/49.81, allocations: 57.82 MB / 9.244 GB, free: 102.1 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04844/49.86, allocations: 17.3 MB / 9.261 GB, free: 89.35 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.145/50, allocations: 29.37 MB / 9.289 GB, free: 72.41 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03205/50.03, allocations: 10.39 MB / 9.3 GB, free: 62.72 MB / 1.073 GB Notification: Performance of SimCode: time 1.904e-06/50.03, allocations: 0 / 9.3 GB, free: 62.72 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.453/53.49, allocations: 0.7054 GB / 10 GB, free: 92.41 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/53.49, allocations: 272.2 kB / 10.01 GB, free: 92.08 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 47.68/101.2, allocations: 3.938 kB / 10.01 GB, free: 92.08 MB / 1.104 GB