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_100boreholes.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.001522/0.001522, allocations: 84.75 kB / 20.83 MB, free: 3.621 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.001166/0.001166, allocations: 169 kB / 24.25 MB, free: 200 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.7 MB, free: 5.457 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.929/1.929, allocations: 389.6 MB / 0.6355 GB, free: 12.22 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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7755 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.112e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002641/0.002662, allocations: 1.526 MB / 0.7769 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.006302/0.008964, allocations: 4.037 MB / 0.7809 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.009029, allocations: 0.7188 kB / 0.7809 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.009144, allocations: 11.86 kB / 0.7809 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.009382, allocations: 33.8 kB / 0.7809 GB, free: 15.59 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.00277/0.01215, allocations: 1.443 MB / 0.7823 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.01225, allocations: 91.67 kB / 0.7824 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.01229, allocations: 11.97 kB / 0.7824 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.812e-05/0.01235, allocations: 60.41 kB / 0.7825 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.411e-05/0.01245, allocations: 67.14 kB / 0.7826 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.01246, allocations: 5 kB / 0.7826 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.01486, allocations: 2.584 MB / 0.7851 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0004229/0.01529, allocations: 0.7319 MB / 0.7858 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.01542, allocations: 253.3 kB / 0.786 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.01729, allocations: 2.725 MB / 0.7887 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.01729, allocations: 0 / 0.7887 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.52e-07/0.01729, allocations: 0 / 0.7887 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.0173, allocations: 2.438 kB / 0.7887 GB, free: 7.66 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.001389/0.01869, allocations: 1.879 MB / 0.7905 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.01872, allocations: 12.62 kB / 0.7906 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.01892, allocations: 56.86 kB / 0.7906 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.01933, allocations: 0.5148 MB / 0.7911 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.01934, allocations: 4.375 kB / 0.7911 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.01937, allocations: 8.375 kB / 0.7911 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.01961, allocations: 229.5 kB / 0.7913 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.01962, allocations: 192 / 0.7913 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-06/0.01963, allocations: 384 / 0.7913 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.01963, allocations: 8.875 kB / 0.7914 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.01979, allocations: 191.9 kB / 0.7915 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.02009, allocations: 294.5 kB / 0.7918 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.02033, allocations: 285 kB / 0.7921 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.02045, allocations: 153.6 kB / 0.7922 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003665/0.02082, allocations: 132.4 kB / 0.7924 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.02104, allocations: 225.6 kB / 0.7926 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.02104, allocations: 0.7812 kB / 0.7926 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0005083/0.02155, allocations: 0.5068 MB / 0.7931 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.02159, allocations: 85.05 kB / 0.7932 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.02288, allocations: 1.708 MB / 0.7948 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.02291, allocations: 38.72 kB / 0.7949 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.02314, allocations: 404 kB / 0.7952 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.02318, allocations: 27.78 kB / 0.7953 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003345/0.02351, allocations: 432 kB / 0.7957 GB, free: 300 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.0236, allocations: 305.1 kB / 0.796 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005384/0.02413, allocations: 0.6415 MB / 0.7966 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006719/0.02481, allocations: 0.7619 MB / 0.7973 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003919/0.02872, allocations: 3.256 MB / 0.8005 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.02873, allocations: 0 / 0.8005 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.003386/0.03211, allocations: 5.637 MB / 0.806 GB, free: 5.453 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.03213, allocations: 5.969 kB / 0.806 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.03214, allocations: 7.984 kB / 0.806 GB, free: 5.441 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.03215, allocations: 0 / 0.806 GB, free: 5.441 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/0.03225, allocations: 31.92 kB / 0.8061 GB, free: 5.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.03225, allocations: 4.062 kB / 0.8061 GB, free: 5.406 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.03254, allocations: 314.2 kB / 0.8064 GB, free: 5.098 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.03257, allocations: 15.98 kB / 0.8064 GB, free: 5.082 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: 116 (labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],labels[7],labels[8],labels[9],labels[10],labels[11],labels[12],labels[13],labels[14],labels[15],labels[16],labels[17],labels[18],labels[19],labels[20],labels[21],labels[22],labels[23],labels[24],labels[25],labels[26],labels[27],labels[28],labels[29],labels[30],labels[31],labels[32],labels[33],labels[34],labels[35],labels[36],labels[37],labels[38],labels[39],labels[40],labels[41],labels[42],labels[43],labels[44],labels[45],labels[46],labels[47],labels[48],labels[49],labels[50],labels[51],labels[52],labels[53],labels[54],labels[55],labels[56],labels[57],labels[58],labels[59],labels[60],labels[61],labels[62],labels[63],labels[64],labels[65],labels[66],labels[67],labels[68],labels[69],labels[70],labels[71],labels[72],labels[73],labels[74],labels[75],labels[76],labels[77],labels[78],labels[79],labels[80],labels[81],labels[82],labels[83],labels[84],labels[85],labels[86],labels[87],labels[88],labels[89],labels[90],labels[91],labels[92],labels[93],labels[94],labels[95],labels[96],labels[97],labels[98],labels[99],labels[100],cluSiz[1],cluSiz[2],cluSiz[3],cluSiz[4],cluSiz[5],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.0001879/0.03275, allocations: 187.4 kB / 0.8066 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.0328, allocations: 39.89 kB / 0.8066 GB, free: 4.855 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.0331, allocations: 421 kB / 0.807 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.0331, allocations: 0 / 0.807 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.03311, allocations: 4.703 kB / 0.807 GB, free: 4.434 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.03311, allocations: 3.938 kB / 0.807 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.03344, allocations: 444.7 kB / 0.8074 GB, free: 3.977 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.03344, allocations: 0 / 0.8074 GB, free: 3.977 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.03348, allocations: 8.75 kB / 0.8075 GB, free: 3.969 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.03348, allocations: 3.938 kB / 0.8075 GB, free: 3.965 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.03349, allocations: 12.52 kB / 0.8075 GB, free: 3.953 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.03349, allocations: 0.8438 kB / 0.8075 GB, free: 3.953 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.03349, allocations: 0 / 0.8075 GB, free: 3.953 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.03373, allocations: 417.4 kB / 0.8079 GB, free: 3.523 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.058e-05/0.03382, allocations: 150.7 kB / 0.808 GB, free: 3.375 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.03387, allocations: 4.781 kB / 0.808 GB, free: 3.371 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-05/0.03396, allocations: 4 kB / 0.808 GB, free: 3.367 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.03399, allocations: 8.891 kB / 0.808 GB, free: 3.359 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.03401, allocations: 19.91 kB / 0.808 GB, free: 3.34 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004403/0.03446, allocations: 0.7403 MB / 0.8088 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.21e-07/0.03446, allocations: 0 / 0.8088 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009269/0.03538, allocations: 0.632 MB / 0.8094 GB, free: 1.949 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.001212/0.03659, allocations: 0.8062 MB / 0.8102 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007878/0.03738, allocations: 1.216 MB / 0.8114 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/0.03739, allocations: 20 kB / 0.8114 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.828e-05/0.03749, allocations: 162.4 kB / 0.8115 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.03773, allocations: 60.22 kB / 0.8116 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.03945, allocations: 2.413 MB / 0.8139 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.03962, allocations: 294.2 kB / 0.8142 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.664e-05/0.03969, allocations: 33.92 kB / 0.8143 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.03981, allocations: 79.34 kB / 0.8143 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.03981, allocations: 0 / 0.8143 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of Templates: time 0.01859/0.05839, allocations: 16.13 MB / 0.8301 GB, free: 12.88 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.268724261783063]