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_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 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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001412/0.001415, allocations: 187.8 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7451/0.7451, allocations: 82.93 MB / 99.42 MB, free: 3.152 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.234/2.234, allocations: 205.4 MB / 325.4 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 86.92 kB / 393.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004925, allocations: 12 kB / 471.6 MB, free: 66.49 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08989/0.09041, allocations: 67.45 MB / 0.5264 GB, free: 15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001719/0.09217, allocations: 1.091 MB / 0.5275 GB, free: 13.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00559/0.0978, allocations: 2.825 MB / 0.5302 GB, free: 11.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.273e-05/0.09791, allocations: 0 / 0.5302 GB, free: 11.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.09804, allocations: 11.92 kB / 0.5302 GB, free: 11.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.09824, allocations: 23.95 kB / 0.5303 GB, free: 11.03 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002904/0.1012, allocations: 0.7293 MB / 0.531 GB, free: 10.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.1013, allocations: 47.88 kB / 0.531 GB, free: 10.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.1014, allocations: 4 kB / 0.531 GB, free: 10.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.13e-05/0.1015, allocations: 39.89 kB / 0.531 GB, free: 10.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.1017, allocations: 143.7 kB / 0.5312 GB, free: 10.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.1018, allocations: 12 kB / 0.5312 GB, free: 10.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002765/0.1046, allocations: 1.256 MB / 0.5324 GB, free: 8.797 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002577/0.1049, allocations: 243.3 kB / 0.5327 GB, free: 8.559 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.105, allocations: 117.2 kB / 0.5328 GB, free: 8.438 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.1071, allocations: 0.9747 MB / 0.5337 GB, free: 7.461 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.72e-06/0.1072, allocations: 3.938 kB / 0.5337 GB, free: 7.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.238e-06/0.1072, allocations: 4 kB / 0.5337 GB, free: 7.453 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.967e-06/0.1072, allocations: 0 / 0.5337 GB, free: 7.453 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.009457/0.1167, allocations: 1.16 MB / 0.5349 GB, free: 6.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1167, allocations: 11.98 kB / 0.5349 GB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004231/0.1172, allocations: 94.73 kB / 0.535 GB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.1177, allocations: 351.6 kB / 0.5353 GB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.1178, allocations: 12 kB / 0.5353 GB, free: 5.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.1178, allocations: 7.953 kB / 0.5353 GB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005757/0.1184, allocations: 383.2 kB / 0.5357 GB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1184, allocations: 7.938 kB / 0.5357 GB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1185, allocations: 0 / 0.5357 GB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.912e-06/0.1185, allocations: 0 / 0.5357 GB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006008/0.1191, allocations: 435.8 kB / 0.5361 GB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008455/0.12, allocations: 0.6325 MB / 0.5367 GB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007505/0.1207, allocations: 0.5634 MB / 0.5373 GB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/0.1221, allocations: 1.036 MB / 0.5383 GB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005891/0.1227, allocations: 400.9 kB / 0.5387 GB, free: 1.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 3.136e-06/0.1227, allocations: 0 / 0.5387 GB, free: 1.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001835/0.1246, allocations: 1.293 MB / 0.5399 GB, free: 0.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.1247, allocations: 81.11 kB / 0.54 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.1263, allocations: 1.198 MB / 0.5412 GB, free: 15.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.892e-05/0.1264, allocations: 33.64 kB / 0.5412 GB, free: 15.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.1267, allocations: 257.4 kB / 0.5415 GB, free: 15.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.1268, allocations: 27.91 kB / 0.5415 GB, free: 15.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.1268, allocations: 0 / 0.5415 GB, free: 15.03 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002739/0.1271, allocations: 419.8 kB / 0.5419 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.1289, allocations: 1.357 MB / 0.5432 GB, free: 13.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.1309, allocations: 1.497 MB / 0.5447 GB, free: 11.74 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002364/0.1333, allocations: 1.899 MB / 0.5465 GB, free: 9.828 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.257e-06/0.1333, allocations: 0 / 0.5465 GB, free: 9.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00623/0.1396, allocations: 3.941 MB / 0.5504 GB, free: 5.852 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.1396, allocations: 12.58 kB / 0.5504 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.1397, allocations: 0 / 0.5504 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1397, allocations: 0 / 0.5504 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.1399, allocations: 15.98 kB / 0.5504 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.99e-06/0.1399, allocations: 4.031 kB / 0.5504 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006542/0.1406, allocations: 228.4 kB / 0.5506 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.272e-05/0.1407, allocations: 23.98 kB / 0.5506 GB, free: 5.57 MB / 394.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.0004035/0.1411, allocations: 237.6 kB / 0.5509 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/0.1412, allocations: 62.78 kB / 0.5509 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.1416, allocations: 86.75 kB / 0.551 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.891e-06/0.1416, allocations: 4 kB / 0.551 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.1416, allocations: 4 kB / 0.551 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.173e-06/0.1416, allocations: 0 / 0.551 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006163/0.1422, allocations: 496.8 kB / 0.5515 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.632e-06/0.1423, allocations: 0 / 0.5515 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.958e-05/0.1424, allocations: 7.984 kB / 0.5515 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.878e-06/0.1424, allocations: 7.938 kB / 0.5515 GB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1424, allocations: 0 / 0.5515 GB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.104e-06/0.1424, allocations: 3.953 kB / 0.5515 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2e-06/0.1424, allocations: 4.031 kB / 0.5515 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.1438, allocations: 1.008 MB / 0.5525 GB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.144, allocations: 147.9 kB / 0.5526 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.149e-05/0.1441, allocations: 7.953 kB / 0.5527 GB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.1443, allocations: 15.97 kB / 0.5527 GB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.1444, allocations: 8 kB / 0.5527 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-05/0.1444, allocations: 11.97 kB / 0.5527 GB, free: 3.363 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001022/0.1454, allocations: 0.6569 MB / 0.5533 GB, free: 2.699 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-07/0.1455, allocations: 0 / 0.5533 GB, free: 2.699 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001247/0.1467, allocations: 403.8 kB / 0.5537 GB, free: 2.305 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.001597/0.1483, allocations: 478.8 kB / 0.5542 GB, free: 1.824 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003401/0.1518, allocations: 2.495 MB / 0.5566 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.69e-06/0.1518, allocations: 3.938 kB / 0.5566 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005154/0.1523, allocations: 343.9 kB / 0.5569 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.1526, allocations: 32.48 kB / 0.557 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.1556, allocations: 1.832 MB / 0.5588 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000809/0.1565, allocations: 0.976 MB / 0.5597 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002475/0.1567, allocations: 32.55 kB / 0.5597 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.1569, allocations: 27.42 kB / 0.5598 GB, free: 12.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.933e-06/0.1569, allocations: 0 / 0.5598 GB, free: 12.03 MB / 410.7 MB Notification: Performance of Templates: time 0.02401/0.1809, allocations: 8.959 MB / 0.5685 GB, free: 3.105 MB / 410.7 MB