Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadModel(Buildings): time 4.031/4.031, allocations: 464.6 MB / 476.8 MB, free: 2.117 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.151e-05/3.159e-05, allocations: 7.938 kB / 0.5731 GB, free: 5.719 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.198, allocations: 107.2 MB / 0.6778 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.245, allocations: 422.4 MB / 1.09 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/1.246, allocations: 103.2 kB / 1.09 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.905/4.151, allocations: 0.6304 GB / 1.721 GB, free: 76.57 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.863e-06/4.151, allocations: 0 / 1.721 GB, free: 76.57 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003175/4.151, allocations: 44 kB / 1.721 GB, free: 76.53 MB / 0.8855 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.007271/4.159, allocations: 2.023 MB / 1.723 GB, free: 74.45 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/4.159, allocations: 12.03 kB / 1.723 GB, free: 74.44 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/4.16, allocations: 213.6 kB / 1.723 GB, free: 74.23 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005559/4.165, allocations: 2.05 MB / 1.725 GB, free: 72.12 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/4.166, allocations: 94.16 kB / 1.725 GB, free: 72.03 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004112/4.166, allocations: 140.8 kB / 1.725 GB, free: 71.89 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/4.169, allocations: 1.169 MB / 1.726 GB, free: 70.67 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.513e-05/4.169, allocations: 0 / 1.726 GB, free: 70.67 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/4.169, allocations: 47.95 kB / 1.726 GB, free: 70.62 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/4.169, allocations: 31.98 kB / 1.726 GB, free: 70.59 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/4.171, allocations: 0.8788 MB / 1.727 GB, free: 69.71 MB / 0.8855 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.01273/4.184, allocations: 6.951 MB / 1.734 GB, free: 62.36 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003061/4.187, allocations: 1.057 MB / 1.735 GB, free: 61.29 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008667/4.188, allocations: 456.8 kB / 1.736 GB, free: 60.84 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005668/4.188, allocations: 0.6059 MB / 1.736 GB, free: 60.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000864/4.189, allocations: 424.5 kB / 1.737 GB, free: 59.67 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=78): time 4.608e-06/4.189, allocations: 0 / 1.737 GB, free: 59.67 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82): time 0.006231/4.195, allocations: 2.276 MB / 1.739 GB, free: 57.34 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/4.195, allocations: 60.19 kB / 1.739 GB, free: 57.27 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002411/4.198, allocations: 1.235 MB / 1.74 GB, free: 56.02 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003668/4.198, allocations: 53.7 kB / 1.74 GB, free: 55.96 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008029/4.199, allocations: 0.6887 MB / 1.741 GB, free: 55.27 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000431/4.199, allocations: 295.8 kB / 1.741 GB, free: 54.97 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/4.2, allocations: 28 kB / 1.741 GB, free: 54.95 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000113/4.2, allocations: 353.9 kB / 1.741 GB, free: 54.59 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/4.201, allocations: 0.5467 MB / 1.742 GB, free: 54.05 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/4.203, allocations: 0.8486 MB / 1.743 GB, free: 53.09 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/4.204, allocations: 0.6636 MB / 1.743 GB, free: 52.42 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.213e-06/4.204, allocations: 11.94 kB / 1.743 GB, free: 52.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.00421/4.209, allocations: 1.731 MB / 1.745 GB, free: 50.66 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004622/4.209, allocations: 2.302 MB / 1.747 GB, free: 48.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/4.209, allocations: 8 kB / 1.747 GB, free: 48.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009194/4.21, allocations: 252 kB / 1.748 GB, free: 47.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/4.212, allocations: 271.5 kB / 1.748 GB, free: 47.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/4.213, allocations: 1.586 MB / 1.749 GB, free: 46.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003092/4.217, allocations: 163.6 kB / 1.75 GB, free: 45.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/4.217, allocations: 59.97 kB / 1.75 GB, free: 45.85 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/4.217, allocations: 4 kB / 1.75 GB, free: 45.84 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003453/4.22, allocations: 1.566 MB / 1.751 GB, free: 44.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-05/4.22, allocations: 8.094 kB / 1.751 GB, free: 44.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008366/4.221, allocations: 256.4 kB / 1.751 GB, free: 44.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/4.223, allocations: 255.6 kB / 1.752 GB, free: 43.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/4.224, allocations: 0.9818 MB / 1.753 GB, free: 42.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003849/4.228, allocations: 163.6 kB / 1.753 GB, free: 42.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003891/4.229, allocations: 59.92 kB / 1.753 GB, free: 42.54 MB / 0.8855 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.0003837/4.229, allocations: 180.6 kB / 1.753 GB, free: 42.36 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004258/4.229, allocations: 154 kB / 1.753 GB, free: 42.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/4.232, allocations: 1.041 MB / 1.754 GB, free: 41.14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/4.232, allocations: 12 kB / 1.754 GB, free: 41.12 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/4.232, allocations: 7.953 kB / 1.754 GB, free: 41.12 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001815/4.234, allocations: 0.9353 MB / 1.755 GB, free: 40.14 MB / 0.8855 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.005742/4.24, allocations: 2.828 MB / 1.758 GB, free: 37.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/4.24, allocations: 4.188 kB / 1.758 GB, free: 37.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009726/4.241, allocations: 144 kB / 1.758 GB, free: 37.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004259/4.241, allocations: 126.5 kB / 1.758 GB, free: 36.94 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/4.241, allocations: 27.98 kB / 1.758 GB, free: 36.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003892/4.245, allocations: 5.239 MB / 1.763 GB, free: 31.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.248e-06/4.245, allocations: 4.031 kB / 1.763 GB, free: 31.24 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/4.248, allocations: 1.617 MB / 1.765 GB, free: 29.55 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/4.25, allocations: 363 kB / 1.765 GB, free: 29.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00046/4.25, allocations: 27.94 kB / 1.765 GB, free: 29.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/4.252, allocations: 99.69 kB / 1.765 GB, free: 29.05 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/4.252, allocations: 56.64 kB / 1.765 GB, free: 29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/4.252, allocations: 31.98 kB / 1.765 GB, free: 28.96 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0019/4.254, allocations: 0.9336 MB / 1.766 GB, free: 28.03 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.115e-06/4.254, allocations: 0 / 1.766 GB, free: 28.03 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00486/4.259, allocations: 1.136 MB / 1.767 GB, free: 26.89 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (73): * Single equations (assignments): 63 * 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.001987/4.261, allocations: 0.8496 MB / 1.768 GB, free: 26.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005248/4.266, allocations: 2.079 MB / 1.77 GB, free: 23.97 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.483e-06/4.266, allocations: 0 / 1.77 GB, free: 23.97 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/4.268, allocations: 0.7742 MB / 1.771 GB, free: 23.17 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004422/4.272, allocations: 0.7651 MB / 1.772 GB, free: 22.41 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00635/4.279, allocations: 2.976 MB / 1.775 GB, free: 19.39 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009182/4.28, allocations: 1.308 MB / 1.776 GB, free: 18.05 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003113/4.283, allocations: 0.5317 MB / 1.777 GB, free: 17.52 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/4.283, allocations: 103.4 kB / 1.777 GB, free: 17.41 MB / 0.8855 GB Notification: Performance of SimCode: time 1.748e-06/4.283, allocations: 0 / 1.777 GB, free: 17.41 MB / 0.8855 GB Notification: Performance of Templates: time 0.7114/4.995, allocations: 41.97 MB / 1.818 GB, free: 156 MB / 0.8855 GB