Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009011/0.009011, 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.001172/0.001172, allocations: 183.8 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 1.817/1.817, allocations: 194.6 MB / 211.3 MB, free: 11 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.108/2.108, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004704, allocations: 19.98 kB / 0.587 GB, free: 2.133 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.531/0.5316, allocations: 98.7 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1997/0.7313, allocations: 139.4 MB / 0.8196 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003609/0.7317, allocations: 115.9 kB / 0.8197 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1374/0.8691, allocations: 24.98 MB / 0.8441 GB, free: 9.645 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.54e-06/0.8691, allocations: 4 kB / 0.8441 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.848e-05/0.8692, allocations: 23.94 kB / 0.8441 GB, free: 9.617 MB / 0.6667 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.00369/0.8729, allocations: 1.637 MB / 0.8457 GB, free: 7.922 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.8729, allocations: 11.98 kB / 0.8457 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005713/0.8735, allocations: 154 kB / 0.8458 GB, free: 7.758 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.8749, allocations: 0.6455 MB / 0.8465 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.875, allocations: 35.92 kB / 0.8465 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.8751, allocations: 36 kB / 0.8465 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005599/0.8757, allocations: 383.2 kB / 0.8469 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.433e-06/0.8757, allocations: 0 / 0.8469 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.8757, allocations: 4 kB / 0.8469 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.212e-06/0.8757, allocations: 7.891 kB / 0.8469 GB, free: 6.574 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005784/0.8763, allocations: 443.7 kB / 0.8473 GB, free: 6.141 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.8779, allocations: 0.9827 MB / 0.8483 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/0.8787, allocations: 0.5672 MB / 0.8489 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/0.8799, allocations: 1.033 MB / 0.8499 GB, free: 3.254 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005548/0.8805, allocations: 400.9 kB / 0.8503 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 3.273e-06/0.8805, allocations: 0 / 0.8503 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.001965/0.8825, allocations: 1.359 MB / 0.8516 GB, free: 1.477 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.8826, allocations: 85.09 kB / 0.8517 GB, free: 1.375 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/0.8853, allocations: 1.634 MB / 0.8533 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.8854, allocations: 41.7 kB / 0.8533 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005778/0.886, allocations: 497.8 kB / 0.8538 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.8861, allocations: 23.7 kB / 0.8538 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.194e-05/0.8862, allocations: 20.12 kB / 0.8538 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002453/0.8864, allocations: 411 kB / 0.8542 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/0.8888, allocations: 1.475 MB / 0.8556 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/0.8914, allocations: 1.619 MB / 0.8572 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002858/0.8943, allocations: 1.864 MB / 0.859 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.947e-06/0.8944, allocations: 4 kB / 0.8591 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007216/0.9016, allocations: 4.044 MB / 0.863 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.9016, allocations: 8 kB / 0.863 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.773e-05/0.9017, allocations: 20 kB / 0.863 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.9018, allocations: 4 kB / 0.863 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009295/0.9027, allocations: 139.8 kB / 0.8632 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.9028, allocations: 4 kB / 0.8632 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.9039, allocations: 248.3 kB / 0.8634 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/0.9041, allocations: 99.92 kB / 0.8635 GB, free: 5.125 MB / 0.6823 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 () * Number of clocked 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.0007234/0.9048, allocations: 377.4 kB / 0.8639 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.905, allocations: 126 kB / 0.864 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.9065, allocations: 1.008 MB / 0.865 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.9065, allocations: 8.031 kB / 0.865 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.617e-06/0.9065, allocations: 0 / 0.865 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.9065, allocations: 3.938 kB / 0.865 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.9076, allocations: 0.6833 MB / 0.8656 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.9076, allocations: 0 / 0.8656 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.9077, allocations: 4 kB / 0.8656 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.9078, allocations: 4 kB / 0.8657 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.9078, allocations: 15.92 kB / 0.8657 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.025e-06/0.9078, allocations: 0 / 0.8657 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.545e-06/0.9078, allocations: 4 kB / 0.8657 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.9092, allocations: 1.065 MB / 0.8667 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.9095, allocations: 215 kB / 0.8669 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.9097, allocations: 4 kB / 0.8669 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/0.9102, allocations: 7.984 kB / 0.8669 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.9102, allocations: 8 kB / 0.8669 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/0.9103, allocations: 15.97 kB / 0.8669 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001922/0.9122, allocations: 1.104 MB / 0.868 GB, free: 336 kB / 0.6823 GB Notification: Performance of sort global known variables: time 1.162e-06/0.9122, allocations: 3.938 kB / 0.868 GB, free: 332 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001813/0.914, allocations: 0.5228 MB / 0.8685 GB, free: 15.8 MB / 0.698 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) * Number of clocked states: 0 () * 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.002029/0.9161, allocations: 0.5678 MB / 0.8691 GB, free: 15.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003552/0.9197, allocations: 2.52 MB / 0.8716 GB, free: 12.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.022e-06/0.9197, allocations: 0 / 0.8716 GB, free: 12.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004575/0.9202, allocations: 339.8 kB / 0.8719 GB, free: 12.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.9207, allocations: 62.53 kB / 0.8719 GB, free: 12.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004516/0.9253, allocations: 2.71 MB / 0.8746 GB, free: 9.555 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.9264, allocations: 1.19 MB / 0.8757 GB, free: 8.336 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000619/0.927, allocations: 130.3 kB / 0.8759 GB, free: 8.207 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.9273, allocations: 63.39 kB / 0.8759 GB, free: 8.145 MB / 0.698 GB Notification: Performance of SimCode: time 1.737e-06/0.9273, allocations: 0 / 0.8759 GB, free: 8.145 MB / 0.698 GB Notification: Performance of Templates: time 0.03363/0.9609, allocations: 11.48 MB / 0.8871 GB, free: 12.69 MB / 0.7136 GB