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_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 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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.316/2.316, 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.002078/0.002078, allocations: 183.3 kB / 325.6 MB, free: 2.84 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.4/2.4, allocations: 205.4 MB / 0.5766 GB, free: 20.8 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.001159/0.001159, allocations: 98.3 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007314/0.0007317, allocations: 11.28 kB / 0.7952 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2185, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001601/0.2202, allocations: 1.118 MB / 0.9 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005234/0.2254, allocations: 2.819 MB / 0.9028 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.471e-05/0.2256, allocations: 0 / 0.9028 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.2257, allocations: 7.922 kB / 0.9028 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.2259, allocations: 27.91 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002985/0.2289, allocations: 0.7236 MB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.2291, allocations: 47.92 kB / 0.9036 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.127e-05/0.2292, allocations: 8 kB / 0.9036 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/0.2292, allocations: 43.77 kB / 0.9036 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.2295, allocations: 135.8 kB / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.009e-05/0.2296, allocations: 20 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.2322, allocations: 1.256 MB / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008427/0.2331, allocations: 0.6002 MB / 0.9056 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.2333, allocations: 177 kB / 0.9057 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.2354, allocations: 1.181 MB / 0.9069 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2354, allocations: 0 / 0.9069 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.926e-06/0.2354, allocations: 0 / 0.9069 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.2355, allocations: 0 / 0.9069 GB, free: 57.26 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.0216/0.2571, allocations: 1.609 MB / 0.9085 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/0.2572, allocations: 8.031 kB / 0.9085 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009704/0.2582, allocations: 146 kB / 0.9086 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.2593, allocations: 0.4932 MB / 0.9091 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.2593, allocations: 4 kB / 0.9091 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.2595, allocations: 8 kB / 0.9091 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/0.2602, allocations: 391.2 kB / 0.9095 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2602, allocations: 3.938 kB / 0.9095 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.2602, allocations: 0 / 0.9095 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2602, allocations: 4 kB / 0.9095 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000523/0.2608, allocations: 431.7 kB / 0.9099 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009149/0.2617, allocations: 0.8152 MB / 0.9107 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/0.2623, allocations: 0.5594 MB / 0.9112 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/0.2636, allocations: 1.04 MB / 0.9122 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000485/0.2641, allocations: 400.8 kB / 0.9126 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 2.485e-06/0.2641, allocations: 0 / 0.9126 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.001655/0.2658, allocations: 1.351 MB / 0.9139 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.2658, allocations: 81.09 kB / 0.914 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/0.2683, allocations: 1.839 MB / 0.9158 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.491e-05/0.2684, allocations: 33.7 kB / 0.9159 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.2689, allocations: 473.3 kB / 0.9163 GB, free: 47.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.2689, allocations: 19.8 kB / 0.9163 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.269, allocations: 4 kB / 0.9163 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2691, allocations: 419.1 kB / 0.9167 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/0.2707, allocations: 1.506 MB / 0.9182 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.2724, allocations: 1.646 MB / 0.9198 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/0.2744, allocations: 2.043 MB / 0.9218 GB, free: 41.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.2745, allocations: 4 kB / 0.9218 GB, free: 41.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006399/0.2809, allocations: 4.3 MB / 0.926 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.281, allocations: 9.25 kB / 0.926 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.281, allocations: 0 / 0.926 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.281, allocations: 4 kB / 0.926 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.2813, allocations: 23.86 kB / 0.926 GB, free: 37.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.2813, allocations: 0 / 0.926 GB, free: 37.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.2823, allocations: 224.3 kB / 0.9262 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.465e-05/0.2824, allocations: 32.02 kB / 0.9263 GB, free: 36.77 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.0006449/0.2831, allocations: 365.5 kB / 0.9266 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.2832, allocations: 126 kB / 0.9267 GB, free: 36.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000524/0.2837, allocations: 141 kB / 0.9269 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.2838, allocations: 3.984 kB / 0.9269 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.2838, allocations: 7.938 kB / 0.9269 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.2838, allocations: 4.031 kB / 0.9269 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007264/0.2845, allocations: 0.6794 MB / 0.9276 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2845, allocations: 0 / 0.9276 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.2847, allocations: 7.984 kB / 0.9276 GB, free: 35.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.2847, allocations: 0 / 0.9276 GB, free: 35.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.2847, allocations: 7.984 kB / 0.9276 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2847, allocations: 0 / 0.9276 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2848, allocations: 0 / 0.9276 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.2859, allocations: 1.085 MB / 0.9286 GB, free: 34.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/0.2862, allocations: 191.1 kB / 0.9288 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.2864, allocations: 4 kB / 0.9288 GB, free: 34.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.2867, allocations: 7.984 kB / 0.9288 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.2868, allocations: 4 kB / 0.9288 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.2868, allocations: 19.97 kB / 0.9289 GB, free: 34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00173/0.2886, allocations: 1.097 MB / 0.9299 GB, free: 32.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.91e-07/0.2886, allocations: 0 / 0.9299 GB, free: 32.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001444/0.2901, allocations: 435.8 kB / 0.9303 GB, free: 32.45 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.001765/0.2919, allocations: 472.7 kB / 0.9308 GB, free: 31.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003052/0.2949, allocations: 2.652 MB / 0.9334 GB, free: 29.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.295, allocations: 0 / 0.9334 GB, free: 29.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004293/0.2954, allocations: 339.8 kB / 0.9337 GB, free: 28.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.2959, allocations: 58.61 kB / 0.9338 GB, free: 28.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.3, allocations: 2.698 MB / 0.9364 GB, free: 26.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007801/0.3008, allocations: 1.177 MB / 0.9375 GB, free: 24.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003098/0.3011, allocations: 40.5 kB / 0.9376 GB, free: 24.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.3013, allocations: 27.41 kB / 0.9376 GB, free: 24.92 MB / 0.6042 GB Notification: Performance of SimCode: time 2.375e-06/0.3013, allocations: 0 / 0.9376 GB, free: 24.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.02842/0.3298, allocations: 9.535 MB / 0.9469 GB, free: 15.42 MB / 0.6042 GB