Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009294/0.0009294, allocations: 82.64 kB / 21.44 MB, free: 3.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009823/0.0009823, allocations: 172.9 kB / 24.84 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9418/0.9418, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.644/0.644, allocations: 115 MB / 376.8 MB, free: 7.48 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0.875 kB / 482.8 MB, free: 11.65 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.236e-05, allocations: 7.062 kB / 482.8 MB, free: 11.65 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001714/0.001737, allocations: 1.458 MB / 484.3 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004196/0.005933, allocations: 3.967 MB / 488.3 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.005993, allocations: 4.438 kB / 488.3 MB, free: 8.254 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.909e-05/0.006092, allocations: 14.02 kB / 488.3 MB, free: 8.246 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.006292, allocations: 30.94 kB / 488.3 MB, free: 8.23 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.009215, allocations: 1.633 MB / 490 MB, free: 7.617 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.009334, allocations: 97.33 kB / 490 MB, free: 7.586 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.244e-05/0.009366, allocations: 2.438 kB / 490.1 MB, free: 7.586 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.941e-05/0.009436, allocations: 59.12 kB / 490.1 MB, free: 7.566 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.77e-05/0.009533, allocations: 51.55 kB / 490.2 MB, free: 7.555 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.009549, allocations: 4.25 kB / 490.2 MB, free: 7.555 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.01204, allocations: 2.426 MB / 492.6 MB, free: 6.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.01219, allocations: 252.6 kB / 492.8 MB, free: 6.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.0123, allocations: 123.1 kB / 493 MB, free: 6.777 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002453/0.01475, allocations: 2.338 MB / 495.3 MB, free: 6.078 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.01475, allocations: 0 / 495.3 MB, free: 6.078 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01475, allocations: 1.406 kB / 495.3 MB, free: 6.078 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.01476, allocations: 0 / 495.3 MB, free: 6.078 MB / 410.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.001323/0.01608, allocations: 1.377 MB / 496.7 MB, free: 5.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.01611, allocations: 10.12 kB / 496.7 MB, free: 5.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.01633, allocations: 89.91 kB / 496.8 MB, free: 5.016 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.01656, allocations: 308.4 kB / 497.1 MB, free: 4.777 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.01657, allocations: 3.328 kB / 497.1 MB, free: 4.777 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.01659, allocations: 9.453 kB / 497.1 MB, free: 4.773 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.01682, allocations: 238.2 kB / 497.3 MB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.403e-06/0.01683, allocations: 0 / 497.3 MB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.01683, allocations: 1.188 kB / 497.3 MB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.01684, allocations: 5.906 kB / 497.3 MB, free: 4.688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.017, allocations: 194.6 kB / 497.5 MB, free: 4.688 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.01733, allocations: 495.6 kB / 498 MB, free: 4.379 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.01754, allocations: 303.1 kB / 498.3 MB, free: 4.301 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.01766, allocations: 164.5 kB / 498.5 MB, free: 4.277 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/0.01795, allocations: 123.2 kB / 498.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.01814, allocations: 244.7 kB / 498.8 MB, free: 4.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 8.32e-07/0.01814, allocations: 0 / 498.8 MB, free: 4.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006469/0.01879, allocations: 0.7537 MB / 499.6 MB, free: 4.078 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.01881, allocations: 86.67 kB / 499.7 MB, free: 3.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006992/0.01951, allocations: 1.195 MB / 0.4891 GB, free: 3.371 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.01954, allocations: 33.09 kB / 0.4891 GB, free: 3.336 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.01975, allocations: 353.4 kB / 0.4895 GB, free: 19.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.01978, allocations: 21.75 kB / 0.4895 GB, free: 19.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.02007, allocations: 425.1 kB / 0.4899 GB, free: 18.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.02017, allocations: 487 kB / 0.4904 GB, free: 18.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.02057, allocations: 493.9 kB / 0.4908 GB, free: 18.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.02095, allocations: 0.6708 MB / 0.4915 GB, free: 17.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.02218, allocations: 2.253 MB / 0.4937 GB, free: 15.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.02218, allocations: 1.344 kB / 0.4937 GB, free: 15.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002474/0.02465, allocations: 3.848 MB / 0.4975 GB, free: 11.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.02467, allocations: 4 kB / 0.4975 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.02468, allocations: 9.234 kB / 0.4975 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.02469, allocations: 0 / 0.4975 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.603e-05/0.02477, allocations: 29.27 kB / 0.4975 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.02478, allocations: 0.6094 kB / 0.4975 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.02505, allocations: 238 kB / 0.4977 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.02508, allocations: 24.64 kB / 0.4977 GB, free: 11.66 MB / 426.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: 13 (labels[1],cluSiz[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.0252, allocations: 168 kB / 0.4979 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.02524, allocations: 71.95 kB / 0.498 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004546/0.02569, allocations: 0.577 MB / 0.4985 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.0257, allocations: 4 kB / 0.4985 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.0257, allocations: 0.9688 kB / 0.4985 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.0257, allocations: 0.75 kB / 0.4985 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.02597, allocations: 364.1 kB / 0.4989 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.02597, allocations: 5.125 kB / 0.4989 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.02601, allocations: 5.641 kB / 0.4989 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.02601, allocations: 0.9062 kB / 0.4989 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.02602, allocations: 9.453 kB / 0.4989 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.02602, allocations: 0.6094 kB / 0.4989 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.02602, allocations: 4.812 kB / 0.4989 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.02644, allocations: 0.6479 MB / 0.4995 GB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.0265, allocations: 80.05 kB / 0.4996 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.02654, allocations: 1.938 kB / 0.4996 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.306e-05/0.0266, allocations: 9.984 kB / 0.4996 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.02663, allocations: 14.59 kB / 0.4996 GB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.02666, allocations: 10.91 kB / 0.4997 GB, free: 9.871 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003868/0.02705, allocations: 0.5303 MB / 0.5002 GB, free: 9.422 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02705, allocations: 0.8438 kB / 0.5002 GB, free: 9.422 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001089/0.02814, allocations: 0.5862 MB / 0.5008 GB, free: 8.855 MB / 426.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001283/0.02942, allocations: 0.7943 MB / 0.5015 GB, free: 8.168 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008285/0.03025, allocations: 1.093 MB / 0.5026 GB, free: 7.168 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.03025, allocations: 0 / 0.5026 GB, free: 7.168 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.03037, allocations: 173 kB / 0.5028 GB, free: 7.023 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.03058, allocations: 39.92 kB / 0.5028 GB, free: 6.988 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.03176, allocations: 1.444 MB / 0.5042 GB, free: 5.645 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.03189, allocations: 184.6 kB / 0.5044 GB, free: 5.504 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.79e-05/0.03197, allocations: 26.72 kB / 0.5044 GB, free: 5.484 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.03209, allocations: 98.97 kB / 0.5045 GB, free: 5.395 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03209, allocations: 0 / 0.5045 GB, free: 5.395 MB / 426.7 MB Notification: Performance of Templates: time 0.01655/0.04864, allocations: 15.79 MB / 0.5199 GB, free: 5.848 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9865896650590003]