Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.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 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.214/2.214, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001552, allocations: 186.1 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.339/2.339, allocations: 205.4 MB / 0.5766 GB, free: 21.11 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 92.56 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007181/0.0007183, allocations: 15.88 kB / 0.7952 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2315, allocations: 106.3 MB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.0016/0.2331, allocations: 1.118 MB / 0.9 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005166/0.2383, allocations: 2.826 MB / 0.9028 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.658e-05/0.2385, allocations: 0 / 0.9028 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.2386, allocations: 15.92 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.2388, allocations: 23.91 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.2417, allocations: 0.7127 MB / 0.9035 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.2419, allocations: 55.84 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.2419, allocations: 4 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.053e-05/0.242, allocations: 35.91 kB / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.2423, allocations: 143.7 kB / 0.9037 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.676e-05/0.2423, allocations: 16 kB / 0.9037 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/0.2449, allocations: 1.256 MB / 0.905 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.2452, allocations: 247.3 kB / 0.9052 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.2453, allocations: 113.3 kB / 0.9053 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.247, allocations: 0.9705 MB / 0.9063 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.247, allocations: 7.938 kB / 0.9063 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.334e-06/0.247, allocations: 0 / 0.9063 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.247, allocations: 0 / 0.9063 GB, free: 58.37 MB / 0.6042 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.01683/0.2638, allocations: 1.163 MB / 0.9074 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2639, allocations: 8.031 kB / 0.9074 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004719/0.2644, allocations: 90.7 kB / 0.9075 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.2648, allocations: 359.7 kB / 0.9078 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.2649, allocations: 0 / 0.9078 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.271e-05/0.265, allocations: 7.984 kB / 0.9079 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.2655, allocations: 383.2 kB / 0.9082 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2655, allocations: 0 / 0.9082 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.2655, allocations: 8 kB / 0.9082 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2655, allocations: 4 kB / 0.9082 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.266, allocations: 435.7 kB / 0.9086 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006236/0.2667, allocations: 0.6363 MB / 0.9093 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005755/0.2673, allocations: 0.571 MB / 0.9098 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.2685, allocations: 1.04 MB / 0.9108 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004625/0.2689, allocations: 400.9 kB / 0.9112 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 2.164e-06/0.269, allocations: 0 / 0.9112 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.001532/0.2705, allocations: 1.289 MB / 0.9125 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.2706, allocations: 77.11 kB / 0.9126 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.272, allocations: 1.195 MB / 0.9137 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.2721, allocations: 33.7 kB / 0.9138 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.2723, allocations: 265.3 kB / 0.914 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.2723, allocations: 27.64 kB / 0.914 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.2724, allocations: 0 / 0.914 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2725, allocations: 423.8 kB / 0.9144 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.274, allocations: 1.357 MB / 0.9158 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.2756, allocations: 1.501 MB / 0.9172 GB, free: 46.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/0.2774, allocations: 1.887 MB / 0.9191 GB, free: 44.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2775, allocations: 0 / 0.9191 GB, free: 44.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004895/0.2824, allocations: 3.945 MB / 0.9229 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.2824, allocations: 4 kB / 0.9229 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.2825, allocations: 4 kB / 0.9229 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.2825, allocations: 4.031 kB / 0.9229 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.2827, allocations: 15.98 kB / 0.923 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.2827, allocations: 4.062 kB / 0.923 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007928/0.2835, allocations: 232.3 kB / 0.9232 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/0.2836, allocations: 23.98 kB / 0.9232 GB, free: 40.48 MB / 0.6042 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.0003991/0.284, allocations: 242.9 kB / 0.9234 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.2841, allocations: 70.77 kB / 0.9235 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004021/0.2845, allocations: 78.89 kB / 0.9236 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2845, allocations: 0 / 0.9236 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2845, allocations: 0 / 0.9236 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2846, allocations: 4 kB / 0.9236 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.285, allocations: 0.4889 MB / 0.9241 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2851, allocations: 0 / 0.9241 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.2852, allocations: 4 kB / 0.9241 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.2852, allocations: 3.938 kB / 0.9241 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.2852, allocations: 20.02 kB / 0.9241 GB, free: 39.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.2852, allocations: 3.938 kB / 0.9241 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2852, allocations: 0 / 0.9241 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.2866, allocations: 1.004 MB / 0.9251 GB, free: 38.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.2868, allocations: 155.9 kB / 0.9252 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.2869, allocations: 8 kB / 0.9252 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.2873, allocations: 7.938 kB / 0.9252 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.2873, allocations: 3.984 kB / 0.9252 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.727e-05/0.2874, allocations: 11.98 kB / 0.9252 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001368/0.2888, allocations: 0.6609 MB / 0.9259 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.32e-07/0.2888, allocations: 0 / 0.9259 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001768/0.2906, allocations: 391.9 kB / 0.9263 GB, free: 37.22 MB / 0.6042 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.002346/0.293, allocations: 482.7 kB / 0.9267 GB, free: 36.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004418/0.2974, allocations: 2.495 MB / 0.9292 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.2974, allocations: 0 / 0.9292 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006574/0.2981, allocations: 343.8 kB / 0.9295 GB, free: 33.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.2986, allocations: 32.45 kB / 0.9295 GB, free: 33.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.3026, allocations: 1.828 MB / 0.9313 GB, free: 32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007543/0.3034, allocations: 0.9835 MB / 0.9323 GB, free: 31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004356/0.3039, allocations: 32.55 kB / 0.9323 GB, free: 30.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.3041, allocations: 23.42 kB / 0.9323 GB, free: 30.94 MB / 0.6042 GB Notification: Performance of SimCode: time 1.243e-06/0.3041, allocations: 4 kB / 0.9323 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.03076/0.3349, allocations: 8.956 MB / 0.9411 GB, free: 22.01 MB / 0.6042 GB