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.ShaGFunction.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.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.591/2.591, allocations: 287.9 MB / 302.9 MB, free: 8.27 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.001414/0.001413, allocations: 179.9 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 1.934/1.934, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001036/0.001036, allocations: 98.39 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004705, allocations: 13.69 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1597, allocations: 115.2 MB / 0.9788 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0006074/0.1604, allocations: 305.9 kB / 0.9791 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1615, allocations: 0.9294 MB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.626e-05/0.1616, allocations: 4 kB / 0.98 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.018e-05/0.1616, allocations: 3.938 kB / 0.98 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007804/0.1624, allocations: 75.84 kB / 0.9801 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.215e-05/0.1624, allocations: 8 kB / 0.9801 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.35e-05/0.1625, allocations: 4 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.1625, allocations: 3.984 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.865e-05/0.1626, allocations: 11.92 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.1627, allocations: 27.98 kB / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.982e-06/0.1627, allocations: 0 / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1628, allocations: 51.89 kB / 0.9802 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.725e-06/0.1629, allocations: 4 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.501e-05/0.1629, allocations: 25.7 kB / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.163, allocations: 47.92 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.163, allocations: 0 / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.088e-06/0.163, allocations: 8 kB / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.096e-06/0.1631, allocations: 0 / 0.9802 GB, free: 26.63 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002218/0.1633, allocations: 327.6 kB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1633, allocations: 12.02 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.1634, allocations: 4 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.112e-05/0.1635, allocations: 163 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1635, allocations: 3.938 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-06/0.1635, allocations: 0 / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.174e-05/0.1636, allocations: 37.7 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.032e-06/0.1636, allocations: 3.984 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.478e-06/0.1636, allocations: 0 / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-06/0.1636, allocations: 0 / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.1637, allocations: 4 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.164, allocations: 468.5 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.956e-05/0.164, allocations: 174.1 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.1641, allocations: 75.28 kB / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1641, allocations: 109.9 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 2.868e-06/0.1641, allocations: 0 / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.872e-05/0.1642, allocations: 33.58 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.1642, allocations: 130.7 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.654e-05/0.1643, allocations: 101.9 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.203e-06/0.1643, allocations: 33.64 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.26e-05/0.1644, allocations: 80.14 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-06/0.1644, allocations: 0 / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-06/0.1644, allocations: 0 / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.965e-05/0.1645, allocations: 318.8 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.529e-06/0.1645, allocations: 0 / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-06/0.1645, allocations: 7.984 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.895e-05/0.1645, allocations: 64 / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1645, allocations: 4 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.1646, allocations: 33.7 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1647, allocations: 4 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1647, allocations: 0 / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1647, allocations: 0 / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.698e-05/0.1647, allocations: 0 / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.905e-06/0.1647, allocations: 0 / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.1648, allocations: 4 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-06/0.1648, allocations: 0 / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 5.701e-05/0.1649, allocations: 197 kB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.1649, allocations: 105 kB / 0.9826 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.165, allocations: 108.1 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.863e-05/0.165, allocations: 180.2 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.008e-05/0.165, allocations: 176.3 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.011e-05/0.1651, allocations: 188.2 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.1652, allocations: 405.2 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/0.1653, allocations: 101.1 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.1653, allocations: 112.9 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-05/0.1653, allocations: 184.3 kB / 0.984 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.1654, allocations: 180.2 kB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.682e-05/0.1654, allocations: 180.3 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.692e-05/0.1654, allocations: 180.3 kB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.323e-05/0.1655, allocations: 307.9 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.1656, allocations: 197.9 kB / 0.985 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.1656, allocations: 184.2 kB / 0.9851 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.1657, allocations: 104.9 kB / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.1658, allocations: 184.2 kB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1658, allocations: 101 kB / 0.9855 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.524e-05/0.1658, allocations: 83.28 kB / 0.9856 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.67e-07/0.1659, allocations: 0 / 0.9856 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003364/0.1662, allocations: 19.98 kB / 0.9856 GB, free: 20.68 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0003642/0.1666, allocations: 236.8 kB / 0.9858 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.917e-05/0.1667, allocations: 7.938 kB / 0.9858 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1667, allocations: 0 / 0.9858 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.445e-06/0.1667, allocations: 3.984 kB / 0.9858 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.1669, allocations: 0.5311 MB / 0.9864 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001867/0.1671, allocations: 151.9 kB / 0.9865 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.1672, allocations: 0.677 MB / 0.9872 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.835e-05/0.1673, allocations: 0 / 0.9872 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.988e-05/0.1673, allocations: 15.44 kB / 0.9872 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of SimCode: time 1.739e-06/0.1673, allocations: 0 / 0.9872 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.003026/0.1703, allocations: 0.6297 MB / 0.9878 GB, free: 18.42 MB / 0.6198 GB