Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009756/0.0009756, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.000939/0.000939, allocations: 161 kB / 24.17 MB, free: 328 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.9243/0.9243, allocations: 177.1 MB / 204.6 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.959/1.959, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7753 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.42e-05, allocations: 6.234 kB / 0.7753 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002187/0.002212, allocations: 1.523 MB / 0.7768 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005294/0.007505, allocations: 4.025 MB / 0.7807 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.007566, allocations: 4 kB / 0.7807 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.007683, allocations: 16.39 kB / 0.7807 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.007934, allocations: 32.64 kB / 0.7808 GB, free: 15.68 MB / 0.7448 GB [/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.0028/0.01073, allocations: 1.447 MB / 0.7822 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.01084, allocations: 97.5 kB / 0.7823 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.01088, allocations: 7.984 kB / 0.7823 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.585e-05/0.01096, allocations: 59.88 kB / 0.7823 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.244e-05/0.01105, allocations: 49.17 kB / 0.7824 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.01106, allocations: 4.688 kB / 0.7824 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.01393, allocations: 2.596 MB / 0.7849 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.0141, allocations: 247.3 kB / 0.7851 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.831e-05/0.01419, allocations: 127.4 kB / 0.7853 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.01646, allocations: 2.343 MB / 0.7876 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.01646, allocations: 4 kB / 0.7876 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.373e-06/0.01646, allocations: 0 / 0.7876 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.01647, allocations: 0 / 0.7876 GB, free: 8.715 MB / 0.7448 GB 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.00121/0.01768, allocations: 1.197 MB / 0.7887 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.01771, allocations: 13.33 kB / 0.7887 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.01791, allocations: 30.38 kB / 0.7888 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.01815, allocations: 290.5 kB / 0.7891 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.01816, allocations: 4.375 kB / 0.7891 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.01819, allocations: 13.42 kB / 0.7891 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.01839, allocations: 228.5 kB / 0.7893 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.0184, allocations: 1.062 kB / 0.7893 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.01841, allocations: 384 / 0.7893 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.01841, allocations: 4.719 kB / 0.7893 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.01855, allocations: 200.8 kB / 0.7895 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.01875, allocations: 256.5 kB / 0.7897 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.01893, allocations: 285.9 kB / 0.79 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.698e-05/0.01903, allocations: 153.7 kB / 0.7901 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002838/0.01931, allocations: 126.4 kB / 0.7903 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.0195, allocations: 236.9 kB / 0.7905 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.0195, allocations: 0 / 0.7905 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003821/0.01988, allocations: 490.3 kB / 0.791 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.02004, allocations: 85.83 kB / 0.791 GB, free: 5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005296/0.02057, allocations: 1.001 MB / 0.792 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.0206, allocations: 27.61 kB / 0.792 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.02071, allocations: 257.8 kB / 0.7923 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.02074, allocations: 31.77 kB / 0.7923 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.02095, allocations: 335.2 kB / 0.7926 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.963e-05/0.02102, allocations: 318 kB / 0.7929 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.02135, allocations: 0.5024 MB / 0.7934 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/0.02182, allocations: 0.606 MB / 0.794 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.02334, allocations: 2.24 MB / 0.7962 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.02334, allocations: 0 / 0.7962 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002606/0.02595, allocations: 3.725 MB / 0.7999 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.02596, allocations: 4 kB / 0.7999 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.02597, allocations: 2.438 kB / 0.7999 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.02599, allocations: 4 kB / 0.7999 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.998e-05/0.02608, allocations: 19.98 kB / 0.7999 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.02608, allocations: 4 kB / 0.7999 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.02632, allocations: 237.3 kB / 0.8001 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.02635, allocations: 25.42 kB / 0.8001 GB, free: 11.53 MB / 0.7605 GB 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.0001186/0.02647, allocations: 128.5 kB / 0.8003 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.02649, allocations: 4 kB / 0.8003 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.02679, allocations: 376.3 kB / 0.8006 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.02679, allocations: 3.938 kB / 0.8006 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.0268, allocations: 0 / 0.8006 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.0268, allocations: 9 kB / 0.8006 GB, free: 11 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.02699, allocations: 282.7 kB / 0.8009 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.027, allocations: 0 / 0.8009 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.02703, allocations: 13.05 kB / 0.8009 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.02703, allocations: 0 / 0.8009 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.02704, allocations: 1.125 kB / 0.8009 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.02704, allocations: 4 kB / 0.8009 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.02705, allocations: 0 / 0.8009 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.02729, allocations: 379.8 kB / 0.8013 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.02734, allocations: 83.27 kB / 0.8014 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.02737, allocations: 9.156 kB / 0.8014 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.826e-05/0.02743, allocations: 3.938 kB / 0.8014 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.02746, allocations: 13.02 kB / 0.8014 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.02748, allocations: 15.97 kB / 0.8014 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002429/0.02773, allocations: 387.8 kB / 0.8018 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02773, allocations: 1.062 kB / 0.8018 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008958/0.02862, allocations: 0.5806 MB / 0.8023 GB, free: 9.211 MB / 0.7605 GB 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.001276/0.0299, allocations: 0.814 MB / 0.8031 GB, free: 8.434 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006925/0.03059, allocations: 0.9749 MB / 0.8041 GB, free: 7.441 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.0306, allocations: 12 kB / 0.8041 GB, free: 7.43 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.03071, allocations: 160.7 kB / 0.8043 GB, free: 7.27 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.03088, allocations: 45.31 kB / 0.8043 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.03212, allocations: 1.437 MB / 0.8057 GB, free: 5.754 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.03222, allocations: 187.1 kB / 0.8059 GB, free: 5.551 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.979e-05/0.0323, allocations: 28.38 kB / 0.8059 GB, free: 5.527 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.03242, allocations: 80.06 kB / 0.806 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of SimCode: time 8.82e-07/0.03242, allocations: 0 / 0.806 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of Templates: time 0.01712/0.04954, allocations: 15.51 MB / 0.8211 GB, free: 6.145 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.438273778185248]