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_SmallScaleValidation.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.001331/0.001331, 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.001455/0.001455, allocations: 161.4 kB / 24.16 MB, free: 332 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.9395/0.9395, allocations: 177.1 MB / 204.6 MB, free: 5.328 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.949/1.949, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.7753 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001e-05/1.108e-05, allocations: 5.125 kB / 0.7753 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002052/0.002063, allocations: 1.854 MB / 0.7771 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005311/0.007373, allocations: 5.207 MB / 0.7822 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.78e-05/0.007441, allocations: 3.938 kB / 0.7822 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008374/0.008278, allocations: 368.8 kB / 0.7825 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.884e-05/0.008357, allocations: 65.86 kB / 0.7826 GB, free: 13.82 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.002288/0.01065, allocations: 1.435 MB / 0.784 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.01083, allocations: 168.2 kB / 0.7842 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.48e-05/0.01086, allocations: 11.39 kB / 0.7842 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.626e-05/0.01094, allocations: 75.8 kB / 0.7843 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.332e-05/0.01103, allocations: 69.11 kB / 0.7843 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.01105, allocations: 5.062 kB / 0.7843 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.01369, allocations: 2.585 MB / 0.7868 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.01384, allocations: 263.2 kB / 0.7871 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.01394, allocations: 136.8 kB / 0.7872 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.01614, allocations: 2.376 MB / 0.7895 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.01614, allocations: 1.531 kB / 0.7895 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.01614, allocations: 0 / 0.7895 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.01615, allocations: 3.938 kB / 0.7896 GB, free: 6.711 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.001161/0.01731, allocations: 1.276 MB / 0.7908 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.01734, allocations: 9.344 kB / 0.7908 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.01753, allocations: 37.42 kB / 0.7908 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.01781, allocations: 337.4 kB / 0.7912 GB, free: 5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.01782, allocations: 4.375 kB / 0.7912 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.01784, allocations: 4.375 kB / 0.7912 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.01803, allocations: 230.3 kB / 0.7914 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.01804, allocations: 192 / 0.7914 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.01804, allocations: 384 / 0.7914 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.01805, allocations: 7.938 kB / 0.7914 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.01817, allocations: 198.8 kB / 0.7916 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.01837, allocations: 256.5 kB / 0.7918 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.01856, allocations: 289 kB / 0.7921 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/0.01865, allocations: 153.7 kB / 0.7923 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002695/0.01892, allocations: 128.5 kB / 0.7924 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.01909, allocations: 229.7 kB / 0.7926 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.01909, allocations: 0 / 0.7926 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003798/0.01947, allocations: 498.9 kB / 0.7931 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.01951, allocations: 85.05 kB / 0.7932 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005561/0.02006, allocations: 1.058 MB / 0.7942 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.02009, allocations: 33.64 kB / 0.7942 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.02021, allocations: 277.7 kB / 0.7945 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.02023, allocations: 19.84 kB / 0.7945 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.02044, allocations: 335.9 kB / 0.7948 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.02051, allocations: 322.8 kB / 0.7951 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.02083, allocations: 0.5058 MB / 0.7956 GB, free: 316 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.02119, allocations: 0.6075 MB / 0.7962 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.02265, allocations: 2.239 MB / 0.7984 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.02265, allocations: 3.938 kB / 0.7984 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002409/0.02506, allocations: 3.721 MB / 0.802 GB, free: 9.613 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.02507, allocations: 8 kB / 0.8021 GB, free: 9.605 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.02508, allocations: 0 / 0.8021 GB, free: 9.605 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.02509, allocations: 0 / 0.8021 GB, free: 9.605 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.02518, allocations: 30.98 kB / 0.8021 GB, free: 9.578 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.02518, allocations: 0 / 0.8021 GB, free: 9.578 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.02542, allocations: 245.2 kB / 0.8023 GB, free: 9.336 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.02545, allocations: 19.98 kB / 0.8023 GB, free: 9.316 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.0001181/0.02556, allocations: 124.7 kB / 0.8025 GB, free: 9.184 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.02559, allocations: 11.98 kB / 0.8025 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.02588, allocations: 380.1 kB / 0.8028 GB, free: 8.793 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.02588, allocations: 0.9375 kB / 0.8028 GB, free: 8.793 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.02588, allocations: 0 / 0.8028 GB, free: 8.793 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.02588, allocations: 7.938 kB / 0.8028 GB, free: 8.785 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.02609, allocations: 303.7 kB / 0.8031 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.02609, allocations: 0.7188 kB / 0.8031 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.02612, allocations: 4 kB / 0.8031 GB, free: 8.469 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.02612, allocations: 5.094 kB / 0.8031 GB, free: 8.465 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.02613, allocations: 3.984 kB / 0.8031 GB, free: 8.461 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.02613, allocations: 4.812 kB / 0.8031 GB, free: 8.457 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.02613, allocations: 4 kB / 0.8031 GB, free: 8.453 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.02637, allocations: 376.4 kB / 0.8035 GB, free: 8.066 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.02642, allocations: 91.25 kB / 0.8036 GB, free: 7.977 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.02645, allocations: 7.938 kB / 0.8036 GB, free: 7.969 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.337e-05/0.02652, allocations: 5.062 kB / 0.8036 GB, free: 7.965 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.02654, allocations: 7.984 kB / 0.8036 GB, free: 7.957 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.02656, allocations: 13.02 kB / 0.8036 GB, free: 7.945 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002682/0.02683, allocations: 426.8 kB / 0.804 GB, free: 7.523 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.02683, allocations: 0.9375 kB / 0.804 GB, free: 7.523 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007417/0.02757, allocations: 0.5884 MB / 0.8046 GB, free: 6.934 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.001203/0.02877, allocations: 0.8236 MB / 0.8054 GB, free: 6.152 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007888/0.02956, allocations: 0.9664 MB / 0.8064 GB, free: 5.168 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.02957, allocations: 12 kB / 0.8064 GB, free: 5.156 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.02968, allocations: 169.5 kB / 0.8065 GB, free: 4.988 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.02988, allocations: 49.72 kB / 0.8066 GB, free: 4.938 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.03105, allocations: 1.552 MB / 0.8081 GB, free: 3.355 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.03116, allocations: 195.6 kB / 0.8083 GB, free: 3.145 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.684e-05/0.03126, allocations: 38.08 kB / 0.8083 GB, free: 3.113 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.0314, allocations: 83.34 kB / 0.8084 GB, free: 3.031 MB / 0.7605 GB Notification: Performance of SimCode: time 5.61e-07/0.0314, allocations: 0.9375 kB / 0.8084 GB, free: 3.031 MB / 0.7605 GB Notification: Performance of Templates: time 0.01747/0.04888, allocations: 16.26 MB / 0.8243 GB, free: 2.996 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.576346897054464]