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.0006742/0.0006742, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009069/0.001581, allocations: 447.8 kB / 10.34 MB, free: 352 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.0006939/0.0006939, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009167/0.001611, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9261/0.9261, allocations: 177.1 MB / 189.6 MB, free: 3.75 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1551/1.081, allocations: 53.66 MB / 243.2 MB, free: 2.316 MB / 234.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.6964/0.6964, allocations: 119.1 MB / 363.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06376/0.7602, allocations: 37.86 MB / 400.9 MB, free: 15.28 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.713e-06/1.713e-06, allocations: 0 / 402.3 MB, free: 13.92 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.598e-05, allocations: 5.922 kB / 402.3 MB, free: 13.92 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002828/0.002854, allocations: 1.509 MB / 403.8 MB, free: 12.39 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005813/0.008668, allocations: 4.069 MB / 407.9 MB, free: 8.309 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.008725, allocations: 0 / 407.9 MB, free: 8.309 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 5.098e-05/0.008776, allocations: 11.88 kB / 407.9 MB, free: 8.297 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.008949, allocations: 35.77 kB / 407.9 MB, free: 8.262 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.002837/0.01179, allocations: 1.421 MB / 409.3 MB, free: 6.836 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.01191, allocations: 87.69 kB / 409.4 MB, free: 6.75 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.456e-05/0.01195, allocations: 4 kB / 409.4 MB, free: 6.746 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.854e-05/0.01205, allocations: 71.8 kB / 409.5 MB, free: 6.676 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.01215, allocations: 53.19 kB / 409.5 MB, free: 6.621 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.01217, allocations: 4 kB / 409.5 MB, free: 6.617 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.01544, allocations: 2.532 MB / 412.1 MB, free: 4.086 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.01559, allocations: 243.3 kB / 412.3 MB, free: 3.848 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.629e-05/0.01568, allocations: 119.4 kB / 412.4 MB, free: 3.73 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.01834, allocations: 1.967 MB / 414.4 MB, free: 1.762 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.01835, allocations: 0 / 414.4 MB, free: 1.762 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01835, allocations: 0 / 414.4 MB, free: 1.762 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.01836, allocations: 0 / 414.4 MB, free: 1.762 MB / 394.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.001414/0.01978, allocations: 1.446 MB / 415.8 MB, free: 292 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.01981, allocations: 11.89 kB / 415.9 MB, free: 280 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.02004, allocations: 118 kB / 416 MB, free: 144 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.02028, allocations: 282.5 kB / 416.2 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.02029, allocations: 8.375 kB / 416.3 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.02032, allocations: 4.375 kB / 416.3 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.02052, allocations: 236 kB / 416.5 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.02053, allocations: 0 / 416.5 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.02054, allocations: 0 / 416.5 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.02054, allocations: 0 / 416.5 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.02066, allocations: 195.9 kB / 416.7 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.02087, allocations: 256.5 kB / 416.9 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.02106, allocations: 296.9 kB / 417.2 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.305e-05/0.02115, allocations: 157.9 kB / 417.4 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/0.02144, allocations: 119.9 kB / 417.5 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.02162, allocations: 236.9 kB / 417.7 MB, free: 14.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.02162, allocations: 0 / 417.7 MB, free: 14.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003776/0.022, allocations: 497.3 kB / 418.2 MB, free: 13.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.02204, allocations: 85.11 kB / 418.3 MB, free: 13.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.02255, allocations: 0.9934 MB / 419.3 MB, free: 12.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.02258, allocations: 29.69 kB / 419.3 MB, free: 12.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.0227, allocations: 265.7 kB / 419.6 MB, free: 12.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.02273, allocations: 23.81 kB / 419.6 MB, free: 12.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.02292, allocations: 335.2 kB / 419.9 MB, free: 12.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.625e-05/0.02299, allocations: 314 kB / 420.2 MB, free: 11.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.0233, allocations: 0.5097 MB / 420.7 MB, free: 11.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.02363, allocations: 0.6033 MB / 421.3 MB, free: 10.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.02506, allocations: 2.243 MB / 423.6 MB, free: 8.242 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.02506, allocations: 0 / 423.6 MB, free: 8.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002504/0.02757, allocations: 3.721 MB / 427.3 MB, free: 4.492 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.02758, allocations: 4 kB / 427.3 MB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.0276, allocations: 0 / 427.3 MB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.02761, allocations: 7.938 kB / 427.3 MB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.02771, allocations: 23.98 kB / 427.3 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.02771, allocations: 4.031 kB / 427.3 MB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.02794, allocations: 241.4 kB / 427.6 MB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.02797, allocations: 15.98 kB / 427.6 MB, free: 4.199 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.0001119/0.02808, allocations: 124.6 kB / 427.7 MB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.0281, allocations: 8 kB / 427.7 MB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.02838, allocations: 362.9 kB / 428.1 MB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.02838, allocations: 7.938 kB / 428.1 MB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.02839, allocations: 3.969 kB / 428.1 MB, free: 3.684 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.02839, allocations: 4 kB / 428.1 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.02858, allocations: 298.6 kB / 428.4 MB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.02858, allocations: 0 / 428.4 MB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.02863, allocations: 7.984 kB / 428.4 MB, free: 3.363 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.02867, allocations: 79.34 kB / 428.5 MB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.02868, allocations: 0 / 428.5 MB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.02869, allocations: 8 kB / 428.5 MB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.02869, allocations: 7.875 kB / 428.5 MB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.02869, allocations: 0 / 428.5 MB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.02892, allocations: 371 kB / 428.9 MB, free: 2.887 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.02895, allocations: 4 kB / 428.9 MB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-05/0.02901, allocations: 0 / 428.9 MB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.02904, allocations: 19.86 kB / 428.9 MB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.02906, allocations: 19.97 kB / 428.9 MB, free: 2.844 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002321/0.02929, allocations: 387.7 kB / 429.3 MB, free: 2.457 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02929, allocations: 0 / 429.3 MB, free: 2.457 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001026/0.03032, allocations: 0.5884 MB / 429.9 MB, free: 1.867 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.001581/0.0319, allocations: 0.8405 MB / 430.7 MB, free: 1.074 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006429/0.03254, allocations: 0.9691 MB / 431.7 MB, free: 88 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.03255, allocations: 12 kB / 431.7 MB, free: 76 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.03266, allocations: 164.8 kB / 431.8 MB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.03284, allocations: 68.53 kB / 431.9 MB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.03414, allocations: 1.445 MB / 433.4 MB, free: 14.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.03424, allocations: 187.1 kB / 433.5 MB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.307e-05/0.03431, allocations: 28.47 kB / 433.6 MB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.03443, allocations: 79.34 kB / 433.6 MB, free: 14.04 MB / 426.7 MB Notification: Performance of SimCode: time 7.92e-07/0.03443, allocations: 0 / 433.6 MB, free: 14.04 MB / 426.7 MB Notification: Performance of Templates: time 0.01738/0.05181, allocations: 15.55 MB / 449.2 MB, free: 14.62 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.901604790240526]