Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.801/4.801, allocations: 0.5623 GB / 0.5776 GB, free: 3.359 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00244/0.002441, allocations: 357.7 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.267/4.267, allocations: 410.7 MB / 1.113 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001866/0.001866, allocations: 190.5 kB / 1.226 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000493/0.0004933, allocations: 12 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7258/0.7263, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001575/0.7279, allocations: 1.116 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005103/0.733, allocations: 2.837 MB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.607e-05/0.7332, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.7333, allocations: 13.36 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.7335, allocations: 27.84 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002854/0.7364, allocations: 0.7471 MB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.7366, allocations: 87.72 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.718e-05/0.7366, allocations: 4 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.987e-05/0.7367, allocations: 45.03 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003471/0.7371, allocations: 231.7 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.656e-05/0.7371, allocations: 15.94 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.74, allocations: 1.305 MB / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0008456/0.7408, allocations: 0.7038 MB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.741, allocations: 183.6 kB / 1.469 GB, free: 277 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.7432, allocations: 1.175 MB / 1.47 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7432, allocations: 0 / 1.47 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.715e-06/0.7433, allocations: 0 / 1.47 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.7433, allocations: 0 / 1.47 GB, free: 275.9 MB / 0.8542 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.01787/0.7612, allocations: 1.61 MB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.7612, allocations: 11.62 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005295/0.7618, allocations: 138.9 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006226/0.7624, allocations: 0.4971 MB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.7624, allocations: 8.703 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.792e-05/0.7625, allocations: 8 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.763, allocations: 381 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.763, allocations: 4 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.7631, allocations: 0.6562 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/0.7631, allocations: 3.938 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/0.7636, allocations: 441.8 kB / 1.473 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008834/0.7645, allocations: 0.8078 MB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006059/0.7652, allocations: 0.5622 MB / 1.474 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/0.7656, allocations: 338.8 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/0.7668, allocations: 1.042 MB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004972/0.7673, allocations: 407.6 kB / 1.476 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 3.607e-06/0.7673, allocations: 0 / 1.476 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.001592/0.7689, allocations: 1.341 MB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.769, allocations: 86.56 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/0.7713, allocations: 1.835 MB / 1.479 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.842e-05/0.7715, allocations: 25.7 kB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.7719, allocations: 478.3 kB / 1.479 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.772, allocations: 27.69 kB / 1.479 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.772, allocations: 0 / 1.479 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.7721, allocations: 411.9 kB / 1.48 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.7737, allocations: 1.511 MB / 1.481 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.7754, allocations: 1.642 MB / 1.483 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.7774, allocations: 2.053 MB / 1.485 GB, free: 259.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.7774, allocations: 0 / 1.485 GB, free: 259.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005191/0.7826, allocations: 4.297 MB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.7827, allocations: 4.75 kB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/0.7828, allocations: 4 kB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.7828, allocations: 2.094 kB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.783, allocations: 19.92 kB / 1.489 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.783, allocations: 0 / 1.489 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.7841, allocations: 232.8 kB / 1.489 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.621e-05/0.7842, allocations: 24.58 kB / 1.489 GB, free: 255.1 MB / 0.8542 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.0006074/0.7848, allocations: 366.3 kB / 1.49 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.7849, allocations: 119.7 kB / 1.49 GB, free: 254.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.7855, allocations: 150.3 kB / 1.49 GB, free: 254.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.7855, allocations: 3.984 kB / 1.49 GB, free: 254.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.7855, allocations: 1.406 kB / 1.49 GB, free: 254.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.7857, allocations: 191.2 kB / 1.49 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.7858, allocations: 4.562 kB / 1.49 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.7862, allocations: 16.89 kB / 1.49 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.7863, allocations: 9.734 kB / 1.49 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001122/0.7874, allocations: 1.063 MB / 1.491 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001149/0.7886, allocations: 1.265 MB / 1.492 GB, free: 251.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003855/0.789, allocations: 341.7 kB / 1.493 GB, free: 251.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00178/0.7908, allocations: 1.101 MB / 1.494 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of Backend: time 8.11e-07/0.7909, allocations: 0 / 1.494 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00515/0.796, allocations: 2.782 MB / 1.497 GB, free: 247.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.003865/0.7999, allocations: 2.699 MB / 1.499 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.02664/0.8266, allocations: 9.89 MB / 1.509 GB, free: 235.3 MB / 0.8542 GB