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.000977/0.000977, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.0009917/0.0009917, allocations: 169 kB / 24.14 MB, free: 360 kB / 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.95/0.95, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.6418/0.6418, allocations: 115 MB / 376 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.533e-06/1.533e-06, allocations: 0 / 428.9 MB, free: 2.645 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.745e-05, allocations: 6.312 kB / 428.9 MB, free: 2.637 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002747/0.002764, allocations: 1.509 MB / 430.4 MB, free: 1.117 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006029/0.008793, allocations: 4.038 MB / 434.4 MB, free: 13.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.028e-05/0.008844, allocations: 0 / 434.4 MB, free: 13.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.008962, allocations: 11.86 kB / 434.4 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.009187, allocations: 35.72 kB / 434.5 MB, free: 13.02 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.002154/0.01134, allocations: 1.449 MB / 435.9 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.01145, allocations: 95.61 kB / 436 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.436e-05/0.01148, allocations: 4 kB / 436 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.512e-05/0.01156, allocations: 55.88 kB / 436.1 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.463e-05/0.01165, allocations: 53.17 kB / 436.1 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.01166, allocations: 4 kB / 436.1 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002392/0.01406, allocations: 2.596 MB / 438.7 MB, free: 8.758 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.01422, allocations: 251.3 kB / 439 MB, free: 8.512 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.01432, allocations: 123.4 kB / 439.1 MB, free: 8.391 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.01614, allocations: 2.345 MB / 441.4 MB, free: 6.039 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.01614, allocations: 0 / 441.4 MB, free: 6.039 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01614, allocations: 0 / 441.4 MB, free: 6.039 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.01615, allocations: 0 / 441.4 MB, free: 6.039 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.001396/0.01754, allocations: 1.204 MB / 442.6 MB, free: 4.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.01757, allocations: 12.03 kB / 442.6 MB, free: 4.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.01777, allocations: 24.91 kB / 442.7 MB, free: 4.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.018, allocations: 282.5 kB / 442.9 MB, free: 4.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.01801, allocations: 12.38 kB / 442.9 MB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.01803, allocations: 12.3 kB / 443 MB, free: 4.434 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.01823, allocations: 232 kB / 443.2 MB, free: 4.191 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.01824, allocations: 3.984 kB / 443.2 MB, free: 4.188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.01824, allocations: 0 / 443.2 MB, free: 4.188 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.331e-06/0.01825, allocations: 4 kB / 443.2 MB, free: 4.184 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.01837, allocations: 191.9 kB / 443.4 MB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.01857, allocations: 252.5 kB / 443.6 MB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.01876, allocations: 289.1 kB / 443.9 MB, free: 3.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.01887, allocations: 157.7 kB / 444.1 MB, free: 3.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.01914, allocations: 123.9 kB / 444.2 MB, free: 3.148 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.01933, allocations: 228.9 kB / 444.4 MB, free: 2.906 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.01933, allocations: 0 / 444.4 MB, free: 2.906 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003798/0.01971, allocations: 497.3 kB / 444.9 MB, free: 2.414 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.01974, allocations: 85.23 kB / 445 MB, free: 2.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005138/0.02026, allocations: 0.9934 MB / 446 MB, free: 1.305 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.02028, allocations: 29.7 kB / 446 MB, free: 1.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.02039, allocations: 265.7 kB / 446.3 MB, free: 1.004 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.02042, allocations: 19.83 kB / 446.3 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.02062, allocations: 335.2 kB / 446.6 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.0207, allocations: 318 kB / 446.9 MB, free: 344 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2253/0.246, allocations: 0.506 MB / 447.4 MB, free: 23.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006233/0.2466, allocations: 0.598 MB / 448 MB, free: 23.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/0.2486, allocations: 2.235 MB / 450.3 MB, free: 22.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2486, allocations: 1.719 kB / 450.3 MB, free: 22.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004034/0.2526, allocations: 3.723 MB / 454 MB, free: 21.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.2526, allocations: 6.562 kB / 454 MB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.2527, allocations: 3.344 kB / 454 MB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.2527, allocations: 5.031 kB / 454 MB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.2528, allocations: 28.25 kB / 454 MB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2529, allocations: 1.922 kB / 454 MB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.2532, allocations: 238.5 kB / 454.3 MB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.2532, allocations: 20.97 kB / 454.3 MB, free: 21.21 MB / 410.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.0001666/0.2534, allocations: 122 kB / 454.4 MB, free: 21.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.2534, allocations: 12.64 kB / 454.4 MB, free: 21.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004273/0.2538, allocations: 364.4 kB / 454.8 MB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.2538, allocations: 4 kB / 454.8 MB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2538, allocations: 5.109 kB / 454.8 MB, free: 21.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.2539, allocations: 1.766 kB / 454.8 MB, free: 21.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.2542, allocations: 290.1 kB / 455.1 MB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2542, allocations: 6.281 kB / 455.1 MB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.375e-05/0.2542, allocations: 4.891 kB / 455.1 MB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2542, allocations: 4.984 kB / 455.1 MB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2542, allocations: 1.922 kB / 455.1 MB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2542, allocations: 5.469 kB / 455.1 MB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2542, allocations: 0.6094 kB / 455.1 MB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.2545, allocations: 373.6 kB / 455.4 MB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.2546, allocations: 86.78 kB / 455.5 MB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.2546, allocations: 6.297 kB / 455.5 MB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.777e-05/0.2547, allocations: 6.219 kB / 455.5 MB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.2547, allocations: 6.844 kB / 455.6 MB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.2547, allocations: 14.66 kB / 455.6 MB, free: 20.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002909/0.255, allocations: 392.9 kB / 455.9 MB, free: 20.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.255, allocations: 0 / 455.9 MB, free: 20.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001242/0.2563, allocations: 0.5871 MB / 456.5 MB, free: 20.79 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 (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.00142/0.2577, allocations: 0.8007 MB / 457.3 MB, free: 20.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007499/0.2584, allocations: 0.9693 MB / 458.3 MB, free: 20.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.2584, allocations: 12.53 kB / 458.3 MB, free: 20.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.2586, allocations: 167.6 kB / 458.5 MB, free: 20.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.2588, allocations: 41.11 kB / 458.5 MB, free: 20.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.2599, allocations: 1.435 MB / 460 MB, free: 19.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.2601, allocations: 189.1 kB / 460.1 MB, free: 18.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.015e-05/0.2601, allocations: 29.02 kB / 460.2 MB, free: 18.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.2603, allocations: 70.92 kB / 460.2 MB, free: 18.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2603, allocations: 4.5 kB / 460.2 MB, free: 18.86 MB / 410.7 MB Notification: Performance of Templates: time 0.01709/0.2774, allocations: 15.52 MB / 475.8 MB, free: 6.031 MB / 410.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 -s gbode -gbm=radauIIA3 -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: 4.0464518098160625]