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.001313/0.001313, allocations: 80.75 kB / 20.82 MB, free: 3.629 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.001456/0.001456, allocations: 165.3 kB / 24.25 MB, free: 208 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.9329/0.9329, allocations: 177.1 MB / 204.7 MB, free: 5.453 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.961/1.961, allocations: 389.6 MB / 0.6355 GB, free: 12.27 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.423e-06/1.423e-06, allocations: 0 / 0.7755 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.643e-05, allocations: 7.062 kB / 0.7755 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002998/0.003015, allocations: 1.849 MB / 0.7773 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00679/0.009805, allocations: 5.2 MB / 0.7824 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.009879, allocations: 0 / 0.7824 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008511/0.01073, allocations: 376.4 kB / 0.7827 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.603e-05/0.01081, allocations: 64.47 kB / 0.7828 GB, free: 13.71 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.002286/0.01309, allocations: 1.436 MB / 0.7842 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.01328, allocations: 160.9 kB / 0.7843 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.01331, allocations: 10.45 kB / 0.7843 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.01339, allocations: 84.83 kB / 0.7844 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.817e-05/0.01348, allocations: 65.11 kB / 0.7845 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.01349, allocations: 7.984 kB / 0.7845 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.01614, allocations: 2.58 MB / 0.787 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.01629, allocations: 260.5 kB / 0.7873 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.01639, allocations: 135.4 kB / 0.7874 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.01862, allocations: 2.377 MB / 0.7897 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.01863, allocations: 0.7812 kB / 0.7897 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.41e-07/0.01863, allocations: 0 / 0.7897 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.01863, allocations: 1.031 kB / 0.7897 GB, free: 6.609 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.001253/0.01988, allocations: 1.274 MB / 0.791 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.01991, allocations: 10.28 kB / 0.791 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.0201, allocations: 37.95 kB / 0.791 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.02038, allocations: 334.5 kB / 0.7913 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.02039, allocations: 8.375 kB / 0.7913 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.02041, allocations: 4.375 kB / 0.7913 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.0206, allocations: 228.5 kB / 0.7915 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.02061, allocations: 192 / 0.7915 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.02062, allocations: 8.359 kB / 0.7916 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.02062, allocations: 10.47 kB / 0.7916 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.02074, allocations: 195.8 kB / 0.7918 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.02094, allocations: 256.6 kB / 0.792 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.02112, allocations: 277.1 kB / 0.7923 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.972e-05/0.02121, allocations: 161.6 kB / 0.7924 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/0.02148, allocations: 133.1 kB / 0.7925 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.02165, allocations: 223.3 kB / 0.7928 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.02165, allocations: 0 / 0.7928 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003675/0.02202, allocations: 497.3 kB / 0.7932 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.02205, allocations: 81.11 kB / 0.7933 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005529/0.0226, allocations: 1.063 MB / 0.7943 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.02263, allocations: 25.7 kB / 0.7944 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.02275, allocations: 277.7 kB / 0.7946 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.02278, allocations: 27.78 kB / 0.7947 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.02297, allocations: 331.2 kB / 0.795 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.222e-05/0.02305, allocations: 325.9 kB / 0.7953 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.02335, allocations: 0.5116 MB / 0.7958 GB, free: 208 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.02369, allocations: 0.6055 MB / 0.7964 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.02512, allocations: 2.236 MB / 0.7986 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.02512, allocations: 0.7188 kB / 0.7986 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002409/0.02753, allocations: 3.733 MB / 0.8022 GB, free: 9.508 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.02754, allocations: 5.656 kB / 0.8022 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.02756, allocations: 0 / 0.8022 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.02756, allocations: 4 kB / 0.8022 GB, free: 9.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.429e-05/0.02765, allocations: 19.98 kB / 0.8022 GB, free: 9.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.02765, allocations: 8.75 kB / 0.8022 GB, free: 9.473 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.02788, allocations: 245.2 kB / 0.8025 GB, free: 9.23 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.02791, allocations: 28.59 kB / 0.8025 GB, free: 9.203 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.0001136/0.02803, allocations: 120 kB / 0.8026 GB, free: 9.078 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.02805, allocations: 11.98 kB / 0.8026 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.02833, allocations: 371.8 kB / 0.803 GB, free: 8.695 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.02833, allocations: 0.625 kB / 0.803 GB, free: 8.695 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.02833, allocations: 7.984 kB / 0.803 GB, free: 8.688 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.02834, allocations: 5.906 kB / 0.803 GB, free: 8.684 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.02854, allocations: 307.2 kB / 0.8033 GB, free: 8.367 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.02854, allocations: 0 / 0.8033 GB, free: 8.367 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.02857, allocations: 8 kB / 0.8033 GB, free: 8.359 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.02857, allocations: 0 / 0.8033 GB, free: 8.359 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-06/0.02858, allocations: 4.797 kB / 0.8033 GB, free: 8.355 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.02858, allocations: 4 kB / 0.8033 GB, free: 8.352 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02858, allocations: 1.5 kB / 0.8033 GB, free: 8.352 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.02881, allocations: 375.3 kB / 0.8037 GB, free: 7.965 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.02887, allocations: 87.25 kB / 0.8038 GB, free: 7.879 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.0289, allocations: 9 kB / 0.8038 GB, free: 7.871 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.209e-05/0.02896, allocations: 8 kB / 0.8038 GB, free: 7.863 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.02898, allocations: 5.453 kB / 0.8038 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.02901, allocations: 15.97 kB / 0.8038 GB, free: 7.844 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00026/0.02927, allocations: 430.8 kB / 0.8042 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.02927, allocations: 0 / 0.8042 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007798/0.03005, allocations: 0.5851 MB / 0.8048 GB, free: 6.832 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.001283/0.03133, allocations: 0.8149 MB / 0.8056 GB, free: 6.055 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006588/0.03199, allocations: 0.9671 MB / 0.8065 GB, free: 5.07 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.032, allocations: 12 kB / 0.8065 GB, free: 5.059 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.908e-05/0.0321, allocations: 164.7 kB / 0.8067 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.03229, allocations: 62.36 kB / 0.8067 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.03342, allocations: 1.551 MB / 0.8083 GB, free: 3.25 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.03352, allocations: 199.5 kB / 0.8084 GB, free: 3.035 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.463e-05/0.03361, allocations: 37.92 kB / 0.8085 GB, free: 3.004 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.03374, allocations: 87.89 kB / 0.8086 GB, free: 2.918 MB / 0.7605 GB Notification: Performance of SimCode: time 7.41e-07/0.03374, allocations: 0 / 0.8086 GB, free: 2.918 MB / 0.7605 GB Notification: Performance of Templates: time 0.01766/0.0514, allocations: 16.27 MB / 0.8245 GB, free: 2.863 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.635599568486214]