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_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 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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002454/0.002453, allocations: 357.3 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.473/1.473, allocations: 165.8 MB / 182.5 MB, free: 5.465 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.062/4.062, allocations: 410.8 MB / 0.5995 GB, free: 15.09 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.00171/0.00171, allocations: 190.3 kB / 0.6662 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004587/0.0004589, allocations: 11.98 kB / 0.7423 GB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3295, 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_100boreholes): time 0.001221/0.3308, allocations: 1.104 MB / 0.8093 GB, free: 27.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004386/0.3352, allocations: 2.832 MB / 0.812 GB, free: 24.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.157e-05/0.3353, allocations: 0 / 0.812 GB, free: 24.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.621e-05/0.3354, allocations: 7.938 kB / 0.812 GB, free: 24.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.3356, allocations: 27.83 kB / 0.8121 GB, free: 24.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.3379, allocations: 0.7525 MB / 0.8128 GB, free: 24.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.3381, allocations: 91.72 kB / 0.8129 GB, free: 23.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.3381, allocations: 3.984 kB / 0.8129 GB, free: 23.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.144e-05/0.3382, allocations: 35.86 kB / 0.8129 GB, free: 23.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.3385, allocations: 239.7 kB / 0.8132 GB, free: 23.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/0.3386, allocations: 16 kB / 0.8132 GB, free: 23.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002189/0.3408, allocations: 1.295 MB / 0.8144 GB, free: 22.37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006281/0.3414, allocations: 0.7093 MB / 0.8151 GB, free: 21.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.3416, allocations: 177 kB / 0.8153 GB, free: 21.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.3432, allocations: 1.179 MB / 0.8165 GB, free: 20.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.391e-06/0.3432, allocations: 0 / 0.8165 GB, free: 20.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3432, allocations: 4 kB / 0.8165 GB, free: 20.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.3432, allocations: 0 / 0.8165 GB, free: 20.3 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.009448/0.3527, allocations: 1.605 MB / 0.818 GB, free: 18.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3528, allocations: 11.97 kB / 0.818 GB, free: 18.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004273/0.3532, allocations: 146 kB / 0.8182 GB, free: 18.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.3537, allocations: 0.5009 MB / 0.8187 GB, free: 17.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.3538, allocations: 4 kB / 0.8187 GB, free: 17.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.3538, allocations: 11.95 kB / 0.8187 GB, free: 17.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.3543, allocations: 383.2 kB / 0.819 GB, free: 17.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3543, allocations: 0 / 0.819 GB, free: 17.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3543, allocations: 7.984 kB / 0.8191 GB, free: 17.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3544, allocations: 0 / 0.8191 GB, free: 17.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.3548, allocations: 435.7 kB / 0.8195 GB, free: 17.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007281/0.3556, allocations: 0.8035 MB / 0.8203 GB, free: 16.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005272/0.3561, allocations: 0.5633 MB / 0.8208 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.3565, allocations: 337.7 kB / 0.8211 GB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000864/0.3573, allocations: 1.04 MB / 0.8221 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004239/0.3578, allocations: 412.8 kB / 0.8225 GB, free: 13.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.753e-06/0.3578, allocations: 0 / 0.8225 GB, free: 13.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001428/0.3592, allocations: 1.343 MB / 0.8238 GB, free: 12.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.3593, allocations: 81.09 kB / 0.8239 GB, free: 12.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.3613, allocations: 1.835 MB / 0.8257 GB, free: 10.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.3613, allocations: 29.7 kB / 0.8257 GB, free: 10.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.3617, allocations: 477.3 kB / 0.8262 GB, free: 9.762 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.3617, allocations: 23.7 kB / 0.8262 GB, free: 9.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.3618, allocations: 4 kB / 0.8262 GB, free: 9.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3619, allocations: 411 kB / 0.8266 GB, free: 9.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.3633, allocations: 1.51 MB / 0.8281 GB, free: 7.816 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.3648, allocations: 1.649 MB / 0.8297 GB, free: 6.156 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.3665, allocations: 2.039 MB / 0.8317 GB, free: 4.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.329e-06/0.3665, allocations: 4 kB / 0.8317 GB, free: 4.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00509/0.3716, allocations: 4.3 MB / 0.8359 GB, free: 15.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.3717, allocations: 15.89 kB / 0.8359 GB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.3717, allocations: 0 / 0.8359 GB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.3718, allocations: 0 / 0.8359 GB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.3719, allocations: 19.92 kB / 0.8359 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.787e-06/0.372, allocations: 4 kB / 0.8359 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/0.3727, allocations: 224.3 kB / 0.8362 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.389e-05/0.3728, allocations: 27.98 kB / 0.8362 GB, free: 15.47 MB / 394.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.0006182/0.3735, allocations: 369.6 kB / 0.8365 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.3736, allocations: 122 kB / 0.8366 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000475/0.3741, allocations: 149 kB / 0.8368 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3741, allocations: 0 / 0.8368 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.3742, allocations: 8 kB / 0.8368 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.418e-06/0.3742, allocations: 0 / 0.8368 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000893/0.3751, allocations: 0.6755 MB / 0.8375 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.7e-06/0.3751, allocations: 4 kB / 0.8375 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3752, allocations: 11.92 kB / 0.8375 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.596e-06/0.3752, allocations: 0 / 0.8375 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.3753, allocations: 4 kB / 0.8375 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.456e-06/0.3753, allocations: 3.953 kB / 0.8375 GB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.3753, allocations: 0 / 0.8375 GB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.3767, allocations: 1.063 MB / 0.8385 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.377, allocations: 191.1 kB / 0.8387 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.3772, allocations: 4 kB / 0.8387 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.3775, allocations: 7.984 kB / 0.8387 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.3775, allocations: 7.953 kB / 0.8387 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.3776, allocations: 11.97 kB / 0.8387 GB, free: 12.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001747/0.3794, allocations: 1.104 MB / 0.8398 GB, free: 11.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.51e-07/0.3794, allocations: 0 / 0.8398 GB, free: 11.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001367/0.3808, allocations: 431.8 kB / 0.8402 GB, free: 11.18 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.001616/0.3824, allocations: 479.6 kB / 0.8407 GB, free: 10.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003589/0.386, allocations: 2.648 MB / 0.8433 GB, free: 8.047 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.962e-06/0.3861, allocations: 0 / 0.8433 GB, free: 8.047 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004726/0.3866, allocations: 339.8 kB / 0.8436 GB, free: 7.715 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.3871, allocations: 54.03 kB / 0.8436 GB, free: 7.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/0.3915, allocations: 2.704 MB / 0.8463 GB, free: 4.926 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.3927, allocations: 1.177 MB / 0.8474 GB, free: 3.723 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002579/0.393, allocations: 36.55 kB / 0.8475 GB, free: 3.688 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.3931, allocations: 27.36 kB / 0.8475 GB, free: 3.66 MB / 394.7 MB Notification: Performance of SimCode: time 2.131e-06/0.3932, allocations: 0 / 0.8475 GB, free: 3.66 MB / 394.7 MB Notification: Performance of Templates: time 0.02778/0.4209, allocations: 9.551 MB / 0.8568 GB, free: 10.15 MB / 410.7 MB