Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004369/0.004374, allocations: 229.8 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001176/0.001176, allocations: 174.5 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.801/3.801, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.9/3.9, allocations: 472.3 MB / 0.9024 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000631/0.0006313, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1691, allocations: 98.72 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.659/1.828, allocations: 413.9 MB / 1.509 GB, free: 230.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004101/1.829, allocations: 121.6 kB / 1.509 GB, free: 230.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.071/4.9, allocations: 0.6227 GB / 2.132 GB, free: 130.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.405e-06/4.9, allocations: 0 / 2.132 GB, free: 130.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002287/4.9, allocations: 44.22 kB / 2.132 GB, free: 130.8 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.009077/4.909, allocations: 2.334 MB / 2.134 GB, free: 130.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/4.91, allocations: 7.875 kB / 2.134 GB, free: 130.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/4.911, allocations: 211.3 kB / 2.134 GB, free: 130 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006944/4.918, allocations: 1.995 MB / 2.136 GB, free: 129.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/4.918, allocations: 103.1 kB / 2.136 GB, free: 129.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003958/4.918, allocations: 138.9 kB / 2.136 GB, free: 129.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002966/4.921, allocations: 1.2 MB / 2.138 GB, free: 129.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.816e-05/4.921, allocations: 7.891 kB / 2.138 GB, free: 129.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/4.921, allocations: 46.08 kB / 2.138 GB, free: 129.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.833e-05/4.921, allocations: 32.47 kB / 2.138 GB, free: 129.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/4.924, allocations: 0.9163 MB / 2.139 GB, free: 129.4 MB / 0.823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01783/4.942, allocations: 6.889 MB / 2.145 GB, free: 126.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004267/4.946, allocations: 1.089 MB / 2.146 GB, free: 126.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/4.947, allocations: 442.4 kB / 2.147 GB, free: 126.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007238/4.948, allocations: 0.6008 MB / 2.147 GB, free: 126.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009581/4.949, allocations: 427 kB / 2.148 GB, free: 126.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=76): time 3.416e-06/4.949, allocations: 1.531 kB / 2.148 GB, free: 126.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=82): time 0.008979/4.958, allocations: 2.929 MB / 2.151 GB, free: 125.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/4.958, allocations: 70.81 kB / 2.151 GB, free: 125.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/4.96, allocations: 1.363 MB / 2.152 GB, free: 124.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003833/4.961, allocations: 55.77 kB / 2.152 GB, free: 124.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008142/4.962, allocations: 0.6986 MB / 2.153 GB, free: 124.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004313/4.962, allocations: 301.6 kB / 2.153 GB, free: 124.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/4.962, allocations: 28.91 kB / 2.153 GB, free: 124.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001241/4.962, allocations: 358.6 kB / 2.153 GB, free: 124.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/4.964, allocations: 0.5556 MB / 2.154 GB, free: 124.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/4.966, allocations: 0.8729 MB / 2.155 GB, free: 123.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/4.967, allocations: 0.6823 MB / 2.156 GB, free: 123.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/4.967, allocations: 2.219 kB / 2.156 GB, free: 123.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004765/4.972, allocations: 1.776 MB / 2.157 GB, free: 123.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001615/4.972, allocations: 272.6 kB / 2.158 GB, free: 123.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.405e-05/4.972, allocations: 10.64 kB / 2.158 GB, free: 123.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/4.974, allocations: 267.7 kB / 2.158 GB, free: 123.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002739/4.976, allocations: 282.1 kB / 2.158 GB, free: 123.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/4.978, allocations: 1.585 MB / 2.16 GB, free: 122.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00484/4.983, allocations: 154 kB / 2.16 GB, free: 122.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/4.983, allocations: 57.7 kB / 2.16 GB, free: 122.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/4.983, allocations: 7.344 kB / 2.16 GB, free: 122.2 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004327/4.988, allocations: 1.611 MB / 2.161 GB, free: 122.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/4.988, allocations: 7.562 kB / 2.161 GB, free: 122.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009954/4.989, allocations: 256.7 kB / 2.162 GB, free: 122.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00239/4.991, allocations: 262.8 kB / 2.162 GB, free: 122.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/4.993, allocations: 0.9962 MB / 2.163 GB, free: 121.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/4.997, allocations: 152.1 kB / 2.163 GB, free: 121.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/4.997, allocations: 57.75 kB / 2.163 GB, free: 121.6 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 139 * 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.00131/4.999, allocations: 0.5003 MB / 2.164 GB, free: 121.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/4.999, allocations: 145.4 kB / 2.164 GB, free: 121.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002727/5.002, allocations: 1.059 MB / 2.165 GB, free: 121.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/5.002, allocations: 10.58 kB / 2.165 GB, free: 121.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/5.002, allocations: 3.625 kB / 2.165 GB, free: 121.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002086/5.004, allocations: 0.9486 MB / 2.166 GB, free: 121.1 MB / 0.823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006574/5.011, allocations: 2.805 MB / 2.168 GB, free: 120.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/5.011, allocations: 1.562 kB / 2.168 GB, free: 120.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/5.012, allocations: 157.8 kB / 2.169 GB, free: 120.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004774/5.013, allocations: 123.2 kB / 2.169 GB, free: 120.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.81e-05/5.013, allocations: 28.14 kB / 2.169 GB, free: 120.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004386/5.017, allocations: 5.254 MB / 2.174 GB, free: 116 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/5.017, allocations: 1.812 kB / 2.174 GB, free: 116 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00404/5.021, allocations: 1.582 MB / 2.175 GB, free: 115.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/5.022, allocations: 346.7 kB / 2.176 GB, free: 115.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003749/5.023, allocations: 29.89 kB / 2.176 GB, free: 115.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00226/5.025, allocations: 89.52 kB / 2.176 GB, free: 115.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/5.025, allocations: 56.23 kB / 2.176 GB, free: 115.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-05/5.025, allocations: 28.48 kB / 2.176 GB, free: 115.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002275/5.028, allocations: 0.9111 MB / 2.177 GB, free: 115.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.31e-07/5.028, allocations: 1.688 kB / 2.177 GB, free: 115.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005782/5.034, allocations: 1.127 MB / 2.178 GB, free: 115.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (seg.pipFil.vol1.dynBal.U,seg.pipFil.vol2.dynBal.U,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) * Number of clocked states: 0 () * 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.002125/5.036, allocations: 0.8 MB / 2.179 GB, free: 115.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.006126/5.042, allocations: 2.12 MB / 2.181 GB, free: 115.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/5.042, allocations: 0 / 2.181 GB, free: 115.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/5.043, allocations: 0.8069 MB / 2.182 GB, free: 114.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006515/5.05, allocations: 0.7671 MB / 2.182 GB, free: 114.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008194/5.058, allocations: 4.178 MB / 2.186 GB, free: 113.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009315/5.059, allocations: 1.311 MB / 2.188 GB, free: 112.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00284/5.062, allocations: 439.7 kB / 2.188 GB, free: 112.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005981/5.063, allocations: 126.6 kB / 2.188 GB, free: 112.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.042e-06/5.063, allocations: 0 / 2.188 GB, free: 112.5 MB / 0.823 GB Notification: Performance of Templates: time 0.09113/5.154, allocations: 38.84 MB / 2.226 GB, free: 110.7 MB / 0.823 GB