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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003927/0.003933, allocations: 357.5 kB / 16.59 MB, free: 5.562 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.754/1.754, allocations: 165.8 MB / 183.1 MB, free: 5.441 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.074/4.074, allocations: 410.7 MB / 0.6001 GB, free: 15.17 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.001817/0.001818, allocations: 190.3 kB / 0.6668 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.000503, allocations: 20 kB / 0.7429 GB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4248, allocations: 67.44 MB / 0.8088 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002037/0.4269, allocations: 1.404 MB / 0.8102 GB, free: 27.37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006845/0.4338, allocations: 3.904 MB / 0.814 GB, free: 23.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.434, allocations: 3.938 kB / 0.814 GB, free: 23.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.4356, allocations: 314.6 kB / 0.8143 GB, free: 23.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.4358, allocations: 55.67 kB / 0.8143 GB, free: 23.08 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.439, allocations: 0.7492 MB / 0.8151 GB, free: 22.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.4393, allocations: 163.4 kB / 0.8152 GB, free: 22.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.091e-05/0.4394, allocations: 13.55 kB / 0.8152 GB, free: 22.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.382e-05/0.4395, allocations: 51.78 kB / 0.8153 GB, free: 22.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.4398, allocations: 187.6 kB / 0.8155 GB, free: 21.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.4399, allocations: 12 kB / 0.8155 GB, free: 21.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.443, allocations: 1.302 MB / 0.8167 GB, free: 20.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002722/0.4433, allocations: 263.2 kB / 0.817 GB, free: 20.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.4435, allocations: 125.2 kB / 0.8171 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.4456, allocations: 1.029 MB / 0.8181 GB, free: 19.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4457, allocations: 0 / 0.8181 GB, free: 19.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.4457, allocations: 0 / 0.8181 GB, free: 19.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.4457, allocations: 0 / 0.8181 GB, free: 19.19 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.01705/0.4628, allocations: 1.23 MB / 0.8193 GB, free: 17.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.4628, allocations: 8.031 kB / 0.8193 GB, free: 17.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004998/0.4634, allocations: 90.66 kB / 0.8194 GB, free: 17.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/0.4639, allocations: 404.7 kB / 0.8198 GB, free: 17.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.464, allocations: 0 / 0.8198 GB, free: 17.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.302e-05/0.4641, allocations: 15.95 kB / 0.8198 GB, free: 17.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.4646, allocations: 383.2 kB / 0.8202 GB, free: 16.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4646, allocations: 0 / 0.8202 GB, free: 16.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.4646, allocations: 7.984 kB / 0.8202 GB, free: 16.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4646, allocations: 0 / 0.8202 GB, free: 16.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000532/0.4652, allocations: 435.7 kB / 0.8206 GB, free: 16.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000778/0.466, allocations: 0.6614 MB / 0.8212 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006017/0.4666, allocations: 0.5633 MB / 0.8218 GB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003719/0.467, allocations: 337.7 kB / 0.8221 GB, free: 14.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/0.4682, allocations: 1.036 MB / 0.8231 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004878/0.4687, allocations: 404.8 kB / 0.8235 GB, free: 13.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 3.687e-06/0.4687, allocations: 0 / 0.8235 GB, free: 13.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001623/0.4703, allocations: 1.297 MB / 0.8248 GB, free: 11.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.4704, allocations: 85.11 kB / 0.8249 GB, free: 11.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.472, allocations: 1.269 MB / 0.8261 GB, free: 10.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.379e-05/0.4722, allocations: 29.7 kB / 0.8261 GB, free: 10.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.4724, allocations: 285.3 kB / 0.8264 GB, free: 10.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.4724, allocations: 19.8 kB / 0.8264 GB, free: 10.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.4725, allocations: 4.125 kB / 0.8264 GB, free: 10.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4726, allocations: 423.8 kB / 0.8268 GB, free: 9.777 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.4742, allocations: 1.361 MB / 0.8282 GB, free: 8.414 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.4758, allocations: 1.493 MB / 0.8296 GB, free: 6.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.4777, allocations: 1.895 MB / 0.8315 GB, free: 5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.4777, allocations: 7.938 kB / 0.8315 GB, free: 4.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005176/0.4829, allocations: 3.949 MB / 0.8353 GB, free: 1.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.483, allocations: 7.953 kB / 0.8353 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.483, allocations: 8.016 kB / 0.8353 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.4831, allocations: 0 / 0.8353 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.4833, allocations: 15.98 kB / 0.8354 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.4833, allocations: 3.984 kB / 0.8354 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009017/0.4842, allocations: 240.3 kB / 0.8356 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-05/0.4843, allocations: 19.98 kB / 0.8356 GB, free: 0.7148 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.0004275/0.4848, allocations: 245.7 kB / 0.8358 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.4848, allocations: 74.62 kB / 0.8359 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004378/0.4853, allocations: 83.67 kB / 0.836 GB, free: 304 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4853, allocations: 4.031 kB / 0.836 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4853, allocations: 0 / 0.836 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.4855, allocations: 155.8 kB / 0.8362 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.4856, allocations: 7.984 kB / 0.8362 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.4859, allocations: 4 kB / 0.8362 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.4859, allocations: 7.984 kB / 0.8362 GB, free: 104 kB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00155/0.4875, allocations: 1.07 MB / 0.8372 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001613/0.4891, allocations: 1.217 MB / 0.8384 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005377/0.4897, allocations: 339.8 kB / 0.8387 GB, free: 13.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001457/0.4912, allocations: 0.7062 MB / 0.8394 GB, free: 12.75 MB / 394.7 MB Notification: Performance of Backend: time 6.11e-07/0.4912, allocations: 0 / 0.8394 GB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00615/0.4974, allocations: 2.635 MB / 0.842 GB, free: 10.09 MB / 394.7 MB Notification: Performance of SimCode: time 0.003544/0.501, allocations: 1.958 MB / 0.8439 GB, free: 8.09 MB / 394.7 MB Notification: Performance of Templates: time 0.03008/0.5311, allocations: 9.892 MB / 0.8536 GB, free: 14.25 MB / 410.7 MB