Running command: translateModel(Buildings.Fluid.HeatExchangers.Ground.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.HeatExchangers.Ground.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadModel(Buildings): time 3.899/3.899, allocations: 403.9 MB / 411 MB, free: 356 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.519e-05/2.502e-05, allocations: 8 kB / 0.4942 GB, free: 1.367 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5144/0.5144, allocations: 92.7 MB / 0.5847 GB, free: 2.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8976/1.412, allocations: 406.3 MB / 0.9815 GB, free: 11.17 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/1.413, allocations: 113.2 kB / 0.9816 GB, free: 11.11 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.701/4.114, allocations: 0.6101 GB / 1.592 GB, free: 47.29 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.367e-06/4.114, allocations: 0 / 1.592 GB, free: 47.29 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002024/4.114, allocations: 43.98 kB / 1.592 GB, free: 47.25 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005979/4.12, allocations: 2.065 MB / 1.594 GB, free: 45.13 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/4.12, allocations: 16.02 kB / 1.594 GB, free: 45.11 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/4.121, allocations: 217.5 kB / 1.594 GB, free: 44.9 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03456/4.156, allocations: 13.14 MB / 1.607 GB, free: 31.59 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/4.156, allocations: 40 kB / 1.607 GB, free: 31.55 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004381/4.156, allocations: 84 kB / 1.607 GB, free: 31.46 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0022/4.159, allocations: 0.8636 MB / 1.608 GB, free: 30.6 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/4.161, allocations: 1.131 MB / 1.609 GB, free: 29.37 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.832e-05/4.161, allocations: 7.906 kB / 1.609 GB, free: 29.36 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/4.161, allocations: 4 kB / 1.609 GB, free: 29.36 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/4.161, allocations: 35.94 kB / 1.609 GB, free: 29.32 MB / 0.7605 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.0129/4.174, allocations: 7.607 MB / 1.616 GB, free: 21.3 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002895/4.177, allocations: 1.039 MB / 1.617 GB, free: 20.23 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008636/4.178, allocations: 447.7 kB / 1.618 GB, free: 19.79 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003624/4.179, allocations: 276.1 kB / 1.618 GB, free: 19.47 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008151/4.179, allocations: 0.5022 MB / 1.619 GB, free: 18.93 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=78): time 4.199e-06/4.179, allocations: 0 / 1.619 GB, free: 18.93 MB / 0.7605 GB Notification: Performance of matching and sorting (n=86): time 0.00903/4.188, allocations: 3.173 MB / 1.622 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/4.189, allocations: 273.8 kB / 1.622 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/4.19, allocations: 1.028 MB / 1.623 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002744/4.191, allocations: 25.7 kB / 1.623 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007057/4.191, allocations: 0.7186 MB / 1.624 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003941/4.192, allocations: 307.5 kB / 1.624 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/4.192, allocations: 0 / 1.624 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000112/4.192, allocations: 357.9 kB / 1.624 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/4.193, allocations: 0.5311 MB / 1.625 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/4.194, allocations: 0.8897 MB / 1.626 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/4.196, allocations: 0.7072 MB / 1.626 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.44e-06/4.196, allocations: 4 kB / 1.626 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.004467/4.201, allocations: 1.742 MB / 1.628 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006413/4.202, allocations: 3.191 MB / 1.631 GB, free: 5.426 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/4.202, allocations: 12 kB / 1.631 GB, free: 5.414 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009406/4.203, allocations: 264.7 kB / 1.631 GB, free: 5.152 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002345/4.205, allocations: 319.5 kB / 1.632 GB, free: 4.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/4.207, allocations: 1.697 MB / 1.633 GB, free: 3.094 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/4.21, allocations: 107.6 kB / 1.633 GB, free: 2.988 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002954/4.21, allocations: 59.98 kB / 1.634 GB, free: 2.93 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/4.21, allocations: 8 kB / 1.634 GB, free: 2.922 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003959/4.214, allocations: 1.566 MB / 1.635 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/4.214, allocations: 12 kB / 1.635 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008206/4.215, allocations: 265.7 kB / 1.635 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/4.217, allocations: 271.6 kB / 1.636 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/4.218, allocations: 1.091 MB / 1.637 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00283/4.221, allocations: 115.5 kB / 1.637 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000279/4.222, allocations: 59.98 kB / 1.637 GB, free: 15.52 MB / 0.7761 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: seg.pipFil.Rgg.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow rate from port_a -> port_b" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (150): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * 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 29} Notification: Performance of prepare postOptimizeDAE: time 0.0005015/4.222, allocations: 176 kB / 1.637 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/4.223, allocations: 138.5 kB / 1.637 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003035/4.226, allocations: 1.027 MB / 1.638 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/4.226, allocations: 19.97 kB / 1.638 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/4.226, allocations: 0 / 1.638 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002335/4.228, allocations: 0.9388 MB / 1.639 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007067/4.235, allocations: 3.032 MB / 1.642 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/4.235, allocations: 11.98 kB / 1.642 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/4.237, allocations: 203.7 kB / 1.642 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004186/4.237, allocations: 114.5 kB / 1.642 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.883e-05/4.237, allocations: 20 kB / 1.642 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00693/4.244, allocations: 5.826 MB / 1.648 GB, free: 3.387 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/4.244, allocations: 7.969 kB / 1.648 GB, free: 3.379 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004113/4.249, allocations: 1.715 MB / 1.65 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/4.25, allocations: 331.3 kB / 1.65 GB, free: 1.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/4.25, allocations: 19.98 kB / 1.65 GB, free: 1.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/4.252, allocations: 79.77 kB / 1.65 GB, free: 1.105 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/4.252, allocations: 68.81 kB / 1.65 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/4.252, allocations: 31.98 kB / 1.65 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001564/4.254, allocations: 0.7483 MB / 1.651 GB, free: 264 kB / 0.7761 GB Notification: Performance of sort global known variables: time 7.88e-07/4.254, allocations: 0 / 1.651 GB, free: 264 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.5011/4.755, allocations: 1.069 MB / 1.652 GB, free: 128.8 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (seg.pipFil.vol1.dynBal.medium.T,seg.pipFil.vol2.dynBal.medium.T,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: 5 (seg.TBouCon.iSam,seg.TBouCon.port.T,seg.TBouCon.UOld,seg.TBouCon.QAve_flow,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * 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,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002085/4.757, allocations: 0.802 MB / 1.653 GB, free: 128.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005899/4.763, allocations: 2.217 MB / 1.655 GB, free: 128.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.04e-06/4.763, allocations: 6.812 kB / 1.655 GB, free: 128.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002255/4.765, allocations: 0.8833 MB / 1.656 GB, free: 128.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003749/4.769, allocations: 0.5999 MB / 1.656 GB, free: 128.1 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/4.776, allocations: 3.005 MB / 1.659 GB, free: 127.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/4.777, allocations: 1.333 MB / 1.661 GB, free: 126.7 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003358/4.78, allocations: 0.51 MB / 1.661 GB, free: 126.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005082/4.781, allocations: 91.66 kB / 1.661 GB, free: 126.6 MB / 0.7761 GB Notification: Performance of SimCode: time 1.406e-06/4.781, allocations: 2.469 kB / 1.661 GB, free: 126.6 MB / 0.7761 GB Notification: Performance of Templates: time 0.07469/4.855, allocations: 34.9 MB / 1.695 GB, free: 125.5 MB / 0.7761 GB