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.0008852/0.0008852, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.0008976/0.0008976, allocations: 165 kB / 24.17 MB, free: 324 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.9124/0.9124, allocations: 177.1 MB / 204.6 MB, free: 5.023 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.829/1.829, 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.052e-06/1.052e-06, allocations: 0 / 0.7752 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.737e-06/9.789e-06, allocations: 6.062 kB / 0.7753 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001796/0.001806, allocations: 1.81 MB / 0.777 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005025/0.006831, allocations: 5.209 MB / 0.7821 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.953e-05/0.00689, allocations: 1.438 kB / 0.7821 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006876/0.007578, allocations: 353.4 kB / 0.7824 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.802e-05/0.007646, allocations: 71.53 kB / 0.7825 GB, free: 13.89 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.001942/0.009588, allocations: 1.62 MB / 0.7841 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.009739, allocations: 164.2 kB / 0.7843 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.21e-05/0.009771, allocations: 14.45 kB / 0.7843 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.759e-05/0.009849, allocations: 80.67 kB / 0.7843 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.492e-05/0.009934, allocations: 61.11 kB / 0.7844 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.009947, allocations: 5 kB / 0.7844 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.01197, allocations: 2.401 MB / 0.7867 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.0121, allocations: 263.2 kB / 0.787 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.441e-05/0.0122, allocations: 135.4 kB / 0.7871 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.01388, allocations: 2.381 MB / 0.7895 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.01389, allocations: 4 kB / 0.7895 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.01389, allocations: 5.031 kB / 0.7895 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.01389, allocations: 0 / 0.7895 GB, free: 6.777 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.001053/0.01495, allocations: 1.264 MB / 0.7907 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.668e-05/0.01497, allocations: 9.344 kB / 0.7907 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.01514, allocations: 41.97 kB / 0.7907 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.01541, allocations: 335.7 kB / 0.7911 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.01542, allocations: 5.25 kB / 0.7911 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.01545, allocations: 8.359 kB / 0.7911 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.01562, allocations: 221.3 kB / 0.7913 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.01563, allocations: 9.141 kB / 0.7913 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.01564, allocations: 384 / 0.7913 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.01565, allocations: 3.938 kB / 0.7913 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.01576, allocations: 196.9 kB / 0.7915 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.01596, allocations: 252.5 kB / 0.7917 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.01614, allocations: 286.4 kB / 0.792 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.824e-05/0.01623, allocations: 153.7 kB / 0.7922 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000263/0.01649, allocations: 132.9 kB / 0.7923 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.01665, allocations: 225.8 kB / 0.7925 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.01665, allocations: 0.8438 kB / 0.7925 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003579/0.01701, allocations: 495.7 kB / 0.793 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.01704, allocations: 85.05 kB / 0.793 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/0.01758, allocations: 1.057 MB / 0.7941 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.01761, allocations: 33.69 kB / 0.7941 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.01772, allocations: 273.7 kB / 0.7944 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.01775, allocations: 19.84 kB / 0.7944 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.01794, allocations: 340.1 kB / 0.7947 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.01801, allocations: 321.9 kB / 0.795 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/0.01832, allocations: 0.5102 MB / 0.7955 GB, free: 400 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.01866, allocations: 0.611 MB / 0.7961 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.02008, allocations: 2.236 MB / 0.7983 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.02008, allocations: 0 / 0.7983 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002373/0.02245, allocations: 3.721 MB / 0.8019 GB, free: 9.699 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.02246, allocations: 8 kB / 0.8019 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.02247, allocations: 2.438 kB / 0.8019 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.02249, allocations: 0 / 0.8019 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.921e-05/0.02256, allocations: 27.92 kB / 0.802 GB, free: 9.664 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.02257, allocations: 0 / 0.802 GB, free: 9.664 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.0228, allocations: 245.2 kB / 0.8022 GB, free: 9.422 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.02283, allocations: 25.53 kB / 0.8022 GB, free: 9.398 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.0001138/0.02295, allocations: 116.7 kB / 0.8023 GB, free: 9.273 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.02297, allocations: 15.98 kB / 0.8024 GB, free: 9.258 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.02325, allocations: 376.7 kB / 0.8027 GB, free: 8.883 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.02325, allocations: 4 kB / 0.8027 GB, free: 8.879 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.02325, allocations: 1.188 kB / 0.8027 GB, free: 8.879 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.02326, allocations: 3.938 kB / 0.8027 GB, free: 8.875 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.02346, allocations: 303.2 kB / 0.803 GB, free: 8.562 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.02346, allocations: 1.062 kB / 0.803 GB, free: 8.562 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.02349, allocations: 7.938 kB / 0.803 GB, free: 8.555 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.02349, allocations: 5.078 kB / 0.803 GB, free: 8.551 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.0235, allocations: 7.984 kB / 0.803 GB, free: 8.543 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.0235, allocations: 0 / 0.803 GB, free: 8.543 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.0235, allocations: 0.9375 kB / 0.803 GB, free: 8.543 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.02373, allocations: 383.4 kB / 0.8034 GB, free: 8.148 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.02378, allocations: 88.41 kB / 0.8035 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.02382, allocations: 0 / 0.8035 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.02388, allocations: 4 kB / 0.8035 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.0239, allocations: 4.609 kB / 0.8035 GB, free: 8.055 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.02392, allocations: 17.89 kB / 0.8035 GB, free: 8.039 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002657/0.02419, allocations: 434.8 kB / 0.8039 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.02419, allocations: 3.938 kB / 0.8039 GB, free: 7.605 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006908/0.02488, allocations: 0.5884 MB / 0.8045 GB, free: 7.016 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.001147/0.02602, allocations: 0.8176 MB / 0.8053 GB, free: 6.238 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006502/0.02667, allocations: 0.9662 MB / 0.8062 GB, free: 5.254 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.02668, allocations: 16 kB / 0.8063 GB, free: 5.238 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.02678, allocations: 161.7 kB / 0.8064 GB, free: 5.078 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.02697, allocations: 51.38 kB / 0.8065 GB, free: 5.027 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.02809, allocations: 1.554 MB / 0.808 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.0282, allocations: 192.2 kB / 0.8082 GB, free: 3.234 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.938e-05/0.02828, allocations: 38.11 kB / 0.8082 GB, free: 3.203 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.02841, allocations: 83.34 kB / 0.8083 GB, free: 3.121 MB / 0.7605 GB Notification: Performance of SimCode: time 3.4e-07/0.02841, allocations: 0 / 0.8083 GB, free: 3.121 MB / 0.7605 GB Notification: Performance of Templates: time 0.01694/0.04535, allocations: 16.27 MB / 0.8242 GB, free: 3.078 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 -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.272800263948739]