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.0009366/0.0009366, allocations: 77.97 kB / 20.65 MB, free: 3.844 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.0009877/0.0009877, allocations: 169 kB / 24.05 MB, free: 456 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.9478/0.9478, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.6269/0.6269, allocations: 115 MB / 376 MB, free: 7.512 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.041e-06/1.041e-06, allocations: 0 / 482.1 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045e-05/1.149e-05, allocations: 5.828 kB / 482.1 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001348/0.00136, allocations: 1.466 MB / 483.5 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003804/0.005164, allocations: 3.966 MB / 487.5 MB, free: 8.324 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.179e-05/0.005205, allocations: 5.25 kB / 487.5 MB, free: 8.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.739e-05/0.005293, allocations: 9.281 kB / 487.5 MB, free: 8.316 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.005457, allocations: 31.25 kB / 487.5 MB, free: 8.301 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.001943/0.007401, allocations: 1.632 MB / 489.2 MB, free: 7.691 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.756e-05/0.007488, allocations: 96.19 kB / 489.3 MB, free: 7.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.812e-05/0.007516, allocations: 3.562 kB / 489.3 MB, free: 7.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.613e-05/0.007582, allocations: 60.34 kB / 489.3 MB, free: 7.641 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.953e-05/0.007672, allocations: 54.62 kB / 489.4 MB, free: 7.625 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.007688, allocations: 4.469 kB / 489.4 MB, free: 7.625 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.009787, allocations: 2.423 MB / 491.8 MB, free: 6.984 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.009917, allocations: 253.9 kB / 492.1 MB, free: 6.891 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.582e-05/0.01, allocations: 118.8 kB / 492.2 MB, free: 6.852 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.01183, allocations: 2.338 MB / 494.5 MB, free: 6.152 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.01183, allocations: 0.5625 kB / 494.5 MB, free: 6.152 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01183, allocations: 0 / 494.5 MB, free: 6.152 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.01183, allocations: 1.156 kB / 494.5 MB, free: 6.152 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.001153/0.01299, allocations: 1.377 MB / 495.9 MB, free: 5.145 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.01302, allocations: 14.91 kB / 495.9 MB, free: 5.141 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.01324, allocations: 91.56 kB / 496 MB, free: 5.086 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.01346, allocations: 298.5 kB / 496.3 MB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.01347, allocations: 4.594 kB / 496.3 MB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.0135, allocations: 10.16 kB / 496.3 MB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.01371, allocations: 238 kB / 496.5 MB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.01372, allocations: 1.594 kB / 496.5 MB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.01373, allocations: 0.6094 kB / 496.5 MB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.01373, allocations: 1.844 kB / 496.5 MB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.01389, allocations: 197.8 kB / 496.7 MB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.01422, allocations: 0.4945 MB / 497.2 MB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.01444, allocations: 294.4 kB / 497.5 MB, free: 4.375 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.01456, allocations: 161.7 kB / 497.7 MB, free: 4.352 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003041/0.01486, allocations: 134.4 kB / 497.8 MB, free: 4.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.01505, allocations: 239.9 kB / 498 MB, free: 4.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.01505, allocations: 2.688 kB / 498 MB, free: 4.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006452/0.0157, allocations: 0.76 MB / 498.8 MB, free: 4.141 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.01572, allocations: 82.97 kB / 498.9 MB, free: 4.047 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007272/0.01645, allocations: 1.195 MB / 0.4883 GB, free: 3.438 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.01647, allocations: 32.84 kB / 0.4884 GB, free: 3.402 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.01662, allocations: 347.8 kB / 0.4887 GB, free: 3.125 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.01665, allocations: 22.19 kB / 0.4887 GB, free: 3.109 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.01701, allocations: 429 kB / 0.4891 GB, free: 2.941 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.01715, allocations: 492.6 kB / 0.4896 GB, free: 18.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.01756, allocations: 497.6 kB / 0.4901 GB, free: 18.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.01794, allocations: 0.6637 MB / 0.4907 GB, free: 17.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.0192, allocations: 2.255 MB / 0.4929 GB, free: 15.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.0192, allocations: 0 / 0.4929 GB, free: 15.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002405/0.02161, allocations: 3.847 MB / 0.4967 GB, free: 12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.02162, allocations: 7.719 kB / 0.4967 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.02164, allocations: 8.547 kB / 0.4967 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.02165, allocations: 0 / 0.4967 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.548e-05/0.02173, allocations: 19.52 kB / 0.4967 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.02173, allocations: 5.281 kB / 0.4967 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.02202, allocations: 238.8 kB / 0.497 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.02205, allocations: 28.17 kB / 0.497 GB, free: 11.71 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.0001141/0.02217, allocations: 166.7 kB / 0.4971 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.02221, allocations: 75.91 kB / 0.4972 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004399/0.02265, allocations: 0.5775 MB / 0.4978 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.02265, allocations: 0.75 kB / 0.4978 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.02265, allocations: 0.5625 kB / 0.4978 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.02266, allocations: 4.797 kB / 0.4978 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.02291, allocations: 363.8 kB / 0.4981 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.02291, allocations: 1.656 kB / 0.4981 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.02295, allocations: 5.734 kB / 0.4981 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.02295, allocations: 5.562 kB / 0.4981 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.02296, allocations: 1.594 kB / 0.4981 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.02296, allocations: 0 / 0.4981 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.02296, allocations: 7.938 kB / 0.4982 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.02336, allocations: 0.6524 MB / 0.4988 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.02341, allocations: 76.42 kB / 0.4989 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.02344, allocations: 9.969 kB / 0.4989 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.191e-05/0.0235, allocations: 1.359 kB / 0.4989 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.02353, allocations: 10.66 kB / 0.4989 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.02355, allocations: 14.56 kB / 0.4989 GB, free: 9.926 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003108/0.02386, allocations: 0.5228 MB / 0.4994 GB, free: 9.484 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02386, allocations: 0.75 kB / 0.4994 GB, free: 9.484 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009777/0.02484, allocations: 0.5943 MB / 0.5 GB, free: 8.91 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.001179/0.02602, allocations: 0.7915 MB / 0.5008 GB, free: 8.223 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008333/0.02685, allocations: 1.091 MB / 0.5018 GB, free: 7.223 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02685, allocations: 0 / 0.5018 GB, free: 7.223 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.02697, allocations: 170.5 kB / 0.502 GB, free: 7.078 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.02717, allocations: 38.05 kB / 0.502 GB, free: 7.047 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.02833, allocations: 1.435 MB / 0.5034 GB, free: 5.711 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.02847, allocations: 194.2 kB / 0.5036 GB, free: 5.562 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.65e-05/0.02854, allocations: 30.67 kB / 0.5036 GB, free: 5.539 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.02865, allocations: 97.7 kB / 0.5037 GB, free: 5.449 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02866, allocations: 0 / 0.5037 GB, free: 5.449 MB / 426.7 MB Notification: Performance of Templates: time 0.01961/0.04826, allocations: 15.74 MB / 0.5191 GB, free: 5.906 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.985609167255461]