Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.461/4.461, allocations: 464.6 MB / 476.8 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.407e-05/3.422e-05, allocations: 4 kB / 0.5732 GB, free: 5.574 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2338, allocations: 107.2 MB / 0.6779 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.276/1.51, allocations: 429.1 MB / 1.097 GB, free: 3.984 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004061/1.51, allocations: 112.5 kB / 1.097 GB, free: 3.922 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 43.26/44.77, allocations: 7.279 GB / 8.376 GB, free: 82.53 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.376e-06/44.77, allocations: 0 / 8.376 GB, free: 82.53 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.01144/44.78, allocations: 0.5741 MB / 8.377 GB, free: 82.45 MB / 0.9948 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.1291/44.91, allocations: 20.4 MB / 8.397 GB, free: 74.64 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.811e-05/44.91, allocations: 11.09 kB / 8.397 GB, free: 74.64 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01919/44.93, allocations: 2.307 MB / 8.399 GB, free: 74.49 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03082/44.96, allocations: 3.008 MB / 8.402 GB, free: 73.04 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1489/45.11, allocations: 34.87 MB / 8.436 GB, free: 69.92 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003105/45.11, allocations: 1.287 MB / 8.437 GB, free: 69.88 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01323/45.12, allocations: 1.745 MB / 8.439 GB, free: 69.86 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.141/45.26, allocations: 24.33 MB / 8.463 GB, free: 68.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002236/45.27, allocations: 58.7 kB / 8.463 GB, free: 68.18 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01126/45.28, allocations: 0.7133 MB / 8.464 GB, free: 68.18 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006673/45.28, allocations: 420.3 kB / 8.464 GB, free: 68.18 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1175/45.4, allocations: 21.25 MB / 8.485 GB, free: 68.11 MB / 0.9948 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.3457/45.74, allocations: 101.9 MB / 8.584 GB, free: 20.86 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03784/45.78, allocations: 13.14 MB / 8.597 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02833/45.81, allocations: 9.832 MB / 8.607 GB, free: 2.758 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005379/45.81, allocations: 2.628 MB / 8.609 GB, free: 15.71 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000389/45.81, allocations: 155.4 kB / 8.609 GB, free: 15.55 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02006/45.83, allocations: 1.157 MB / 8.611 GB, free: 14.43 MB / 1.01 GB Notification: Performance of pre-optimization done (n=1034): time 3.391e-05/45.83, allocations: 4 kB / 8.611 GB, free: 14.42 MB / 1.01 GB Notification: Performance of matching and sorting (n=1034): time 0.06144/45.9, allocations: 15.99 MB / 8.626 GB, free: 320 kB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/45.9, allocations: 155.5 kB / 8.626 GB, free: 148 kB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.836/47.73, allocations: 24.57 MB / 8.65 GB, free: 110.2 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.003717/47.74, allocations: 233 kB / 8.651 GB, free: 110.1 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0223/47.76, allocations: 11.1 MB / 8.661 GB, free: 109.3 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.008095/47.77, allocations: 3.649 MB / 8.665 GB, free: 107.5 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003595/47.77, allocations: 269.3 kB / 8.665 GB, free: 107.5 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.001845/47.77, allocations: 0.8635 MB / 8.666 GB, free: 107.2 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02154/47.79, allocations: 7.262 MB / 8.673 GB, free: 107.1 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02724/47.82, allocations: 10.88 MB / 8.684 GB, free: 103.7 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0271/47.85, allocations: 9.49 MB / 8.693 GB, free: 103.5 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001627/47.85, allocations: 21.97 kB / 8.693 GB, free: 103.5 MB / 1.011 GB Notification: Performance of matching and sorting (n=1744) (initialization): time 0.0762/47.92, allocations: 21.97 MB / 8.715 GB, free: 101.8 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.02184/47.95, allocations: 63.08 MB / 8.776 GB, free: 69.59 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006373/47.95, allocations: 111.3 kB / 8.776 GB, free: 69.59 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00736/47.95, allocations: 2.092 MB / 8.778 GB, free: 69.26 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02475/47.98, allocations: 3.155 MB / 8.781 GB, free: 69.26 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07497/48.05, allocations: 66.48 MB / 8.846 GB, free: 47.55 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03994/48.09, allocations: 2.07 MB / 8.848 GB, free: 47.46 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004505/48.1, allocations: 0.5402 MB / 8.849 GB, free: 47.46 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/48.1, allocations: 3.812 kB / 8.849 GB, free: 47.46 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06646/48.17, allocations: 20.08 MB / 8.868 GB, free: 46.82 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005736/48.17, allocations: 111.3 kB / 8.869 GB, free: 46.82 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007123/48.17, allocations: 2.016 MB / 8.871 GB, free: 46.5 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05281/48.23, allocations: 3.164 MB / 8.874 GB, free: 46.5 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1006/48.33, allocations: 68.01 MB / 8.94 GB, free: 39.96 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0369/48.36, allocations: 2.019 MB / 8.942 GB, free: 39.87 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004452/48.37, allocations: 0.544 MB / 8.943 GB, free: 39.87 MB / 1.12 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.008257/48.38, allocations: 0.8657 MB / 8.943 GB, free: 39.71 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01035/48.39, allocations: 2.056 MB / 8.945 GB, free: 38.64 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06484/48.45, allocations: 17.7 MB / 8.963 GB, free: 37.61 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000162/48.45, allocations: 96.31 kB / 8.963 GB, free: 37.61 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000124/48.45, allocations: 24.42 kB / 8.963 GB, free: 37.61 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04601/48.5, allocations: 14.16 MB / 8.977 GB, free: 36.63 MB / 1.12 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 0.2081/48.71, allocations: 44.7 MB / 9.02 GB, free: 17.26 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001841/48.71, allocations: 3.141 kB / 9.02 GB, free: 17.26 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02964/48.74, allocations: 2.355 MB / 9.023 GB, free: 17.12 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0104/48.75, allocations: 1.948 MB / 9.024 GB, free: 16.3 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004056/48.75, allocations: 294.2 kB / 9.025 GB, free: 16.15 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.937/50.69, allocations: 66.63 MB / 9.09 GB, free: 153.6 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/50.69, allocations: 1.609 kB / 9.09 GB, free: 153.6 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07921/50.77, allocations: 26.01 MB / 9.115 GB, free: 152.2 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02334/50.79, allocations: 5.149 MB / 9.12 GB, free: 151.5 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01067/50.8, allocations: 250 kB / 9.121 GB, free: 151.5 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0306/50.83, allocations: 1.411 MB / 9.122 GB, free: 151.5 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003822/50.84, allocations: 0.6548 MB / 9.123 GB, free: 151.4 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003264/50.84, allocations: 372.3 kB / 9.123 GB, free: 151.4 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0603/50.9, allocations: 19.21 MB / 9.142 GB, free: 150.8 MB / 1.12 GB Notification: Performance of sort global known variables: time 2.855e-06/50.9, allocations: 0 / 9.142 GB, free: 150.8 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.07946/50.98, allocations: 12.54 MB / 9.154 GB, free: 150.1 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (921): * Single equations (assignments): 874 * 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.09048/51.07, allocations: 28.59 MB / 9.182 GB, free: 146.9 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.09129/51.16, allocations: 36.85 MB / 9.218 GB, free: 137.6 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/51.16, allocations: 5.062 kB / 9.218 GB, free: 137.6 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.02722/51.19, allocations: 11.83 MB / 9.229 GB, free: 133.4 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1154/51.3, allocations: 13.3 MB / 9.242 GB, free: 133.1 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2176/51.52, allocations: 57.83 MB / 9.299 GB, free: 122.9 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04666/51.57, allocations: 17.29 MB / 9.316 GB, free: 121.3 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.1385/51.71, allocations: 29.9 MB / 9.345 GB, free: 107.2 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03141/51.74, allocations: 10.33 MB / 9.355 GB, free: 101.3 MB / 1.12 GB Notification: Performance of SimCode: time 1.993e-06/51.74, allocations: 0 / 9.355 GB, free: 101.3 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.671/55.41, allocations: 0.7034 GB / 10.06 GB, free: 194.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003073/55.41, allocations: 280.3 kB / 10.06 GB, free: 194.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 49.43/104.8, allocations: 5.531 kB / 10.06 GB, free: 194.5 MB / 1.167 GB