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.001933/0.001933, allocations: 96.16 kB / 20.21 MB, free: 4.207 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.002073/0.002073, allocations: 165.2 kB / 23.53 MB, free: 0.8906 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.578/1.578, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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 1.033/1.033, allocations: 115 MB / 375.3 MB, free: 7.617 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 1.613e-06/1.613e-06, allocations: 0.9844 kB / 480.9 MB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.527e-05, allocations: 2.312 kB / 480.9 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002497/0.002523, allocations: 1.772 MB / 482.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006613/0.009136, allocations: 5.202 MB / 487.8 MB, free: 7.426 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.009274, allocations: 2.156 kB / 487.8 MB, free: 7.426 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.01073, allocations: 343.6 kB / 488.2 MB, free: 7.289 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.01087, allocations: 58.69 kB / 488.2 MB, free: 7.258 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.004015/0.01489, allocations: 1.613 MB / 489.9 MB, free: 6.648 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.01518, allocations: 167.2 kB / 490 MB, free: 6.586 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.01523, allocations: 5.812 kB / 490 MB, free: 6.582 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.01533, allocations: 84.59 kB / 490.1 MB, free: 6.555 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.01555, allocations: 151.3 kB / 490.3 MB, free: 6.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.042e-05/0.0156, allocations: 16.06 kB / 490.3 MB, free: 6.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/0.01938, allocations: 2.405 MB / 492.7 MB, free: 5.887 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.01961, allocations: 290.4 kB / 493 MB, free: 5.777 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.01983, allocations: 166.3 kB / 493.1 MB, free: 5.723 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004706/0.02453, allocations: 2.523 MB / 495.6 MB, free: 4.977 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.02454, allocations: 0 / 495.6 MB, free: 4.977 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.02454, allocations: 3.938 kB / 495.6 MB, free: 4.973 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.02455, allocations: 0 / 495.6 MB, free: 4.973 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.01184/0.03639, allocations: 1.462 MB / 497.1 MB, free: 3.941 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.03644, allocations: 9.5 kB / 497.1 MB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004359/0.03687, allocations: 102.8 kB / 497.2 MB, free: 3.879 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/0.03744, allocations: 362.9 kB / 497.6 MB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.03745, allocations: 3.344 kB / 497.6 MB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.03749, allocations: 7.141 kB / 497.6 MB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.03793, allocations: 364.6 kB / 497.9 MB, free: 3.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.03794, allocations: 1.953 kB / 497.9 MB, free: 3.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.03795, allocations: 1.125 kB / 497.9 MB, free: 3.547 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.03796, allocations: 2.094 kB / 497.9 MB, free: 3.547 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.03841, allocations: 396 kB / 498.3 MB, free: 3.539 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007628/0.03917, allocations: 0.6769 MB / 499 MB, free: 3.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005303/0.0397, allocations: 0.5228 MB / 499.5 MB, free: 3.066 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.04, allocations: 308.9 kB / 499.8 MB, free: 3.039 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006503/0.04065, allocations: 142.3 kB / 500 MB, free: 3.027 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003868/0.04104, allocations: 382.8 kB / 0.4886 GB, free: 2.938 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.04104, allocations: 1.156 kB / 0.4886 GB, free: 2.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.001399/0.04244, allocations: 1.2 MB / 0.4898 GB, free: 2.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.04247, allocations: 78.52 kB / 0.4899 GB, free: 2.387 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.04382, allocations: 1.289 MB / 0.4911 GB, free: 1.277 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.04393, allocations: 27.66 kB / 0.4912 GB, free: 1.246 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.04415, allocations: 377.3 kB / 0.4915 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.04418, allocations: 22.06 kB / 0.4915 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/0.04454, allocations: 410.5 kB / 0.4919 GB, free: 0.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002993/0.04484, allocations: 0.4989 MB / 0.4924 GB, free: 16.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000627/0.04547, allocations: 0.6528 MB / 0.493 GB, free: 15.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.0465, allocations: 0.8288 MB / 0.4939 GB, free: 14.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00816/0.05466, allocations: 3.905 MB / 0.4977 GB, free: 11.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/0.05467, allocations: 0 / 0.4977 GB, free: 11.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005608/0.06028, allocations: 4.203 MB / 0.5018 GB, free: 7.027 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.06031, allocations: 7.938 kB / 0.5018 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.06033, allocations: 4.5 kB / 0.5018 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.06035, allocations: 5 kB / 0.5018 GB, free: 7.012 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.06051, allocations: 19.98 kB / 0.5018 GB, free: 6.992 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.06052, allocations: 8.656 kB / 0.5018 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006851/0.06121, allocations: 233.4 kB / 0.502 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/0.06127, allocations: 25.14 kB / 0.5021 GB, free: 6.73 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.0003205/0.06159, allocations: 179.9 kB / 0.5022 GB, free: 6.547 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.06171, allocations: 83.23 kB / 0.5023 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.06296, allocations: 0.8633 MB / 0.5032 GB, free: 5.598 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.06297, allocations: 5.438 kB / 0.5032 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.06297, allocations: 0 / 0.5032 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.06298, allocations: 0 / 0.5032 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007666/0.06374, allocations: 0.525 MB / 0.5037 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.06375, allocations: 0.7812 kB / 0.5037 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.641e-05/0.06382, allocations: 11.98 kB / 0.5037 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.06383, allocations: 1.594 kB / 0.5037 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.06385, allocations: 7.938 kB / 0.5037 GB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.06385, allocations: 0 / 0.5037 GB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.06385, allocations: 0 / 0.5037 GB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.06495, allocations: 0.9495 MB / 0.5046 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.06509, allocations: 95.22 kB / 0.5047 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.766e-05/0.06515, allocations: 3.938 kB / 0.5047 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.0653, allocations: 4 kB / 0.5047 GB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.06534, allocations: 7.984 kB / 0.5047 GB, free: 3.938 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.06539, allocations: 17.98 kB / 0.5048 GB, free: 3.922 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008614/0.06625, allocations: 0.6168 MB / 0.5054 GB, free: 3.301 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06625, allocations: 0 / 0.5054 GB, free: 3.301 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002347/0.0686, allocations: 0.5845 MB / 0.5059 GB, free: 2.715 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.002669/0.07126, allocations: 0.7897 MB / 0.5067 GB, free: 1.957 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.07334, allocations: 1.387 MB / 0.508 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.07334, allocations: 0 / 0.508 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.07371, allocations: 319.4 kB / 0.5084 GB, free: 240 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.07419, allocations: 57.5 kB / 0.5084 GB, free: 188 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.07662, allocations: 1.704 MB / 0.5101 GB, free: 14.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005539/0.07718, allocations: 375.8 kB / 0.5104 GB, free: 14.06 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.07737, allocations: 30.72 kB / 0.5105 GB, free: 14.03 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.07749, allocations: 32.47 kB / 0.5105 GB, free: 14 MB / 442.7 MB Notification: Performance of SimCode: time 1.393e-06/0.07749, allocations: 0 / 0.5105 GB, free: 14 MB / 442.7 MB Notification: Performance of Templates: time 0.02819/0.1057, allocations: 14.78 MB / 0.5249 GB, free: 15.4 MB / 458.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: 6.639113352051936]