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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.467/2.467, allocations: 287.9 MB / 302.9 MB, free: 8.348 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.001437/0.001436, allocations: 183 kB / 371.4 MB, free: 10.66 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 1.993/1.993, allocations: 205.4 MB / 0.6301 GB, free: 10.36 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.001085/0.001084, allocations: 109.5 kB / 0.7434 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004737, allocations: 12.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1543, allocations: 115.3 MB / 0.9788 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00164/0.156, allocations: 1.381 MB / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005361/0.1614, allocations: 3.838 MB / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.1616, allocations: 3.938 kB / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.1627, allocations: 340.4 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.1629, allocations: 47.84 kB / 0.9843 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.1652, allocations: 0.7158 MB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.1654, allocations: 107.8 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.1654, allocations: 9.547 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.918e-05/0.1655, allocations: 55.78 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.1657, allocations: 163.6 kB / 0.9853 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.1658, allocations: 16 kB / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.1679, allocations: 1.244 MB / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.1681, allocations: 267.2 kB / 0.9868 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.1683, allocations: 121.2 kB / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.1697, allocations: 1.025 MB / 0.9879 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.029e-06/0.1698, allocations: 0 / 0.9879 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.361e-06/0.1698, allocations: 0 / 0.9879 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.8e-06/0.1698, allocations: 0 / 0.9879 GB, free: 18.77 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.008962/0.1788, allocations: 1.228 MB / 0.9891 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1788, allocations: 16.02 kB / 0.9891 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003878/0.1792, allocations: 102.6 kB / 0.9892 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.1797, allocations: 400.7 kB / 0.9896 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1797, allocations: 7.938 kB / 0.9896 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.1798, allocations: 7.984 kB / 0.9896 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.1802, allocations: 383.2 kB / 0.99 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.71e-06/0.1803, allocations: 4 kB / 0.99 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.1803, allocations: 0 / 0.99 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.033e-06/0.1803, allocations: 4 kB / 0.99 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004713/0.1808, allocations: 435.7 kB / 0.9904 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/0.1814, allocations: 0.6652 MB / 0.991 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.182, allocations: 0.5594 MB / 0.9916 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008408/0.1828, allocations: 1.036 MB / 0.9926 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004238/0.1833, allocations: 408.8 kB / 0.993 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.059e-06/0.1833, allocations: 0 / 0.993 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001379/0.1847, allocations: 1.289 MB / 0.9942 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1847, allocations: 89.23 kB / 0.9943 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.186, allocations: 1.269 MB / 0.9956 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.1861, allocations: 37.67 kB / 0.9956 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.1863, allocations: 285.3 kB / 0.9959 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.1864, allocations: 15.81 kB / 0.9959 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.1864, allocations: 0 / 0.9959 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1865, allocations: 427.8 kB / 0.9963 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.1878, allocations: 1.361 MB / 0.9976 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.1892, allocations: 1.503 MB / 0.9991 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.1908, allocations: 1.895 MB / 1.001 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.295e-06/0.1909, allocations: 3.938 kB / 1.001 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004634/0.1955, allocations: 3.945 MB / 1.005 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1956, allocations: 8.031 kB / 1.005 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.1956, allocations: 0 / 1.005 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1956, allocations: 4 kB / 1.005 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.1958, allocations: 19.92 kB / 1.005 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.762e-06/0.1958, allocations: 0 / 1.005 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005545/0.1964, allocations: 232.3 kB / 1.005 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.973e-05/0.1965, allocations: 20.3 kB / 1.005 GB, free: 0.625 MB / 0.6198 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.000337/0.1968, allocations: 245.6 kB / 1.005 GB, free: 384 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.499e-05/0.1969, allocations: 74.69 kB / 1.005 GB, free: 308 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.1972, allocations: 87.66 kB / 1.005 GB, free: 208 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1972, allocations: 0 / 1.005 GB, free: 208 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.557e-06/0.1973, allocations: 0 / 1.005 GB, free: 208 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.483e-06/0.1973, allocations: 7.984 kB / 1.005 GB, free: 200 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006053/0.1979, allocations: 0.5138 MB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.408e-06/0.1979, allocations: 0 / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.635e-05/0.198, allocations: 12.03 kB / 1.006 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.018e-06/0.198, allocations: 0 / 1.006 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.1981, allocations: 3.984 kB / 1.006 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.629e-06/0.1981, allocations: 4 kB / 1.006 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.08e-06/0.1981, allocations: 0 / 1.006 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.1994, allocations: 1.024 MB / 1.007 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.1996, allocations: 167.7 kB / 1.007 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.404e-05/0.1997, allocations: 0 / 1.007 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.1999, allocations: 8 kB / 1.007 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.2, allocations: 7.984 kB / 1.007 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.2, allocations: 11.98 kB / 1.007 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001152/0.2012, allocations: 0.7101 MB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.45e-07/0.2012, allocations: 4 kB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001233/0.2025, allocations: 395.9 kB / 1.008 GB, free: 13.25 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.001552/0.204, allocations: 486.7 kB / 1.009 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003329/0.2074, allocations: 2.495 MB / 1.011 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.462e-06/0.2074, allocations: 0 / 1.011 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004753/0.2079, allocations: 339.8 kB / 1.011 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.2083, allocations: 56.67 kB / 1.012 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.2116, allocations: 1.977 MB / 1.013 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008123/0.2124, allocations: 1.003 MB / 1.014 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002753/0.2127, allocations: 41.42 kB / 1.014 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.2129, allocations: 27.42 kB / 1.014 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of SimCode: time 2.054e-06/0.2129, allocations: 0 / 1.014 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.0252/0.2381, allocations: 9.539 MB / 1.024 GB, free: 13.29 MB / 0.6511 GB