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.002437/0.002441, allocations: 353.3 kB / 15.94 MB, free: 6.211 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.5/1.499, allocations: 165.8 MB / 182.5 MB, free: 5.402 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 3.679/3.679, allocations: 410.8 MB / 0.5995 GB, free: 15.08 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.002701/0.002701, allocations: 197.2 kB / 0.6662 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004647, allocations: 12 kB / 0.7423 GB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.341, allocations: 67.44 MB / 0.8082 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001634/0.3427, allocations: 1.396 MB / 0.8096 GB, free: 27.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00591/0.3486, allocations: 3.913 MB / 0.8134 GB, free: 23.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.3488, allocations: 3.938 kB / 0.8134 GB, free: 23.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.3499, allocations: 317 kB / 0.8137 GB, free: 23.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.3501, allocations: 51.69 kB / 0.8137 GB, free: 23.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.3526, allocations: 0.7502 MB / 0.8145 GB, free: 22.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.3529, allocations: 163.4 kB / 0.8146 GB, free: 22.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.686e-05/0.3529, allocations: 9.562 kB / 0.8146 GB, free: 22.19 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.396e-05/0.353, allocations: 51.78 kB / 0.8147 GB, free: 22.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.3533, allocations: 191.6 kB / 0.8149 GB, free: 21.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.988e-05/0.3534, allocations: 16 kB / 0.8149 GB, free: 21.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/0.3556, allocations: 1.291 MB / 0.8161 GB, free: 20.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.3558, allocations: 267.2 kB / 0.8164 GB, free: 20.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.3559, allocations: 125.2 kB / 0.8165 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.3574, allocations: 1.029 MB / 0.8175 GB, free: 19.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.173e-06/0.3574, allocations: 4 kB / 0.8175 GB, free: 19.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3574, allocations: 0 / 0.8175 GB, free: 19.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.3574, allocations: 0 / 0.8175 GB, free: 19.22 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.008851/0.3663, allocations: 1.226 MB / 0.8187 GB, free: 17.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3663, allocations: 8.031 kB / 0.8187 GB, free: 17.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/0.3667, allocations: 94.64 kB / 0.8188 GB, free: 17.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.3672, allocations: 404.7 kB / 0.8192 GB, free: 17.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.3673, allocations: 4 kB / 0.8192 GB, free: 17.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.3673, allocations: 11.95 kB / 0.8192 GB, free: 17.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/0.3678, allocations: 387.2 kB / 0.8196 GB, free: 16.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.635e-06/0.3678, allocations: 0 / 0.8196 GB, free: 16.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.3678, allocations: 0 / 0.8196 GB, free: 16.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3678, allocations: 0 / 0.8196 GB, free: 16.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.3683, allocations: 443.7 kB / 0.82 GB, free: 16.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.3689, allocations: 0.6536 MB / 0.8207 GB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/0.3694, allocations: 0.5555 MB / 0.8212 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.3698, allocations: 345.6 kB / 0.8215 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008526/0.3706, allocations: 1.036 MB / 0.8225 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004109/0.3711, allocations: 408.9 kB / 0.8229 GB, free: 13.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.687e-06/0.3711, allocations: 0 / 0.8229 GB, free: 13.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001358/0.3725, allocations: 1.289 MB / 0.8242 GB, free: 11.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.3725, allocations: 85.11 kB / 0.8243 GB, free: 11.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.3738, allocations: 1.273 MB / 0.8255 GB, free: 10.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/0.3739, allocations: 37.64 kB / 0.8255 GB, free: 10.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.3741, allocations: 285.3 kB / 0.8258 GB, free: 10.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.3741, allocations: 19.75 kB / 0.8258 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.3742, allocations: 4 kB / 0.8258 GB, free: 10.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3743, allocations: 427.8 kB / 0.8262 GB, free: 9.797 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.3756, allocations: 1.361 MB / 0.8276 GB, free: 8.434 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.377, allocations: 1.493 MB / 0.829 GB, free: 6.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/0.3787, allocations: 1.891 MB / 0.8309 GB, free: 5.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.3787, allocations: 4 kB / 0.8309 GB, free: 5.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004588/0.3833, allocations: 3.949 MB / 0.8347 GB, free: 1.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.3834, allocations: 7.953 kB / 0.8347 GB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.3834, allocations: 8.031 kB / 0.8348 GB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.3834, allocations: 3.984 kB / 0.8348 GB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.3836, allocations: 19.98 kB / 0.8348 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.533e-06/0.3836, allocations: 0 / 0.8348 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.3842, allocations: 228.3 kB / 0.835 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/0.3843, allocations: 23.98 kB / 0.835 GB, free: 0.7461 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.000343/0.3846, allocations: 245.6 kB / 0.8353 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.3847, allocations: 78.67 kB / 0.8353 GB, free: 428 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/0.3851, allocations: 79.69 kB / 0.8354 GB, free: 336 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.3851, allocations: 7.984 kB / 0.8354 GB, free: 328 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.987e-06/0.3851, allocations: 0 / 0.8354 GB, free: 328 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.391e-06/0.3851, allocations: 0 / 0.8354 GB, free: 328 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.3857, allocations: 0.51 MB / 0.8359 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.454e-06/0.3857, allocations: 4 kB / 0.8359 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.46e-05/0.3858, allocations: 4.031 kB / 0.8359 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.554e-06/0.3858, allocations: 4 kB / 0.8359 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.3859, allocations: 11.98 kB / 0.8359 GB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.055e-06/0.3859, allocations: 3.953 kB / 0.8359 GB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.3859, allocations: 4.25 kB / 0.8359 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.3872, allocations: 1.006 MB / 0.8369 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002859/0.3876, allocations: 163.8 kB / 0.8371 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.113e-05/0.3877, allocations: 4 kB / 0.8371 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.3879, allocations: 4 kB / 0.8371 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.388, allocations: 7.938 kB / 0.8371 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.388, allocations: 11.98 kB / 0.8371 GB, free: 14.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001146/0.3892, allocations: 0.714 MB / 0.8378 GB, free: 13.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.75e-07/0.3892, allocations: 3.938 kB / 0.8378 GB, free: 13.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00126/0.3905, allocations: 403.8 kB / 0.8382 GB, free: 13.38 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.001575/0.3921, allocations: 474.8 kB / 0.8386 GB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003404/0.3955, allocations: 2.495 MB / 0.8411 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.954e-06/0.3955, allocations: 11.88 kB / 0.8411 GB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004782/0.396, allocations: 335.8 kB / 0.8414 GB, free: 10.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/0.3966, allocations: 52.7 kB / 0.8415 GB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/0.3999, allocations: 1.965 MB / 0.8434 GB, free: 8.016 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008413/0.4008, allocations: 1.004 MB / 0.8444 GB, free: 6.984 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002796/0.4011, allocations: 41.42 kB / 0.8444 GB, free: 6.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.4013, allocations: 31.41 kB / 0.8444 GB, free: 6.914 MB / 394.7 MB Notification: Performance of SimCode: time 1.691e-06/0.4013, allocations: 0 / 0.8444 GB, free: 6.914 MB / 394.7 MB Notification: Performance of Templates: time 0.02601/0.4273, allocations: 9.546 MB / 0.8538 GB, free: 13.43 MB / 410.7 MB