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.01335/0.01335, allocations: 110.2 kB / 15.05 MB, free: 5.965 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.002036/0.002036, allocations: 179.3 kB / 15.94 MB, free: 5.93 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 2/2, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.121/2.121, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004564, allocations: 12 kB / 0.587 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.537/0.5374, allocations: 98.7 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9522/1.49, allocations: 414 MB / 1.088 GB, free: 38.57 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/1.49, allocations: 118.7 kB / 1.088 GB, free: 38.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.967/4.457, allocations: 0.6271 GB / 1.715 GB, free: 135 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.268e-06/4.458, allocations: 0 / 1.715 GB, free: 135 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002245/4.458, allocations: 43.61 kB / 1.715 GB, free: 135 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.007065/4.465, allocations: 2.334 MB / 1.717 GB, free: 133.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/4.465, allocations: 6.812 kB / 1.717 GB, free: 133.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009688/4.466, allocations: 206.9 kB / 1.717 GB, free: 133.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005278/4.471, allocations: 2.084 MB / 1.719 GB, free: 131.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.01e-05/4.471, allocations: 102.3 kB / 1.72 GB, free: 131.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/4.472, allocations: 141.8 kB / 1.72 GB, free: 131.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/4.474, allocations: 1.189 MB / 1.721 GB, free: 131 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/4.474, allocations: 3.812 kB / 1.721 GB, free: 131 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/4.474, allocations: 43.62 kB / 1.721 GB, free: 131 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/4.474, allocations: 30.16 kB / 1.721 GB, free: 131 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/4.476, allocations: 0.9157 MB / 1.722 GB, free: 130.5 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.01298/4.489, allocations: 6.929 MB / 1.729 GB, free: 124.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/4.493, allocations: 1.092 MB / 1.73 GB, free: 124.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005465/4.493, allocations: 0.6021 MB / 1.73 GB, free: 123.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008053/4.494, allocations: 418.5 kB / 1.731 GB, free: 123.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=76): time 3.874e-06/4.494, allocations: 0 / 1.731 GB, free: 123.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=80): time 0.007113/4.501, allocations: 2.889 MB / 1.733 GB, free: 120.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/4.501, allocations: 68.06 kB / 1.733 GB, free: 120.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/4.503, allocations: 1.253 MB / 1.735 GB, free: 119.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002258/4.504, allocations: 49.7 kB / 1.735 GB, free: 119.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006513/4.504, allocations: 0.6983 MB / 1.735 GB, free: 118.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/4.505, allocations: 294.5 kB / 1.736 GB, free: 118.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/4.505, allocations: 24 kB / 1.736 GB, free: 118.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/4.505, allocations: 357.9 kB / 1.736 GB, free: 118 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/4.506, allocations: 0.5544 MB / 1.737 GB, free: 117.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/4.507, allocations: 0.8806 MB / 1.737 GB, free: 116.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/4.509, allocations: 0.6715 MB / 1.738 GB, free: 115.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.785e-06/4.509, allocations: 2.5 kB / 1.738 GB, free: 115.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003755/4.513, allocations: 1.773 MB / 1.74 GB, free: 114 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004578/4.513, allocations: 2.317 MB / 1.742 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/4.513, allocations: 4 kB / 1.742 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008417/4.514, allocations: 254.7 kB / 1.742 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/4.516, allocations: 273.6 kB / 1.743 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/4.517, allocations: 1.582 MB / 1.744 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003154/4.52, allocations: 159.6 kB / 1.744 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/4.521, allocations: 55.98 kB / 1.744 GB, free: 109.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/4.521, allocations: 4 kB / 1.744 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005819/4.526, allocations: 1.608 MB / 1.746 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.552e-05/4.527, allocations: 4 kB / 1.746 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/4.528, allocations: 253.2 kB / 1.746 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/4.53, allocations: 259.6 kB / 1.746 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/4.532, allocations: 1.003 MB / 1.747 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004513/4.537, allocations: 152.8 kB / 1.748 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002426/4.537, allocations: 59.97 kB / 1.748 GB, free: 105.9 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 (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 {2 26} Notification: Performance of prepare postOptimizeDAE: time 0.001127/4.538, allocations: 0.4957 MB / 1.748 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003797/4.539, allocations: 152.1 kB / 1.748 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/4.541, allocations: 1.05 MB / 1.749 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/4.541, allocations: 8 kB / 1.749 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/4.541, allocations: 6.531 kB / 1.749 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001658/4.543, allocations: 0.9306 MB / 1.75 GB, free: 103.2 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.005481/4.548, allocations: 2.775 MB / 1.753 GB, free: 100.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.311e-06/4.548, allocations: 3.984 kB / 1.753 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009077/4.549, allocations: 139.8 kB / 1.753 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003845/4.55, allocations: 120.8 kB / 1.753 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.225e-05/4.55, allocations: 35.94 kB / 1.753 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00387/4.554, allocations: 5.28 MB / 1.758 GB, free: 94.38 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.022e-06/4.554, allocations: 4.031 kB / 1.758 GB, free: 94.37 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002949/4.557, allocations: 1.578 MB / 1.76 GB, free: 92.75 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009678/4.558, allocations: 355.2 kB / 1.76 GB, free: 92.38 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/4.558, allocations: 23.98 kB / 1.76 GB, free: 92.36 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/4.56, allocations: 97.95 kB / 1.76 GB, free: 92.27 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/4.56, allocations: 55.67 kB / 1.76 GB, free: 92.21 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.357e-05/4.56, allocations: 31.8 kB / 1.76 GB, free: 92.19 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001681/4.562, allocations: 0.9429 MB / 1.761 GB, free: 91.25 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.18e-07/4.562, allocations: 0 / 1.761 GB, free: 91.25 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004259/4.566, allocations: 1.14 MB / 1.762 GB, free: 90.11 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 (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.001708/4.568, allocations: 0.8202 MB / 1.763 GB, free: 89.43 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004658/4.572, allocations: 2.087 MB / 1.765 GB, free: 87.33 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.6e-06/4.572, allocations: 0 / 1.765 GB, free: 87.33 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/4.574, allocations: 0.7917 MB / 1.766 GB, free: 86.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004044/4.578, allocations: 0.7571 MB / 1.767 GB, free: 85.78 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006662/4.584, allocations: 4.153 MB / 1.771 GB, free: 81.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009361/4.585, allocations: 1.309 MB / 1.772 GB, free: 80.36 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0024/4.588, allocations: 436.6 kB / 1.773 GB, free: 79.95 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005129/4.588, allocations: 123.4 kB / 1.773 GB, free: 79.83 MB / 0.823 GB Notification: Performance of SimCode: time 1.737e-06/4.588, allocations: 0 / 1.773 GB, free: 79.83 MB / 0.823 GB Notification: Performance of Templates: time 0.08482/4.673, allocations: 39.01 MB / 1.811 GB, free: 41.59 MB / 0.823 GB