Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.121/3.121, allocations: 343.8 MB / 355.9 MB, free: 9.391 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.855e-05/3.861e-05, allocations: 8 kB / 436.7 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1723, allocations: 77.72 MB / 0.5023 GB, free: 4.48 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.465/1.637, allocations: 402.8 MB / 0.8957 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003941/1.638, allocations: 116.1 kB / 0.8958 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 41.51/43.14, allocations: 7.279 GB / 8.175 GB, free: 18.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.825e-06/43.14, allocations: 0 / 8.175 GB, free: 18.02 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.007292/43.15, allocations: 0.5647 MB / 8.176 GB, free: 17.45 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: 4407 * Number of variables: 4407 Notification: Performance of Generate backend data structure: time 1.543/44.69, allocations: 20.39 MB / 8.196 GB, free: 39.57 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/44.69, allocations: 9.844 kB / 8.196 GB, free: 39.57 MB / 0.8074 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0148/44.71, allocations: 2.309 MB / 8.198 GB, free: 39.43 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02431/44.73, allocations: 3.011 MB / 8.201 GB, free: 37.99 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1398/44.87, allocations: 35.15 MB / 8.235 GB, free: 35.69 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002311/44.88, allocations: 1.285 MB / 8.236 GB, free: 35.65 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009856/44.89, allocations: 1.746 MB / 8.238 GB, free: 35.63 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09903/44.98, allocations: 24.33 MB / 8.262 GB, free: 34.01 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001522/44.99, allocations: 56.28 kB / 8.262 GB, free: 34 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008649/44.99, allocations: 0.7086 MB / 8.263 GB, free: 34 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004618/45, allocations: 422.1 kB / 8.263 GB, free: 34 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07952/45.07, allocations: 21.25 MB / 8.284 GB, free: 49.93 MB / 0.823 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.2996/45.37, allocations: 101.9 MB / 8.383 GB, free: 35.32 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03508/45.41, allocations: 13.15 MB / 8.396 GB, free: 30.3 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02488/45.43, allocations: 9.815 MB / 8.406 GB, free: 26.68 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004938/45.44, allocations: 2.628 MB / 8.408 GB, free: 23.92 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/45.44, allocations: 159.3 kB / 8.408 GB, free: 23.8 MB / 0.8387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02014/45.46, allocations: 1.157 MB / 8.41 GB, free: 23 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=1034): time 3.597e-05/45.46, allocations: 0 / 8.41 GB, free: 23 MB / 0.8387 GB Notification: Performance of matching and sorting (n=1034): time 0.0567/45.52, allocations: 15.99 MB / 8.425 GB, free: 16.78 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/45.52, allocations: 161.6 kB / 8.425 GB, free: 16.7 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08122/45.6, allocations: 24.56 MB / 8.449 GB, free: 8.383 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 0.003953/45.6, allocations: 229.8 kB / 8.45 GB, free: 8.211 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.02419/45.63, allocations: 11.17 MB / 8.46 GB, free: 15.54 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.008603/45.64, allocations: 3.651 MB / 8.464 GB, free: 12.73 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003678/45.64, allocations: 269.3 kB / 8.464 GB, free: 12.52 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 0.001923/45.64, allocations: 0.8626 MB / 8.465 GB, free: 11.97 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02273/45.66, allocations: 7.258 MB / 8.472 GB, free: 9.305 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02857/45.69, allocations: 10.89 MB / 8.483 GB, free: 2.77 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03616/45.73, allocations: 9.932 MB / 8.493 GB, free: 14.32 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001245/45.73, allocations: 24 kB / 8.493 GB, free: 14.3 MB / 0.8699 GB Notification: Performance of matching and sorting (n=1744) (initialization): time 1.642/47.37, allocations: 22.78 MB / 8.515 GB, free: 101.2 MB / 0.87 GB Notification: Performance of prepare postOptimizeDAE: time 0.01644/47.39, allocations: 63.41 MB / 8.577 GB, free: 52.98 MB / 0.8857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006612/47.39, allocations: 115.4 kB / 8.577 GB, free: 52.98 MB / 0.8857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00815/47.4, allocations: 2.077 MB / 8.579 GB, free: 52.66 MB / 0.8857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02579/47.42, allocations: 3.165 MB / 8.582 GB, free: 52.66 MB / 0.8857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08417/47.51, allocations: 66.48 MB / 8.647 GB, free: 47.28 MB / 0.9325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04338/47.55, allocations: 2.07 MB / 8.649 GB, free: 47.28 MB / 0.9325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00465/47.55, allocations: 0.5423 MB / 8.649 GB, free: 47.28 MB / 0.9325 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/47.55, allocations: 5.344 kB / 8.649 GB, free: 47.28 MB / 0.9325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0643/47.62, allocations: 20.07 MB / 8.669 GB, free: 46.63 MB / 0.9325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006274/47.62, allocations: 109 kB / 8.669 GB, free: 46.63 MB / 0.9325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006572/47.63, allocations: 2.02 MB / 8.671 GB, free: 46.31 MB / 0.9325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02475/47.65, allocations: 3.16 MB / 8.674 GB, free: 46.31 MB / 0.9325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07631/47.73, allocations: 68.03 MB / 8.741 GB, free: 24.09 MB / 0.9638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03789/47.77, allocations: 2.014 MB / 8.743 GB, free: 24.09 MB / 0.9638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004387/47.77, allocations: 0.5397 MB / 8.743 GB, free: 24.09 MB / 0.9638 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.0081/47.78, allocations: 0.861 MB / 8.744 GB, free: 23.99 MB / 0.9638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01072/47.79, allocations: 2.057 MB / 8.746 GB, free: 23.76 MB / 0.9638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06313/47.85, allocations: 17.71 MB / 8.763 GB, free: 22.76 MB / 0.9638 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00016/47.85, allocations: 102.4 kB / 8.763 GB, free: 22.76 MB / 0.9638 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001064/47.85, allocations: 20.09 kB / 8.763 GB, free: 22.76 MB / 0.9638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04453/47.9, allocations: 14.16 MB / 8.777 GB, free: 22.03 MB / 0.9638 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.1556/48.05, allocations: 44.69 MB / 8.821 GB, free: 33.7 MB / 0.9794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001339/48.05, allocations: 0 / 8.821 GB, free: 33.7 MB / 0.9794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02133/48.07, allocations: 2.352 MB / 8.823 GB, free: 33.7 MB / 0.9794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007067/48.08, allocations: 1.954 MB / 8.825 GB, free: 33.38 MB / 0.9794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003131/48.08, allocations: 297.8 kB / 8.825 GB, free: 33.38 MB / 0.9794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9136/49, allocations: 66.64 MB / 8.89 GB, free: 158.1 MB / 0.9794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/49, allocations: 2.156 kB / 8.89 GB, free: 158.1 MB / 0.9794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08617/49.08, allocations: 26.01 MB / 8.916 GB, free: 156.5 MB / 0.9794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02443/49.11, allocations: 5.089 MB / 8.921 GB, free: 155.3 MB / 0.9794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01209/49.12, allocations: 242.5 kB / 8.921 GB, free: 155.3 MB / 0.9794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03067/49.15, allocations: 1.413 MB / 8.922 GB, free: 155.3 MB / 0.9794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003827/49.16, allocations: 0.6566 MB / 8.923 GB, free: 155.2 MB / 0.9794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003138/49.16, allocations: 369.7 kB / 8.923 GB, free: 155.2 MB / 0.9794 GB Notification: Performance of sorting global known variables: time 0.05775/49.22, allocations: 19.21 MB / 8.942 GB, free: 154.6 MB / 0.9794 GB Notification: Performance of sort global known variables: time 1.022e-06/49.22, allocations: 0 / 8.942 GB, free: 154.6 MB / 0.9794 GB Notification: Performance of remove unused functions: time 0.07371/49.29, allocations: 12.54 MB / 8.954 GB, free: 153.9 MB / 0.9794 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.08567/49.38, allocations: 28.6 MB / 8.982 GB, free: 150.7 MB / 0.9794 GB Notification: Performance of simCode: created initialization part: time 0.08783/49.46, allocations: 36.86 MB / 9.018 GB, free: 141.3 MB / 0.9794 GB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/49.46, allocations: 7 kB / 9.018 GB, free: 141.3 MB / 0.9794 GB Notification: Performance of simCode: created simulation system equations: time 0.02577/49.49, allocations: 11.82 MB / 9.03 GB, free: 137.2 MB / 0.9794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1142/49.6, allocations: 13.32 MB / 9.043 GB, free: 136.9 MB / 0.9794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2244/49.83, allocations: 57.85 MB / 9.099 GB, free: 126.2 MB / 0.9794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04682/49.87, allocations: 17.3 MB / 9.116 GB, free: 117.9 MB / 0.9794 GB Notification: Performance of simCode: alias equations: time 0.1434/50.02, allocations: 29.5 MB / 9.145 GB, free: 100.8 MB / 0.9794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03457/50.05, allocations: 10.39 MB / 9.155 GB, free: 91.11 MB / 0.9794 GB Notification: Performance of SimCode: time 2.185e-06/50.05, allocations: 0 / 9.155 GB, free: 91.11 MB / 0.9794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.721/54.77, allocations: 0.706 GB / 9.861 GB, free: 49.49 MB / 0.9794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003121/54.77, allocations: 287.9 kB / 9.861 GB, free: 49.16 MB / 0.9794 GB Notification: Performance of buildModelFMU: Generate platform static: time 47.93/102.7, allocations: 3.625 kB / 9.861 GB, free: 49.16 MB / 0.9794 GB