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_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 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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 189 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.7416/0.7416, allocations: 82.92 MB / 99.42 MB, free: 3.27 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.157/2.157, allocations: 205.4 MB / 325.4 MB, free: 3.285 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.002018/0.002018, allocations: 94.61 kB / 393.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000761/0.0007613, allocations: 16 kB / 471.6 MB, free: 66.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1016, allocations: 67.45 MB / 0.5264 GB, free: 15.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001712/0.1034, allocations: 1.091 MB / 0.5275 GB, free: 13.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005559/0.1089, allocations: 2.821 MB / 0.5302 GB, free: 11.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.142e-05/0.109, allocations: 0 / 0.5302 GB, free: 11.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.1092, allocations: 11.92 kB / 0.5302 GB, free: 11.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.1094, allocations: 23.95 kB / 0.5302 GB, free: 11.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.1121, allocations: 0.7277 MB / 0.531 GB, free: 10.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.1123, allocations: 51.86 kB / 0.531 GB, free: 10.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.1123, allocations: 4 kB / 0.531 GB, free: 10.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.639e-05/0.1124, allocations: 35.91 kB / 0.531 GB, free: 10.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.1127, allocations: 139.7 kB / 0.5312 GB, free: 10.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.158e-05/0.1127, allocations: 16 kB / 0.5312 GB, free: 10.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.1155, allocations: 1.264 MB / 0.5324 GB, free: 8.812 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008121/0.1163, allocations: 0.5963 MB / 0.533 GB, free: 8.215 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.1165, allocations: 181 kB / 0.5332 GB, free: 8.031 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.1187, allocations: 1.177 MB / 0.5343 GB, free: 6.852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.261e-06/0.1188, allocations: 3.938 kB / 0.5343 GB, free: 6.848 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.308e-06/0.1188, allocations: 0 / 0.5343 GB, free: 6.848 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.1188, allocations: 0 / 0.5343 GB, free: 6.848 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.01003/0.1288, allocations: 1.609 MB / 0.5359 GB, free: 5.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.1289, allocations: 15.98 kB / 0.5359 GB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004773/0.1294, allocations: 142 kB / 0.5361 GB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000754/0.1302, allocations: 0.4933 MB / 0.5365 GB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1302, allocations: 3.984 kB / 0.5365 GB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.1303, allocations: 15.89 kB / 0.5366 GB, free: 4.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000588/0.1309, allocations: 383.2 kB / 0.5369 GB, free: 4.055 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1309, allocations: 0 / 0.5369 GB, free: 4.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1309, allocations: 0 / 0.5369 GB, free: 4.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.235e-06/0.1309, allocations: 11.98 kB / 0.5369 GB, free: 4.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005955/0.1316, allocations: 427.8 kB / 0.5373 GB, free: 3.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.1326, allocations: 0.8073 MB / 0.5381 GB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/0.1334, allocations: 0.5595 MB / 0.5387 GB, free: 2.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/0.1348, allocations: 1.036 MB / 0.5397 GB, free: 0.918 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005796/0.1354, allocations: 412.9 kB / 0.5401 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.777e-06/0.1354, allocations: 3.938 kB / 0.5401 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001923/0.1373, allocations: 1.339 MB / 0.5414 GB, free: 15.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.1374, allocations: 81.11 kB / 0.5415 GB, free: 15.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/0.1402, allocations: 1.835 MB / 0.5433 GB, free: 13.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.575e-05/0.1403, allocations: 37.7 kB / 0.5433 GB, free: 13.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005286/0.1408, allocations: 473.2 kB / 0.5438 GB, free: 12.65 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/0.1409, allocations: 27.72 kB / 0.5438 GB, free: 12.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.1409, allocations: 4 kB / 0.5438 GB, free: 12.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000256/0.1412, allocations: 410.9 kB / 0.5442 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/0.1432, allocations: 1.51 MB / 0.5456 GB, free: 10.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/0.1453, allocations: 1.651 MB / 0.5473 GB, free: 9.039 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002559/0.1479, allocations: 2.039 MB / 0.5493 GB, free: 6.984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.558e-06/0.1479, allocations: 0 / 0.5493 GB, free: 6.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006651/0.1546, allocations: 4.3 MB / 0.5535 GB, free: 2.648 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.1547, allocations: 8.578 kB / 0.5535 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.1547, allocations: 0 / 0.5535 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.1547, allocations: 8.031 kB / 0.5535 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.1549, allocations: 23.92 kB / 0.5535 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.279e-06/0.1549, allocations: 0 / 0.5535 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/0.1557, allocations: 228.3 kB / 0.5537 GB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/0.1558, allocations: 19.98 kB / 0.5537 GB, free: 2.363 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.0006171/0.1564, allocations: 361.6 kB / 0.5541 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.1566, allocations: 122 kB / 0.5542 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004818/0.1571, allocations: 153 kB / 0.5543 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.21e-06/0.1571, allocations: 4 kB / 0.5543 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1571, allocations: 0 / 0.5543 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.738e-06/0.1572, allocations: 0 / 0.5543 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009189/0.1581, allocations: 0.6872 MB / 0.555 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-06/0.1581, allocations: 0 / 0.555 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.1582, allocations: 4 kB / 0.555 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.1582, allocations: 4.031 kB / 0.555 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.1583, allocations: 7.984 kB / 0.555 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.812e-06/0.1583, allocations: 3.953 kB / 0.555 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.794e-06/0.1583, allocations: 4.312 kB / 0.555 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.1597, allocations: 1.073 MB / 0.5561 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.16, allocations: 203.1 kB / 0.5563 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.1601, allocations: 3.953 kB / 0.5563 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.1604, allocations: 8 kB / 0.5563 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.1605, allocations: 7.984 kB / 0.5563 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.1606, allocations: 11.98 kB / 0.5563 GB, free: 15.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001796/0.1624, allocations: 1.101 MB / 0.5574 GB, free: 14.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.96e-07/0.1624, allocations: 0 / 0.5574 GB, free: 14.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001291/0.1637, allocations: 431.8 kB / 0.5578 GB, free: 14.04 MB / 410.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.001522/0.1652, allocations: 478.4 kB / 0.5582 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003574/0.1688, allocations: 2.648 MB / 0.5608 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.192e-06/0.1689, allocations: 4 kB / 0.5608 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004851/0.1694, allocations: 343.7 kB / 0.5612 GB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.1698, allocations: 42.55 kB / 0.5612 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.1742, allocations: 2.711 MB / 0.5639 GB, free: 7.777 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.1754, allocations: 1.177 MB / 0.565 GB, free: 6.574 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002457/0.1757, allocations: 32.56 kB / 0.565 GB, free: 6.543 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.1758, allocations: 27.41 kB / 0.5651 GB, free: 6.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.958e-06/0.1758, allocations: 0 / 0.5651 GB, free: 6.52 MB / 410.7 MB Notification: Performance of Templates: time 0.02759/0.2034, allocations: 9.539 MB / 0.5744 GB, free: 13.02 MB / 426.7 MB