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.002653/0.002653, allocations: 359 kB / 16.59 MB, free: 5.566 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.64/1.64, allocations: 165.8 MB / 183.1 MB, free: 5.43 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 4.026/4.026, allocations: 410.8 MB / 0.6001 GB, free: 15.05 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.001802/0.001801, allocations: 201.1 kB / 0.6668 GB, free: 6.879 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004769, allocations: 12 kB / 0.7429 GB, free: 8.875 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4249, allocations: 67.45 MB / 0.8088 GB, free: 28.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001603/0.4266, allocations: 1.096 MB / 0.8099 GB, free: 27.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005389/0.432, allocations: 2.836 MB / 0.8126 GB, free: 24.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.282e-05/0.4322, allocations: 4 kB / 0.8126 GB, free: 24.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.4323, allocations: 7.875 kB / 0.8126 GB, free: 24.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.4326, allocations: 27.89 kB / 0.8127 GB, free: 24.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.4359, allocations: 0.7559 MB / 0.8134 GB, free: 24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.4361, allocations: 91.72 kB / 0.8135 GB, free: 23.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.882e-05/0.4361, allocations: 7.984 kB / 0.8135 GB, free: 23.9 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.711e-05/0.4362, allocations: 35.86 kB / 0.8135 GB, free: 23.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.4365, allocations: 175.7 kB / 0.8137 GB, free: 23.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.4366, allocations: 12 kB / 0.8137 GB, free: 23.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.4401, allocations: 1.291 MB / 0.815 GB, free: 22.39 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.4404, allocations: 259.2 kB / 0.8152 GB, free: 22.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.4405, allocations: 109.2 kB / 0.8153 GB, free: 22.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.4427, allocations: 0.9842 MB / 0.8163 GB, free: 21.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.4428, allocations: 0 / 0.8163 GB, free: 21.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.4428, allocations: 0 / 0.8163 GB, free: 21.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.4428, allocations: 4 kB / 0.8163 GB, free: 21.04 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.01706/0.4599, allocations: 1.156 MB / 0.8174 GB, free: 19.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.4599, allocations: 11.97 kB / 0.8174 GB, free: 19.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004951/0.4605, allocations: 90.73 kB / 0.8175 GB, free: 19.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.4609, allocations: 355.6 kB / 0.8179 GB, free: 19.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.461, allocations: 4 kB / 0.8179 GB, free: 19.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.932e-05/0.461, allocations: 7.953 kB / 0.8179 GB, free: 19.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/0.4616, allocations: 391.1 kB / 0.8182 GB, free: 18.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4616, allocations: 0 / 0.8182 GB, free: 18.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.4616, allocations: 7.984 kB / 0.8182 GB, free: 18.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.4616, allocations: 8 kB / 0.8183 GB, free: 18.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000546/0.4622, allocations: 427.8 kB / 0.8187 GB, free: 18.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007636/0.463, allocations: 0.6287 MB / 0.8193 GB, free: 17.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006285/0.4636, allocations: 0.5632 MB / 0.8198 GB, free: 17.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.464, allocations: 341.7 kB / 0.8201 GB, free: 16.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/0.4653, allocations: 1.032 MB / 0.8212 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005314/0.4659, allocations: 416.8 kB / 0.8216 GB, free: 15.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 3.196e-06/0.4659, allocations: 0 / 0.8216 GB, free: 15.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001625/0.4675, allocations: 1.289 MB / 0.8228 GB, free: 13.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.4676, allocations: 85.23 kB / 0.8229 GB, free: 13.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.4691, allocations: 1.198 MB / 0.8241 GB, free: 12.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.34e-05/0.4692, allocations: 29.7 kB / 0.8241 GB, free: 12.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.4694, allocations: 257.4 kB / 0.8243 GB, free: 12.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.4695, allocations: 23.73 kB / 0.8244 GB, free: 12.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.4695, allocations: 4 kB / 0.8244 GB, free: 12.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4697, allocations: 411.8 kB / 0.8248 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/0.4713, allocations: 1.365 MB / 0.8261 GB, free: 10.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.473, allocations: 1.489 MB / 0.8275 GB, free: 8.996 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/0.4749, allocations: 1.895 MB / 0.8294 GB, free: 7.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.526e-05/0.4749, allocations: 0 / 0.8294 GB, free: 7.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005094/0.4801, allocations: 3.942 MB / 0.8332 GB, free: 3.109 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.4801, allocations: 15.92 kB / 0.8333 GB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/0.4802, allocations: 4.078 kB / 0.8333 GB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.4802, allocations: 0 / 0.8333 GB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.4805, allocations: 19.92 kB / 0.8333 GB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.4805, allocations: 3.984 kB / 0.8333 GB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.4819, allocations: 232.3 kB / 0.8335 GB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.4821, allocations: 19.98 kB / 0.8335 GB, free: 2.816 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.0006291/0.4827, allocations: 249.2 kB / 0.8338 GB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.4829, allocations: 66.77 kB / 0.8338 GB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007506/0.4836, allocations: 82.73 kB / 0.8339 GB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.4837, allocations: 0 / 0.8339 GB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4837, allocations: 0 / 0.8339 GB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.4839, allocations: 151.9 kB / 0.8341 GB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.4841, allocations: 4 kB / 0.8341 GB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.4844, allocations: 8.031 kB / 0.8341 GB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.4845, allocations: 7.984 kB / 0.8341 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001133/0.4856, allocations: 1.062 MB / 0.8351 GB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001198/0.4869, allocations: 1.208 MB / 0.8363 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005899/0.4875, allocations: 339.8 kB / 0.8366 GB, free: 15.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001253/0.4888, allocations: 0.6531 MB / 0.8373 GB, free: 14.93 MB / 394.7 MB Notification: Performance of Backend: time 9.92e-07/0.4888, allocations: 0 / 0.8373 GB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006056/0.4949, allocations: 2.63 MB / 0.8398 GB, free: 12.29 MB / 394.7 MB Notification: Performance of SimCode: time 0.003159/0.4981, allocations: 1.811 MB / 0.8416 GB, free: 10.43 MB / 394.7 MB Notification: Performance of Templates: time 0.02826/0.5264, allocations: 9.319 MB / 0.8507 GB, free: 1.145 MB / 394.7 MB