Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009524/0.0009524, allocations: 96.2 kB / 20.43 MB, free: 4.133 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.001464/0.001464, allocations: 165 kB / 23.8 MB, free: 0.7656 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.021/1.021, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6408/0.6408, allocations: 115 MB / 375.7 MB, free: 7.629 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0.5 kB / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.945e-05, allocations: 2.312 kB / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002231/0.00225, allocations: 1.805 MB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006191/0.008442, allocations: 5.227 MB / 488.6 MB, free: 7.469 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.642e-05/0.008528, allocations: 2.281 kB / 488.6 MB, free: 7.469 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.00964, allocations: 337 kB / 489 MB, free: 7.336 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.916e-05/0.009729, allocations: 67.72 kB / 489 MB, free: 7.297 MB / 410.7 MB [/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.003384/0.01311, allocations: 1.613 MB / 490.6 MB, free: 6.695 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.01336, allocations: 177 kB / 490.8 MB, free: 6.625 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.471e-05/0.0134, allocations: 6.438 kB / 490.8 MB, free: 6.625 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.01351, allocations: 82.55 kB / 490.9 MB, free: 6.602 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.01371, allocations: 154 kB / 491.1 MB, free: 6.566 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.01375, allocations: 15.25 kB / 491.1 MB, free: 6.566 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003256/0.01701, allocations: 2.411 MB / 493.5 MB, free: 5.934 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.01725, allocations: 288.4 kB / 493.8 MB, free: 5.828 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.01742, allocations: 163.8 kB / 493.9 MB, free: 5.773 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003935/0.02136, allocations: 2.503 MB / 496.4 MB, free: 5.031 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.02136, allocations: 3.938 kB / 496.4 MB, free: 5.027 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02136, allocations: 0 / 496.4 MB, free: 5.027 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.02138, allocations: 3.875 kB / 496.4 MB, free: 5.027 MB / 410.7 MB 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.004831/0.02621, allocations: 1.469 MB / 497.9 MB, free: 3.988 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.02626, allocations: 9.875 kB / 497.9 MB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003386/0.0266, allocations: 101.9 kB / 498 MB, free: 3.926 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.02703, allocations: 348.3 kB / 498.4 MB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.02705, allocations: 8.156 kB / 498.4 MB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.02709, allocations: 7 kB / 498.4 MB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.02759, allocations: 380.2 kB / 498.7 MB, free: 3.582 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.02761, allocations: 1.922 kB / 498.7 MB, free: 3.582 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.02762, allocations: 11.16 kB / 498.7 MB, free: 3.574 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.02764, allocations: 1.5 kB / 498.8 MB, free: 3.574 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004586/0.0281, allocations: 380.8 kB / 499.1 MB, free: 3.574 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006975/0.02879, allocations: 0.6713 MB / 499.8 MB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005689/0.02936, allocations: 0.5217 MB / 0.4886 GB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.0297, allocations: 302.2 kB / 0.4889 GB, free: 3.078 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004647/0.03017, allocations: 133.5 kB / 0.489 GB, free: 3.074 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004037/0.03057, allocations: 382.8 kB / 0.4894 GB, free: 2.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.03057, allocations: 2.656 kB / 0.4894 GB, free: 2.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.001135/0.03171, allocations: 1.178 MB / 0.4905 GB, free: 2.277 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.03175, allocations: 90.31 kB / 0.4906 GB, free: 2.172 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009655/0.03271, allocations: 1.273 MB / 0.4919 GB, free: 17.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.03274, allocations: 30.31 kB / 0.4919 GB, free: 17.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.03294, allocations: 369.9 kB / 0.4922 GB, free: 16.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.03298, allocations: 26.88 kB / 0.4923 GB, free: 16.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/0.03328, allocations: 406.8 kB / 0.4926 GB, free: 16.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.03342, allocations: 0.4931 MB / 0.4931 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.03388, allocations: 0.6737 MB / 0.4938 GB, free: 15.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006622/0.03454, allocations: 0.8437 MB / 0.4946 GB, free: 14.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.0366, allocations: 2.627 MB / 0.4972 GB, free: 11.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.03661, allocations: 0 / 0.4972 GB, free: 11.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003176/0.03978, allocations: 4.242 MB / 0.5013 GB, free: 7.734 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.03981, allocations: 11.06 kB / 0.5013 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.03982, allocations: 4.703 kB / 0.5013 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.03985, allocations: 5.031 kB / 0.5013 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.03998, allocations: 31.97 kB / 0.5014 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.03999, allocations: 0 / 0.5014 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.04028, allocations: 234.9 kB / 0.5016 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.04032, allocations: 25.03 kB / 0.5016 GB, free: 7.441 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[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.0001497/0.04047, allocations: 166.1 kB / 0.5018 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.04053, allocations: 93.44 kB / 0.5019 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007902/0.04133, allocations: 0.8451 MB / 0.5027 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.04133, allocations: 4.75 kB / 0.5027 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.04134, allocations: 1 kB / 0.5027 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.04134, allocations: 0.8906 kB / 0.5027 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.04176, allocations: 0.533 MB / 0.5032 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.04176, allocations: 5.188 kB / 0.5032 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.0418, allocations: 7.938 kB / 0.5032 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.04181, allocations: 1.625 kB / 0.5032 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.04182, allocations: 7.938 kB / 0.5032 GB, free: 5.883 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.04182, allocations: 3.984 kB / 0.5032 GB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.04183, allocations: 0 / 0.5032 GB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006195/0.04245, allocations: 0.9284 MB / 0.5041 GB, free: 4.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.04251, allocations: 91.28 kB / 0.5042 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.04255, allocations: 11.94 kB / 0.5042 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.774e-05/0.04262, allocations: 0.8125 kB / 0.5042 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.04267, allocations: 7.984 kB / 0.5043 GB, free: 4.816 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.04269, allocations: 17.23 kB / 0.5043 GB, free: 4.801 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004599/0.04315, allocations: 0.6051 MB / 0.5049 GB, free: 4.191 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04315, allocations: 0 / 0.5049 GB, free: 4.191 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001893/0.04504, allocations: 0.5894 MB / 0.5054 GB, free: 3.602 MB / 426.7 MB 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.001631/0.04668, allocations: 0.7988 MB / 0.5062 GB, free: 2.832 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.04783, allocations: 1.42 MB / 0.5076 GB, free: 1.395 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.04783, allocations: 0 / 0.5076 GB, free: 1.395 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.04805, allocations: 303.5 kB / 0.5079 GB, free: 1.094 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.04836, allocations: 56.7 kB / 0.5079 GB, free: 1.039 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.05008, allocations: 1.677 MB / 0.5096 GB, free: 15.33 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.05022, allocations: 195.6 kB / 0.5098 GB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.05033, allocations: 42.39 kB / 0.5098 GB, free: 15.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.05041, allocations: 36.41 kB / 0.5098 GB, free: 15.05 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/0.05041, allocations: 0 / 0.5098 GB, free: 15.05 MB / 442.7 MB Notification: Performance of Templates: time 0.01995/0.07036, allocations: 15.05 MB / 0.5245 GB, free: 176 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.543219232931733]