Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Ground.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.976/3.976, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.467e-05/5.473e-05, allocations: 11.94 kB / 0.4992 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6592/0.6593, allocations: 92.68 MB / 0.5897 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.896, allocations: 398 MB / 0.9783 GB, free: 8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000425/1.896, allocations: 110.5 kB / 0.9784 GB, free: 7.934 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3/4.896, allocations: 0.5225 GB / 1.501 GB, free: 172.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.914e-06/4.896, allocations: 2.75 kB / 1.501 GB, free: 172.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001683/4.896, allocations: 31.94 kB / 1.501 GB, free: 172.5 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 236 * Number of variables: 236 Notification: Performance of Generate backend data structure: time 0.004007/4.9, allocations: 1.43 MB / 1.502 GB, free: 171.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/4.9, allocations: 10.53 kB / 1.502 GB, free: 171.5 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003173/4.9, allocations: 146.2 kB / 1.503 GB, free: 171.4 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008066/4.901, allocations: 164.1 kB / 1.503 GB, free: 171.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03852/4.94, allocations: 12.43 MB / 1.515 GB, free: 162.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.552e-05/4.94, allocations: 81.02 kB / 1.515 GB, free: 162 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/4.94, allocations: 95.91 kB / 1.515 GB, free: 161.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003177/4.943, allocations: 1.006 MB / 1.516 GB, free: 160.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.782e-05/4.943, allocations: 0 / 1.516 GB, free: 160.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/4.944, allocations: 44 kB / 1.516 GB, free: 160.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.147e-05/4.944, allocations: 31.06 kB / 1.516 GB, free: 160.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/4.946, allocations: 0.6676 MB / 1.517 GB, free: 160.1 MB / 0.7761 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.008529/4.955, allocations: 5.315 MB / 1.522 GB, free: 154.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/4.957, allocations: 0.5653 MB / 1.522 GB, free: 153.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007441/4.957, allocations: 328.7 kB / 1.523 GB, free: 153.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004754/4.958, allocations: 279.8 kB / 1.523 GB, free: 153.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/4.958, allocations: 49.25 kB / 1.523 GB, free: 153.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=57): time 3.687e-06/4.958, allocations: 3.391 kB / 1.523 GB, free: 153.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=59): time 0.006417/4.964, allocations: 1.882 MB / 1.525 GB, free: 151.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/4.965, allocations: 113.7 kB / 1.525 GB, free: 151.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/4.966, allocations: 0.7909 MB / 1.526 GB, free: 150.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001534/4.966, allocations: 37.7 kB / 1.526 GB, free: 150.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000458/4.967, allocations: 0.5562 MB / 1.526 GB, free: 149.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/4.967, allocations: 212.2 kB / 1.527 GB, free: 149.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/4.967, allocations: 16 kB / 1.527 GB, free: 149.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.473e-05/4.967, allocations: 337.9 kB / 1.527 GB, free: 149.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005285/4.968, allocations: 213.8 kB / 1.527 GB, free: 149 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006543/4.968, allocations: 448.1 kB / 1.528 GB, free: 148.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/4.969, allocations: 305.1 kB / 1.528 GB, free: 148.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-06/4.969, allocations: 7.953 kB / 1.528 GB, free: 148.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002171/4.971, allocations: 0.8389 MB / 1.529 GB, free: 147.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004951/4.972, allocations: 2.18 MB / 1.531 GB, free: 145 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/4.972, allocations: 7.984 kB / 1.531 GB, free: 144.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004337/4.972, allocations: 96.48 kB / 1.531 GB, free: 144.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003778/4.976, allocations: 260.9 kB / 1.531 GB, free: 144.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005476/4.982, allocations: 6.043 MB / 1.537 GB, free: 138.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/4.983, allocations: 81.33 kB / 1.537 GB, free: 138 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/4.983, allocations: 35.36 kB / 1.537 GB, free: 138 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/4.983, allocations: 4 kB / 1.537 GB, free: 138 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001758/4.985, allocations: 0.7132 MB / 1.538 GB, free: 137.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/4.985, allocations: 8 kB / 1.538 GB, free: 137.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003344/4.986, allocations: 88.45 kB / 1.538 GB, free: 137.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/4.987, allocations: 182.2 kB / 1.538 GB, free: 137 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003542/4.991, allocations: 4.827 MB / 1.543 GB, free: 131.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/4.992, allocations: 72.7 kB / 1.543 GB, free: 131.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/4.992, allocations: 35.98 kB / 1.543 GB, free: 131.7 MB / 0.7761 GB Warning: Assuming fixed start value for the following 1 variables: hex.vol1.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.02513274122871835 * hex.vol1.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003656/4.993, allocations: 157.3 kB / 1.543 GB, free: 131.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/4.993, allocations: 110.6 kB / 1.543 GB, free: 131.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/4.995, allocations: 0.7308 MB / 1.544 GB, free: 130.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/4.995, allocations: 10.81 kB / 1.544 GB, free: 130.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/4.995, allocations: 4 kB / 1.544 GB, free: 130.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00128/4.996, allocations: 0.6534 MB / 1.545 GB, free: 130 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004251/5, allocations: 1.953 MB / 1.546 GB, free: 127.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/5, allocations: 0 / 1.546 GB, free: 127.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003429/5.004, allocations: 228 kB / 1.547 GB, free: 127.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004524/5.004, allocations: 110.4 kB / 1.547 GB, free: 127.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.772e-05/5.004, allocations: 19.98 kB / 1.547 GB, free: 127.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00784/5.012, allocations: 7.48 MB / 1.554 GB, free: 119.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/5.012, allocations: 7.984 kB / 1.554 GB, free: 119.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/5.015, allocations: 1.144 MB / 1.555 GB, free: 118.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007692/5.016, allocations: 251.8 kB / 1.555 GB, free: 118 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/5.016, allocations: 12 kB / 1.556 GB, free: 117.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/5.017, allocations: 64.81 kB / 1.556 GB, free: 117.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/5.017, allocations: 56.39 kB / 1.556 GB, free: 117.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-05/5.017, allocations: 27.11 kB / 1.556 GB, free: 117.8 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001259/5.019, allocations: 0.6115 MB / 1.556 GB, free: 117.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.91e-07/5.019, allocations: 4 kB / 1.556 GB, free: 117.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003909/5.023, allocations: 0.6599 MB / 1.557 GB, free: 116.5 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol1.dynBal.m,hex.vol2.ports[1].h_outflow,hex.capFil1.T,hex.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 3} * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004624/5.027, allocations: 2.68 MB / 1.56 GB, free: 113.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005972/5.033, allocations: 1.755 MB / 1.561 GB, free: 112 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/5.033, allocations: 0 / 1.561 GB, free: 112 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00341/5.037, allocations: 0.7035 MB / 1.562 GB, free: 111.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004499/5.041, allocations: 0.5486 MB / 1.562 GB, free: 110.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005916/5.047, allocations: 1.983 MB / 1.564 GB, free: 108.8 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007187/5.048, allocations: 1.138 MB / 1.565 GB, free: 107.6 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002148/5.05, allocations: 311.3 kB / 1.566 GB, free: 107.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007859/5.051, allocations: 435.3 kB / 1.566 GB, free: 106.9 MB / 0.7761 GB Notification: Performance of SimCode: time 1.322e-06/5.051, allocations: 0 / 1.566 GB, free: 106.9 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1035/5.155, allocations: 38.6 MB / 1.604 GB, free: 69.34 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003667/5.155, allocations: 270.4 kB / 1.604 GB, free: 69 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.302/9.457, allocations: 0 / 1.604 GB, free: 69 MB / 0.7761 GB