Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003999/0.004004, allocations: 356.8 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.488/1.488, allocations: 165.8 MB / 182.5 MB, free: 5.586 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.885/3.885, allocations: 410.8 MB / 0.5995 GB, free: 15.14 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001777/0.001777, allocations: 198.7 kB / 0.6662 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007476/0.0007479, allocations: 12 kB / 0.7423 GB, free: 8.922 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3293, allocations: 67.45 MB / 0.8082 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001269/0.3306, allocations: 1.104 MB / 0.8093 GB, free: 27.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004183/0.3348, allocations: 2.828 MB / 0.812 GB, free: 24.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.3349, allocations: 0 / 0.812 GB, free: 24.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.3351, allocations: 15.92 kB / 0.812 GB, free: 24.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.3353, allocations: 23.84 kB / 0.8121 GB, free: 24.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.3381, allocations: 0.757 MB / 0.8128 GB, free: 24.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.3383, allocations: 91.72 kB / 0.8129 GB, free: 23.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.3383, allocations: 4 kB / 0.8129 GB, free: 23.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.3384, allocations: 35.86 kB / 0.8129 GB, free: 23.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.3386, allocations: 167.8 kB / 0.8131 GB, free: 23.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.3387, allocations: 12 kB / 0.8131 GB, free: 23.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.341, allocations: 1.302 MB / 0.8144 GB, free: 22.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.3412, allocations: 251.3 kB / 0.8146 GB, free: 22.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.889e-05/0.3414, allocations: 121.2 kB / 0.8147 GB, free: 22.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.3429, allocations: 0.9764 MB / 0.8157 GB, free: 21.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.471e-06/0.3429, allocations: 0 / 0.8157 GB, free: 21.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.151e-06/0.3429, allocations: 0 / 0.8157 GB, free: 21.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.804e-06/0.3429, allocations: 0 / 0.8157 GB, free: 21.09 MB / 378.7 MB 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.009181/0.3521, allocations: 1.164 MB / 0.8168 GB, free: 19.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3522, allocations: 15.97 kB / 0.8168 GB, free: 19.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/0.3526, allocations: 86.75 kB / 0.8169 GB, free: 19.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.353, allocations: 355.6 kB / 0.8173 GB, free: 19.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.353, allocations: 4 kB / 0.8173 GB, free: 19.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.3531, allocations: 11.94 kB / 0.8173 GB, free: 19.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/0.3535, allocations: 395.1 kB / 0.8177 GB, free: 18.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3536, allocations: 0 / 0.8177 GB, free: 18.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.3536, allocations: 7.984 kB / 0.8177 GB, free: 18.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.924e-06/0.3536, allocations: 0 / 0.8177 GB, free: 18.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.3541, allocations: 435.7 kB / 0.8181 GB, free: 18.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005539/0.3546, allocations: 0.6248 MB / 0.8187 GB, free: 17.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005304/0.3552, allocations: 0.5672 MB / 0.8192 GB, free: 17.26 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.3555, allocations: 337.7 kB / 0.8196 GB, free: 16.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009052/0.3564, allocations: 1.036 MB / 0.8206 GB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004371/0.3569, allocations: 416.8 kB / 0.821 GB, free: 15.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 3.277e-06/0.3569, allocations: 0 / 0.821 GB, free: 15.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001391/0.3583, allocations: 1.289 MB / 0.8222 GB, free: 13.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.3584, allocations: 85.11 kB / 0.8223 GB, free: 13.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.3596, allocations: 1.194 MB / 0.8235 GB, free: 12.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/0.3597, allocations: 29.7 kB / 0.8235 GB, free: 12.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.3599, allocations: 257.4 kB / 0.8237 GB, free: 12.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.3599, allocations: 19.75 kB / 0.8238 GB, free: 12.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.3599, allocations: 8 kB / 0.8238 GB, free: 12.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3601, allocations: 411.8 kB / 0.8242 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.3614, allocations: 1.369 MB / 0.8255 GB, free: 10.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.3628, allocations: 1.486 MB / 0.827 GB, free: 9.035 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.3644, allocations: 1.895 MB / 0.8288 GB, free: 7.125 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.313e-06/0.3645, allocations: 0 / 0.8288 GB, free: 7.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004685/0.3692, allocations: 3.949 MB / 0.8327 GB, free: 3.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.3692, allocations: 11.89 kB / 0.8327 GB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.3692, allocations: 0 / 0.8327 GB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3693, allocations: 4 kB / 0.8327 GB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.3695, allocations: 15.98 kB / 0.8327 GB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.477e-06/0.3695, allocations: 0 / 0.8327 GB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005552/0.37, allocations: 236.3 kB / 0.8329 GB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/0.3701, allocations: 19.98 kB / 0.8329 GB, free: 2.855 MB / 378.7 MB 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.0003153/0.3705, allocations: 245.6 kB / 0.8332 GB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.3705, allocations: 62.78 kB / 0.8332 GB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.3709, allocations: 82.78 kB / 0.8333 GB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.833e-06/0.3709, allocations: 0 / 0.8333 GB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.135e-06/0.3709, allocations: 0 / 0.8333 GB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.705e-06/0.3709, allocations: 7.875 kB / 0.8333 GB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.3714, allocations: 496.7 kB / 0.8338 GB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.076e-06/0.3714, allocations: 8.031 kB / 0.8338 GB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.324e-05/0.3715, allocations: 4 kB / 0.8338 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.83e-06/0.3715, allocations: 0 / 0.8338 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.3715, allocations: 7.984 kB / 0.8338 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.48e-06/0.3715, allocations: 3.953 kB / 0.8338 GB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.578e-06/0.3716, allocations: 0 / 0.8338 GB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000943/0.3725, allocations: 0.9974 MB / 0.8348 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/0.3726, allocations: 155.9 kB / 0.8349 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.582e-05/0.3727, allocations: 0 / 0.8349 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.3729, allocations: 4 kB / 0.8349 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.373, allocations: 15.88 kB / 0.835 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/0.373, allocations: 11.98 kB / 0.835 GB, free: 0.668 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007692/0.3738, allocations: 0.6609 MB / 0.8356 GB, free: 0 / 378.7 MB Notification: Performance of sort global known variables: time 9.38e-07/0.3739, allocations: 4.047 kB / 0.8356 GB, free: 15.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001202/0.3751, allocations: 387.8 kB / 0.836 GB, free: 15.61 MB / 394.7 MB 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.3766, allocations: 478.8 kB / 0.8364 GB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003372/0.38, allocations: 2.495 MB / 0.8389 GB, free: 12.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.246e-06/0.3801, allocations: 0 / 0.8389 GB, free: 12.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004903/0.3806, allocations: 339.8 kB / 0.8392 GB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.381, allocations: 36.48 kB / 0.8392 GB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.384, allocations: 1.826 MB / 0.841 GB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008014/0.3849, allocations: 0.9837 MB / 0.842 GB, free: 9.398 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002481/0.3851, allocations: 40.55 kB / 0.842 GB, free: 9.359 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.3853, allocations: 23.42 kB / 0.842 GB, free: 9.336 MB / 394.7 MB Notification: Performance of SimCode: time 1.687e-06/0.3853, allocations: 0 / 0.842 GB, free: 9.336 MB / 394.7 MB Notification: Performance of Templates: time 0.02403/0.4093, allocations: 8.977 MB / 0.8508 GB, free: 408 kB / 394.7 MB