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.00092/0.00092, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.002306, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.001018/0.001018, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002473, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8917/0.8917, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08471/0.9764, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.658/0.658, allocations: 120.1 MB / 364.2 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06232/0.7203, allocations: 38.16 MB / 402.4 MB, free: 12.25 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.843e-06/1.843e-06, allocations: 0 / 403.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.316e-05, allocations: 2.312 kB / 403.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003034/0.003057, allocations: 1.52 MB / 405.3 MB, free: 9.316 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005758/0.008815, allocations: 4.046 MB / 409.4 MB, free: 5.254 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.008879, allocations: 3.938 kB / 409.4 MB, free: 5.25 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 5.156e-05/0.008931, allocations: 7.922 kB / 409.4 MB, free: 5.242 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.009094, allocations: 43.64 kB / 409.4 MB, free: 5.199 MB / 394.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.00272/0.01181, allocations: 1.421 MB / 410.8 MB, free: 3.773 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.01194, allocations: 91.67 kB / 410.9 MB, free: 3.684 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.41e-05/0.01197, allocations: 4 kB / 410.9 MB, free: 3.68 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.282e-05/0.01207, allocations: 75.8 kB / 411 MB, free: 3.605 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.01217, allocations: 57.17 kB / 411.1 MB, free: 3.551 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.01219, allocations: 4 kB / 411.1 MB, free: 3.547 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.01499, allocations: 2.534 MB / 413.6 MB, free: 1.008 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.01512, allocations: 251.3 kB / 413.8 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.123e-05/0.0152, allocations: 115.4 kB / 413.9 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.01705, allocations: 1.947 MB / 415.9 MB, free: 14.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.01706, allocations: 0 / 415.9 MB, free: 14.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01706, allocations: 0 / 415.9 MB, free: 14.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.01707, allocations: 0 / 415.9 MB, free: 14.7 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.001126/0.0182, allocations: 1.45 MB / 417.3 MB, free: 13.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.01823, allocations: 15.98 kB / 417.4 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.01843, allocations: 113.9 kB / 417.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.01865, allocations: 286.5 kB / 417.8 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.01865, allocations: 8.359 kB / 417.8 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.01868, allocations: 8.375 kB / 417.8 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.01885, allocations: 232.1 kB / 418 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.01886, allocations: 3.938 kB / 418 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.01886, allocations: 4 kB / 418 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.01898, allocations: 176.8 kB / 418.2 MB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.0191, allocations: 199.8 kB / 418.4 MB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.0193, allocations: 284.5 kB / 418.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.01947, allocations: 277 kB / 418.9 MB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.065e-05/0.01956, allocations: 165.9 kB / 419.1 MB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002531/0.01981, allocations: 123.9 kB / 419.2 MB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.01997, allocations: 225 kB / 419.4 MB, free: 11.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.01997, allocations: 0 / 419.4 MB, free: 11.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003552/0.02033, allocations: 0.4973 MB / 419.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.02036, allocations: 89.09 kB / 420 MB, free: 10.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/0.02096, allocations: 0.9973 MB / 421 MB, free: 9.387 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.02099, allocations: 41.7 kB / 421 MB, free: 9.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/0.02136, allocations: 274.3 kB / 421.3 MB, free: 9.066 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.02139, allocations: 27.78 kB / 421.3 MB, free: 9.039 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.0216, allocations: 384.4 kB / 421.7 MB, free: 8.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.229e-05/0.02167, allocations: 314 kB / 422 MB, free: 8.348 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.02198, allocations: 494.9 kB / 422.5 MB, free: 7.859 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.02232, allocations: 0.5963 MB / 423.1 MB, free: 7.258 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007101/0.02303, allocations: 1.341 MB / 424.4 MB, free: 5.887 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.02303, allocations: 0 / 424.4 MB, free: 5.887 MB / 410.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.001996/0.02503, allocations: 3.088 MB / 427.5 MB, free: 2.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.02504, allocations: 4 kB / 427.5 MB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.02505, allocations: 7.969 kB / 427.5 MB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.02506, allocations: 4 kB / 427.5 MB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.02546, allocations: 183.8 kB / 427.7 MB, free: 2.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.02546, allocations: 4 kB / 427.7 MB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.02571, allocations: 249.3 kB / 428 MB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.02574, allocations: 19.98 kB / 428 MB, free: 2.305 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 (92): * Single equations (assignments): 89 * Array equations: 1 * 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.000114/0.02585, allocations: 140.5 kB / 428.1 MB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.02587, allocations: 7.984 kB / 428.1 MB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005253/0.0264, allocations: 387.1 kB / 428.5 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.0264, allocations: 0 / 428.5 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.0264, allocations: 4 kB / 428.5 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.0264, allocations: 0 / 428.5 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.02658, allocations: 282.7 kB / 428.8 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.02659, allocations: 4 kB / 428.8 MB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.295e-05/0.02662, allocations: 4 kB / 428.8 MB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.02667, allocations: 87.27 kB / 428.9 MB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.02667, allocations: 0 / 428.9 MB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.02667, allocations: 32 / 428.9 MB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.02668, allocations: 11.94 kB / 428.9 MB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02668, allocations: 0 / 428.9 MB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.02689, allocations: 378.9 kB / 429.3 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.02692, allocations: 4 kB / 429.3 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.076e-05/0.02698, allocations: 4 kB / 429.3 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.02701, allocations: 11.92 kB / 429.3 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.02702, allocations: 7.984 kB / 429.3 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002225/0.02724, allocations: 391.7 kB / 429.7 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02724, allocations: 0 / 429.7 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.1748/0.2021, allocations: 0.6112 MB / 430.3 MB, free: 15.34 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.001786/0.2039, allocations: 0.84 MB / 431.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009183/0.2048, allocations: 1.009 MB / 432.1 MB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.66e-05/0.2048, allocations: 12.94 kB / 432.2 MB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.2049, allocations: 168.5 kB / 432.3 MB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.2052, allocations: 156.5 kB / 432.5 MB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.2066, allocations: 1.446 MB / 433.9 MB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.2068, allocations: 188.9 kB / 434.1 MB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000121/0.2069, allocations: 49.42 kB / 434.1 MB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.207, allocations: 99.8 kB / 434.2 MB, free: 14.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/0.207, allocations: 0.5 kB / 434.2 MB, free: 14.39 MB / 410.7 MB Notification: Performance of Templates: time 0.02021/0.2272, allocations: 16.48 MB / 450.7 MB, free: 7.078 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 -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.7712866626679897]