Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadModel(Buildings): time 3.876/3.876, allocations: 432.7 MB / 445.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.877e-05, allocations: 5.031 kB / 0.5384 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1697, allocations: 98.73 MB / 0.6348 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/0.3769, allocations: 139.4 MB / 0.7709 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004501/0.3774, allocations: 107.9 kB / 0.771 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5393/0.9167, allocations: 21.76 MB / 0.7922 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.076e-06/0.9167, allocations: 0 / 0.7922 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.995e-05/0.9168, allocations: 21.81 kB / 0.7922 GB, free: 138.1 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002045/0.9188, allocations: 1.012 MB / 0.7932 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.9189, allocations: 9.406 kB / 0.7932 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000414/0.9193, allocations: 96.05 kB / 0.7933 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006959/0.92, allocations: 431.2 kB / 0.7937 GB, free: 137 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.9201, allocations: 23.81 kB / 0.7938 GB, free: 137 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.9202, allocations: 38.44 kB / 0.7938 GB, free: 137 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.9207, allocations: 380.5 kB / 0.7942 GB, free: 137 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.715e-06/0.9207, allocations: 0 / 0.7942 GB, free: 137 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.9207, allocations: 0 / 0.7942 GB, free: 137 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.581e-06/0.9207, allocations: 5.172 kB / 0.7942 GB, free: 137 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.9212, allocations: 429 kB / 0.7946 GB, free: 137 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008423/0.922, allocations: 0.7381 MB / 0.7953 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006011/0.9227, allocations: 0.5597 MB / 0.7958 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.923, allocations: 330.6 kB / 0.7962 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008204/0.9239, allocations: 1.035 MB / 0.7972 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004406/0.9243, allocations: 398.4 kB / 0.7975 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 3.374e-06/0.9243, allocations: 0 / 0.7975 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.00128/0.9256, allocations: 0.9653 MB / 0.7985 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.9257, allocations: 86.84 kB / 0.7986 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.927, allocations: 1.053 MB / 0.7996 GB, free: 135 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.9271, allocations: 43.73 kB / 0.7996 GB, free: 135 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.9274, allocations: 284.2 kB / 0.7999 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.9274, allocations: 16.31 kB / 0.7999 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/0.9275, allocations: 15.28 kB / 0.7999 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.9277, allocations: 415.4 kB / 0.8003 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.9291, allocations: 1.203 MB / 0.8015 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.9309, allocations: 1.346 MB / 0.8028 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/0.9326, allocations: 1.6 MB / 0.8044 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.836e-06/0.9327, allocations: 7.906 kB / 0.8044 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004713/0.9374, allocations: 3.414 MB / 0.8077 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.9375, allocations: 8 kB / 0.8077 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.9375, allocations: 4 kB / 0.8077 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.9375, allocations: 7.938 kB / 0.8078 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008695/0.9384, allocations: 139.8 kB / 0.8079 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.9385, allocations: 7.938 kB / 0.8079 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006997/0.9392, allocations: 252.2 kB / 0.8081 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.9393, allocations: 60.02 kB / 0.8082 GB, free: 130.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.9394, allocations: 132.9 kB / 0.8083 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.9395, allocations: 62.78 kB / 0.8084 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009821/0.9405, allocations: 0.9389 MB / 0.8093 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.953e-06/0.9405, allocations: 0 / 0.8093 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.9405, allocations: 0 / 0.8093 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.808e-06/0.9406, allocations: 7.984 kB / 0.8093 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.9411, allocations: 496.6 kB / 0.8098 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.9411, allocations: 8.016 kB / 0.8098 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.591e-05/0.9412, allocations: 4 kB / 0.8098 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.452e-06/0.9412, allocations: 0 / 0.8098 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.9412, allocations: 7.984 kB / 0.8098 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.431e-06/0.9412, allocations: 0 / 0.8098 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.298e-06/0.9413, allocations: 0 / 0.8098 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008547/0.9421, allocations: 1.008 MB / 0.8108 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.9422, allocations: 151.9 kB / 0.8109 GB, free: 128 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.783e-05/0.9423, allocations: 4 kB / 0.8109 GB, free: 128 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.9426, allocations: 4 kB / 0.8109 GB, free: 128 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.9426, allocations: 7.984 kB / 0.8109 GB, free: 128 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.9427, allocations: 11.98 kB / 0.8109 GB, free: 128 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00077/0.9434, allocations: 0.6503 MB / 0.8116 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.78e-07/0.9435, allocations: 0 / 0.8116 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001667/0.9451, allocations: 499.4 kB / 0.8121 GB, free: 126.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002012/0.9472, allocations: 0.5634 MB / 0.8126 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002418/0.9496, allocations: 2.347 MB / 0.8149 GB, free: 124 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.809e-06/0.9496, allocations: 0 / 0.8149 GB, free: 124 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.95, allocations: 335.8 kB / 0.8152 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.9503, allocations: 37.16 kB / 0.8153 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.9522, allocations: 1.419 MB / 0.8166 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.9527, allocations: 0.9852 MB / 0.8176 GB, free: 121.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002769/0.953, allocations: 55.31 kB / 0.8177 GB, free: 121.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.9531, allocations: 39.41 kB / 0.8177 GB, free: 121.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.72e-06/0.9531, allocations: 0 / 0.8177 GB, free: 121.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.02536/0.9785, allocations: 9.294 MB / 0.8268 GB, free: 111.8 MB / 0.6511 GB