Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadModel(Buildings): time 3.771/3.771, allocations: 432.8 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.432e-05/3.446e-05, allocations: 4.875 kB / 0.5337 GB, free: 12.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1688, allocations: 98.72 MB / 0.6301 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9674/1.136, allocations: 413.9 MB / 1.034 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/1.137, allocations: 107.1 kB / 1.034 GB, free: 2.859 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.713/3.85, allocations: 0.6252 GB / 1.66 GB, free: 67.56 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.877e-06/3.85, allocations: 0 / 1.66 GB, free: 67.56 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001657/3.85, allocations: 43.98 kB / 1.66 GB, free: 67.52 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.005069/3.855, allocations: 2.027 MB / 1.662 GB, free: 65.44 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/3.855, allocations: 12.02 kB / 1.662 GB, free: 65.43 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008668/3.856, allocations: 209.7 kB / 1.662 GB, free: 65.22 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005144/3.861, allocations: 2.058 MB / 1.664 GB, free: 63.11 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-05/3.862, allocations: 106.7 kB / 1.664 GB, free: 63 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003087/3.862, allocations: 147.8 kB / 1.664 GB, free: 62.86 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/3.864, allocations: 1.153 MB / 1.665 GB, free: 61.64 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.265e-05/3.864, allocations: 4 kB / 1.665 GB, free: 61.64 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/3.864, allocations: 40 kB / 1.665 GB, free: 61.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-05/3.865, allocations: 32 kB / 1.665 GB, free: 61.57 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/3.866, allocations: 0.8749 MB / 1.666 GB, free: 60.69 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.01274/3.879, allocations: 6.932 MB / 1.673 GB, free: 53.36 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003217/3.882, allocations: 1.073 MB / 1.674 GB, free: 52.28 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008766/3.883, allocations: 442.3 kB / 1.674 GB, free: 51.84 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005624/3.884, allocations: 0.5942 MB / 1.675 GB, free: 51.11 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000858/3.885, allocations: 420.5 kB / 1.675 GB, free: 50.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=76): time 5.537e-06/3.885, allocations: 0 / 1.675 GB, free: 50.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=80): time 0.006663/3.892, allocations: 2.253 MB / 1.678 GB, free: 48.38 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/3.892, allocations: 68.17 kB / 1.678 GB, free: 48.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/3.894, allocations: 1.24 MB / 1.679 GB, free: 47.05 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000387/3.894, allocations: 53.7 kB / 1.679 GB, free: 46.99 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000679/3.895, allocations: 0.6965 MB / 1.68 GB, free: 46.29 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/3.895, allocations: 283.9 kB / 1.68 GB, free: 46 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/3.896, allocations: 35.94 kB / 1.68 GB, free: 45.97 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001034/3.896, allocations: 357.9 kB / 1.68 GB, free: 45.61 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/3.897, allocations: 0.5428 MB / 1.681 GB, free: 45.07 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/3.898, allocations: 0.8549 MB / 1.682 GB, free: 44.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/3.9, allocations: 0.671 MB / 1.682 GB, free: 43.43 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.106e-06/3.9, allocations: 0 / 1.682 GB, free: 43.43 MB / 0.823 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004047/3.904, allocations: 1.769 MB / 1.684 GB, free: 41.65 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004638/3.904, allocations: 2.307 MB / 1.686 GB, free: 39.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/3.904, allocations: 11.94 kB / 1.686 GB, free: 39.18 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008791/3.905, allocations: 255.3 kB / 1.687 GB, free: 38.94 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/3.907, allocations: 271.6 kB / 1.687 GB, free: 38.67 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/3.909, allocations: 1.576 MB / 1.688 GB, free: 37.05 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003176/3.912, allocations: 167.7 kB / 1.689 GB, free: 36.88 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/3.912, allocations: 55.98 kB / 1.689 GB, free: 36.83 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/3.912, allocations: 4 kB / 1.689 GB, free: 36.82 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003544/3.916, allocations: 1.597 MB / 1.69 GB, free: 35.22 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/3.916, allocations: 8.469 kB / 1.69 GB, free: 35.21 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007894/3.916, allocations: 256.2 kB / 1.69 GB, free: 34.96 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/3.918, allocations: 255.6 kB / 1.691 GB, free: 34.71 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/3.919, allocations: 0.9895 MB / 1.692 GB, free: 33.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/3.922, allocations: 163.6 kB / 1.692 GB, free: 33.54 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002082/3.923, allocations: 55.98 kB / 1.692 GB, free: 33.48 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.seg.TBouCon.iSam,seg.TBouCon.iSam,$PRE.seg.TBouCon.UOld,seg.TBouCon.UOld,$PRE.seg.TBouCon.QAve_flow,seg.TBouCon.QAve_flow,$whenCondition1,$PRE.seg.TBouCon.port.T,seg.TBouCon.port.T) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 25} Notification: Performance of prepare postOptimizeDAE: time 0.0003497/3.923, allocations: 175.1 kB / 1.692 GB, free: 33.31 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/3.923, allocations: 158.1 kB / 1.692 GB, free: 33.15 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/3.926, allocations: 1.03 MB / 1.693 GB, free: 32.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/3.926, allocations: 12 kB / 1.693 GB, free: 32.09 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.857e-06/3.926, allocations: 4 kB / 1.693 GB, free: 32.08 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001646/3.927, allocations: 0.9196 MB / 1.694 GB, free: 31.12 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 postOpt removeSimpleEquations (simulation): time 0.005163/3.932, allocations: 2.776 MB / 1.697 GB, free: 28.26 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.167e-06/3.933, allocations: 0 / 1.697 GB, free: 28.26 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009797/3.934, allocations: 139.8 kB / 1.697 GB, free: 28.12 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003859/3.934, allocations: 118.6 kB / 1.697 GB, free: 28 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-05/3.934, allocations: 35.94 kB / 1.697 GB, free: 27.96 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003779/3.938, allocations: 5.231 MB / 1.702 GB, free: 22.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.651e-06/3.938, allocations: 32 / 1.702 GB, free: 22.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002962/3.941, allocations: 1.553 MB / 1.704 GB, free: 20.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009027/3.942, allocations: 363 kB / 1.704 GB, free: 20.32 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/3.942, allocations: 23.94 kB / 1.704 GB, free: 20.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/3.944, allocations: 95.7 kB / 1.704 GB, free: 20.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/3.944, allocations: 60.58 kB / 1.704 GB, free: 20.14 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.492e-05/3.944, allocations: 27.98 kB / 1.704 GB, free: 20.12 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00167/3.946, allocations: 0.93 MB / 1.705 GB, free: 19.19 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.28e-06/3.946, allocations: 4 kB / 1.705 GB, free: 19.18 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004036/3.95, allocations: 1.144 MB / 1.706 GB, free: 18.04 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (seg.port_b1.h_outflow,seg.port_a2.h_outflow,seg.pipFil.capFil1.T,seg.pipFil.capFil2.T,seg.soi.T[1],seg.soi.T[2],seg.soi.T[3],seg.soi.T[4],seg.soi.T[5],seg.soi.T[6],seg.soi.T[7],seg.soi.T[8],seg.soi.T[9],seg.TBouCon.U) * Number of discrete variables: 5 ($whenCondition1,seg.TBouCon.QAve_flow,seg.TBouCon.port.T,seg.TBouCon.UOld,seg.TBouCon.iSam) * Number of discrete states: 2 (seg.TBouCon.iSam,seg.TBouCon.UOld) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 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%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001745/3.951, allocations: 0.8412 MB / 1.707 GB, free: 17.22 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004764/3.956, allocations: 2.075 MB / 1.709 GB, free: 15.14 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.653e-06/3.956, allocations: 3.938 kB / 1.709 GB, free: 15.14 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001255/3.958, allocations: 0.7461 MB / 1.71 GB, free: 14.36 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004486/3.962, allocations: 0.7656 MB / 1.711 GB, free: 13.59 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006025/3.968, allocations: 2.955 MB / 1.713 GB, free: 10.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009276/3.969, allocations: 1.308 MB / 1.715 GB, free: 9.262 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002932/3.972, allocations: 0.5241 MB / 1.715 GB, free: 8.73 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/3.972, allocations: 95.41 kB / 1.715 GB, free: 8.637 MB / 0.823 GB Notification: Performance of SimCode: time 1.788e-06/3.972, allocations: 0 / 1.715 GB, free: 8.637 MB / 0.823 GB Notification: Performance of Templates: time 0.5828/4.555, allocations: 41.77 MB / 1.756 GB, free: 136.4 MB / 0.823 GB