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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadModel(Buildings): time 3.782/3.782, allocations: 432.7 MB / 445.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.037e-05, allocations: 6.422 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1783, allocations: 98.72 MB / 0.6348 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2255/0.4038, allocations: 139.4 MB / 0.7709 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/0.4042, allocations: 115.9 kB / 0.771 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6466/1.051, allocations: 24.99 MB / 0.7954 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.88e-06/1.051, allocations: 0 / 0.7954 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.462e-05/1.051, allocations: 18.94 kB / 0.7954 GB, free: 137.7 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.002505/1.053, allocations: 1.344 MB / 0.7967 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.053, allocations: 12.92 kB / 0.7967 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005189/1.054, allocations: 165.5 kB / 0.7969 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/1.055, allocations: 0.6441 MB / 0.7975 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/1.055, allocations: 23.59 kB / 0.7975 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/1.055, allocations: 38.09 kB / 0.7976 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/1.056, allocations: 377.7 kB / 0.7979 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/1.056, allocations: 0.9688 kB / 0.7979 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/1.056, allocations: 1.469 kB / 0.7979 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.586e-06/1.056, allocations: 7.953 kB / 0.7979 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/1.056, allocations: 433.9 kB / 0.7983 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/1.058, allocations: 0.9836 MB / 0.7993 GB, free: 136 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/1.058, allocations: 0.5593 MB / 0.7998 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/1.059, allocations: 329.2 kB / 0.8002 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008569/1.06, allocations: 1.041 MB / 0.8012 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003551/1.06, allocations: 395.3 kB / 0.8016 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 4.988e-06/1.06, allocations: 0 / 0.8016 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.001208/1.061, allocations: 1.03 MB / 0.8026 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/1.061, allocations: 83.69 kB / 0.8026 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/1.063, allocations: 1.608 MB / 0.8042 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001899/1.064, allocations: 48.66 kB / 0.8043 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005444/1.064, allocations: 495 kB / 0.8047 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/1.064, allocations: 19.06 kB / 0.8047 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/1.064, allocations: 15.41 kB / 0.8048 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.065, allocations: 409.4 kB / 0.8052 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/1.067, allocations: 1.467 MB / 0.8066 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/1.068, allocations: 1.606 MB / 0.8082 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/1.071, allocations: 1.865 MB / 0.81 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/1.071, allocations: 0 / 0.81 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005872/1.077, allocations: 4.014 MB / 0.8139 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.077, allocations: 4 kB / 0.8139 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/1.077, allocations: 27.92 kB / 0.8139 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/1.077, allocations: 4 kB / 0.8139 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009016/1.078, allocations: 147.8 kB / 0.8141 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/1.078, allocations: 8.062 kB / 0.8141 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/1.079, allocations: 244.3 kB / 0.8143 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/1.079, allocations: 91.98 kB / 0.8144 GB, free: 124.6 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.0001332/1.079, allocations: 133.3 kB / 0.8145 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/1.079, allocations: 122 kB / 0.8146 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/1.081, allocations: 1.004 MB / 0.8156 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.788e-06/1.081, allocations: 0 / 0.8156 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.765e-06/1.081, allocations: 0 / 0.8156 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.26e-06/1.081, allocations: 3.984 kB / 0.8156 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008511/1.081, allocations: 0.6793 MB / 0.8163 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.579e-06/1.082, allocations: 0 / 0.8163 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/1.082, allocations: 16 kB / 0.8163 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/1.082, allocations: 0 / 0.8163 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/1.082, allocations: 7.984 kB / 0.8163 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.197e-06/1.082, allocations: 0 / 0.8163 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.961e-06/1.082, allocations: 4.031 kB / 0.8163 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000923/1.083, allocations: 1.065 MB / 0.8174 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/1.083, allocations: 203.1 kB / 0.8176 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/1.083, allocations: 7.984 kB / 0.8176 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000474/1.084, allocations: 128 / 0.8176 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/1.084, allocations: 11.98 kB / 0.8176 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/1.084, allocations: 11.98 kB / 0.8176 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001441/1.085, allocations: 1.101 MB / 0.8187 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.63e-07/1.085, allocations: 0 / 0.8187 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001767/1.087, allocations: 0.5228 MB / 0.8192 GB, free: 119.6 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.001696/1.089, allocations: 0.5653 MB / 0.8197 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002583/1.091, allocations: 2.499 MB / 0.8222 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.564e-06/1.091, allocations: 0 / 0.8222 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003029/1.092, allocations: 335.8 kB / 0.8225 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/1.092, allocations: 65.53 kB / 0.8225 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/1.095, allocations: 2.1 MB / 0.8246 GB, free: 114 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007049/1.096, allocations: 1.187 MB / 0.8258 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005359/1.096, allocations: 122.4 kB / 0.8259 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/1.096, allocations: 71.38 kB / 0.8259 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.833e-06/1.096, allocations: 0 / 0.8259 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.02903/1.125, allocations: 11.58 MB / 0.8372 GB, free: 101.1 MB / 0.6511 GB