Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.51/2.51, allocations: 287.9 MB / 302.9 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001397/0.001397, allocations: 167.6 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.6301 GB, free: 10.43 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 91.23 kB / 0.7434 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.000461, allocations: 17.16 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1525, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001297/0.1538, allocations: 1.112 MB / 0.9799 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004276/0.1581, allocations: 2.822 MB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.088e-05/0.1582, allocations: 0 / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.1584, allocations: 15.91 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.1585, allocations: 19.97 kB / 0.9827 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.1609, allocations: 0.718 MB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.472e-05/0.161, allocations: 55.84 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.161, allocations: 4 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.117e-05/0.1611, allocations: 35.91 kB / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.1613, allocations: 139.7 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.728e-05/0.1614, allocations: 19.94 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/0.1634, allocations: 1.252 MB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.00059/0.164, allocations: 0.6003 MB / 0.9854 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.1642, allocations: 180.9 kB / 0.9856 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.1657, allocations: 1.189 MB / 0.9867 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1658, allocations: 0 / 0.9867 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.209e-06/0.1658, allocations: 0 / 0.9867 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.1658, allocations: 0 / 0.9867 GB, free: 19.98 MB / 0.6198 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.009296/0.1751, allocations: 1.605 MB / 0.9883 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1751, allocations: 12.02 kB / 0.9883 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004163/0.1756, allocations: 145.9 kB / 0.9885 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.1761, allocations: 0.4894 MB / 0.9889 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.1761, allocations: 4 kB / 0.9889 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.1762, allocations: 4 kB / 0.9889 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.1766, allocations: 399.1 kB / 0.9893 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1767, allocations: 0 / 0.9893 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.1767, allocations: 3.938 kB / 0.9893 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-06/0.1767, allocations: 0 / 0.9893 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.1771, allocations: 439.7 kB / 0.9898 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007041/0.1779, allocations: 0.8113 MB / 0.9905 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/0.1784, allocations: 0.5634 MB / 0.9911 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008508/0.1793, allocations: 1.036 MB / 0.9921 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004161/0.1797, allocations: 408.8 kB / 0.9925 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.038e-06/0.1797, allocations: 0 / 0.9925 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001378/0.1811, allocations: 1.351 MB / 0.9938 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.1812, allocations: 77.11 kB / 0.9939 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.1831, allocations: 1.839 MB / 0.9957 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.1831, allocations: 29.7 kB / 0.9957 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.1835, allocations: 473.3 kB / 0.9962 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.1835, allocations: 27.64 kB / 0.9962 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.1836, allocations: 0 / 0.9962 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.1837, allocations: 411 kB / 0.9966 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.1851, allocations: 1.514 MB / 0.9981 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.1866, allocations: 1.642 MB / 0.9997 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.1883, allocations: 2.043 MB / 1.002 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.1883, allocations: 0 / 1.002 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00494/0.1933, allocations: 4.302 MB / 1.006 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.1933, allocations: 8 kB / 1.006 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.1934, allocations: 3.984 kB / 1.006 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1934, allocations: 3.938 kB / 1.006 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.1936, allocations: 12 kB / 1.006 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1936, allocations: 7.938 kB / 1.006 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007227/0.1943, allocations: 232.3 kB / 1.006 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.052e-05/0.1944, allocations: 23.98 kB / 1.006 GB, free: 15.49 MB / 0.6355 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 (16): * Single equations (assignments): 13 * Array equations: 2 * 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.0005872/0.195, allocations: 373.5 kB / 1.006 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.1952, allocations: 118 kB / 1.007 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.1956, allocations: 149 kB / 1.007 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.566e-06/0.1957, allocations: 0 / 1.007 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.962e-06/0.1957, allocations: 4 kB / 1.007 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.822e-06/0.1957, allocations: 0 / 1.007 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008569/0.1966, allocations: 0.6872 MB / 1.007 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.533e-06/0.1966, allocations: 3.984 kB / 1.007 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.552e-05/0.1967, allocations: 4 kB / 1.007 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.857e-06/0.1967, allocations: 0 / 1.007 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.1967, allocations: 7.984 kB / 1.007 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.403e-06/0.1967, allocations: 0 / 1.007 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.598e-06/0.1968, allocations: 0 / 1.007 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.1981, allocations: 1.077 MB / 1.008 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.1984, allocations: 195.1 kB / 1.009 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.1985, allocations: 11.98 kB / 1.009 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.1988, allocations: 4 kB / 1.009 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.1989, allocations: 11.97 kB / 1.009 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.199, allocations: 11.98 kB / 1.009 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001752/0.2007, allocations: 1.104 MB / 1.01 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.89e-07/0.2007, allocations: 0 / 1.01 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001309/0.2021, allocations: 427.9 kB / 1.01 GB, free: 11.18 MB / 0.6355 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.001606/0.2037, allocations: 478.8 kB / 1.011 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003508/0.2072, allocations: 2.648 MB / 1.013 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.275e-06/0.2073, allocations: 4 kB / 1.013 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004763/0.2078, allocations: 343.7 kB / 1.014 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.2082, allocations: 46.5 kB / 1.014 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/0.2126, allocations: 2.71 MB / 1.016 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.2138, allocations: 1.173 MB / 1.017 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002599/0.214, allocations: 36.55 kB / 1.017 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.2142, allocations: 31.36 kB / 1.017 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of SimCode: time 1.691e-06/0.2142, allocations: 0 / 1.017 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of Templates: time 0.02787/0.2421, allocations: 9.541 MB / 1.027 GB, free: 10.14 MB / 0.6511 GB