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.001506/0.001506, allocations: 75.7 kB / 21.74 MB, free: 2.516 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.001904/0.001904, allocations: 169.2 kB / 25.18 MB, free: 9.105 MB / 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 1.022/1.022, allocations: 177.1 MB / 205.6 MB, free: 5.117 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.913/1.913, allocations: 389.6 MB / 0.6364 GB, free: 12.24 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.613e-06/1.613e-06, allocations: 0 / 0.7756 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.753e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002734/0.002762, allocations: 1.854 MB / 0.7774 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.006309/0.009071, allocations: 5.202 MB / 0.7825 GB, free: 14.87 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.00922, allocations: 8.406 kB / 0.7825 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.01041, allocations: 365.5 kB / 0.7829 GB, free: 14.51 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.01052, allocations: 68.25 kB / 0.7829 GB, free: 14.44 MB / 0.7449 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.003205/0.01373, allocations: 1.439 MB / 0.7843 GB, free: 13 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.014, allocations: 168.9 kB / 0.7845 GB, free: 12.84 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.01405, allocations: 6.469 kB / 0.7845 GB, free: 12.84 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 9.711e-05/0.01414, allocations: 80.72 kB / 0.7846 GB, free: 12.76 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.01425, allocations: 57.12 kB / 0.7846 GB, free: 12.7 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.01427, allocations: 8 kB / 0.7847 GB, free: 12.69 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003959/0.01823, allocations: 2.588 MB / 0.7872 GB, free: 10.11 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.01844, allocations: 267.2 kB / 0.7874 GB, free: 9.852 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.01859, allocations: 135.9 kB / 0.7876 GB, free: 9.719 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.02217, allocations: 2.385 MB / 0.7899 GB, free: 7.328 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.02217, allocations: 0 / 0.7899 GB, free: 7.328 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.733e-06/0.02217, allocations: 0 / 0.7899 GB, free: 7.328 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.02218, allocations: 1.75 kB / 0.7899 GB, free: 7.328 MB / 0.7449 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.001584/0.02377, allocations: 1.27 MB / 0.7911 GB, free: 6.027 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.02381, allocations: 9.344 kB / 0.7911 GB, free: 6.02 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002681/0.02408, allocations: 37.98 kB / 0.7912 GB, free: 5.984 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.02441, allocations: 329.4 kB / 0.7915 GB, free: 5.629 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.02442, allocations: 4.375 kB / 0.7915 GB, free: 5.625 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.02445, allocations: 8.375 kB / 0.7915 GB, free: 5.617 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.02469, allocations: 229.4 kB / 0.7917 GB, free: 5.379 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.0247, allocations: 192 / 0.7917 GB, free: 5.379 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.02471, allocations: 384 / 0.7917 GB, free: 5.379 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.02471, allocations: 5.156 kB / 0.7917 GB, free: 5.375 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.02484, allocations: 195.9 kB / 0.7919 GB, free: 5.184 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000243/0.02509, allocations: 257.4 kB / 0.7922 GB, free: 4.914 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.02559, allocations: 281 kB / 0.7924 GB, free: 4.621 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.528e-05/0.02568, allocations: 154.8 kB / 0.7926 GB, free: 4.465 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003206/0.026, allocations: 128.7 kB / 0.7927 GB, free: 4.344 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.0262, allocations: 238.5 kB / 0.7929 GB, free: 4.094 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.0262, allocations: 0 / 0.7929 GB, free: 4.094 MB / 0.7449 GB Notification: Performance of matching and sorting (n=8): time 0.0004397/0.02664, allocations: 494.3 kB / 0.7934 GB, free: 3.605 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.02668, allocations: 85.11 kB / 0.7935 GB, free: 3.504 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006086/0.02729, allocations: 1.057 MB / 0.7945 GB, free: 2.438 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.02732, allocations: 34.64 kB / 0.7945 GB, free: 2.398 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.02745, allocations: 269.7 kB / 0.7948 GB, free: 2.129 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.02749, allocations: 32.64 kB / 0.7948 GB, free: 2.098 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.0277, allocations: 335.2 kB / 0.7952 GB, free: 1.766 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.02778, allocations: 315.9 kB / 0.7955 GB, free: 1.453 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.02811, allocations: 0.5097 MB / 0.796 GB, free: 0.9414 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/0.02849, allocations: 0.6173 MB / 0.7966 GB, free: 324 kB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.03006, allocations: 2.24 MB / 0.7987 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.03007, allocations: 0 / 0.7987 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002881/0.03295, allocations: 3.725 MB / 0.8024 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.03297, allocations: 8.5 kB / 0.8024 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.03299, allocations: 3.188 kB / 0.8024 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.03301, allocations: 0 / 0.8024 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.03313, allocations: 23.98 kB / 0.8024 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.03314, allocations: 0 / 0.8024 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.03343, allocations: 245.3 kB / 0.8026 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.03346, allocations: 15.98 kB / 0.8027 GB, free: 9.945 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.0001689/0.03363, allocations: 120.6 kB / 0.8028 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.03367, allocations: 14.42 kB / 0.8028 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.03402, allocations: 378.8 kB / 0.8032 GB, free: 9.426 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.03402, allocations: 0 / 0.8032 GB, free: 9.426 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.03402, allocations: 0.9375 kB / 0.8032 GB, free: 9.426 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.03403, allocations: 7.875 kB / 0.8032 GB, free: 9.418 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.03429, allocations: 307.8 kB / 0.8035 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.03429, allocations: 0 / 0.8035 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.03435, allocations: 9.016 kB / 0.8035 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.03435, allocations: 0 / 0.8035 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.03436, allocations: 4 kB / 0.8035 GB, free: 9.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.03437, allocations: 0.9375 kB / 0.8035 GB, free: 9.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.03437, allocations: 0 / 0.8035 GB, free: 9.09 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.03464, allocations: 392.4 kB / 0.8038 GB, free: 8.688 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.0347, allocations: 87.25 kB / 0.8039 GB, free: 8.602 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.03474, allocations: 5.016 kB / 0.8039 GB, free: 8.598 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.03482, allocations: 4 kB / 0.8039 GB, free: 8.594 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.03485, allocations: 16.86 kB / 0.804 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.03488, allocations: 11.98 kB / 0.804 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002748/0.03516, allocations: 426.8 kB / 0.8044 GB, free: 8.145 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.81e-07/0.03516, allocations: 1.156 kB / 0.8044 GB, free: 8.145 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001313/0.03647, allocations: 0.5884 MB / 0.8049 GB, free: 7.555 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.001412/0.03788, allocations: 0.8135 MB / 0.8057 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.03893, allocations: 0.97 MB / 0.8067 GB, free: 5.793 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/0.03894, allocations: 12.81 kB / 0.8067 GB, free: 5.781 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.03906, allocations: 165.8 kB / 0.8069 GB, free: 5.617 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.03929, allocations: 53.73 kB / 0.8069 GB, free: 5.562 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.04067, allocations: 1.592 MB / 0.8085 GB, free: 3.934 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.04092, allocations: 375 kB / 0.8088 GB, free: 3.547 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.04107, allocations: 91.81 kB / 0.8089 GB, free: 3.457 MB / 0.7605 GB Notification: Performance of SimCode: time 1.463e-06/0.04107, allocations: 4.812 kB / 0.8089 GB, free: 3.453 MB / 0.7605 GB Notification: Performance of Templates: time 0.01792/0.059, allocations: 14.78 MB / 0.8234 GB, free: 4.754 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 > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.441760909743607]