Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.00177/0.00177, allocations: 93.47 kB / 19.44 MB, free: 332 kB / 13.93 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.001969/0.001969, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.549/1.549, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003213/0.003213, allocations: 227.1 kB / 259.8 MB, free: 12.85 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.183/1.183, allocations: 138.4 MB / 454.7 MB, free: 1.535 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5544 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.132e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002732/0.002763, allocations: 1.438 MB / 0.5558 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007724/0.01049, allocations: 4.029 MB / 0.5598 GB, free: 11.29 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.417e-05/0.01055, allocations: 3.938 kB / 0.5598 GB, free: 11.29 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.01067, allocations: 7.922 kB / 0.5598 GB, free: 11.28 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.01093, allocations: 43.7 kB / 0.5598 GB, free: 11.24 MB / 490.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.004353/0.01529, allocations: 1.585 MB / 0.5614 GB, free: 9.648 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.01546, allocations: 95.67 kB / 0.5615 GB, free: 9.555 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.785e-05/0.0155, allocations: 0 / 0.5615 GB, free: 9.555 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.01561, allocations: 63.86 kB / 0.5615 GB, free: 9.492 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.01588, allocations: 147.7 kB / 0.5617 GB, free: 9.348 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.93e-05/0.01594, allocations: 16 kB / 0.5617 GB, free: 9.332 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004275/0.02021, allocations: 2.374 MB / 0.564 GB, free: 6.953 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002995/0.02051, allocations: 279.9 kB / 0.5643 GB, free: 6.68 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.02074, allocations: 152 kB / 0.5644 GB, free: 6.531 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004461/0.0252, allocations: 2.451 MB / 0.5668 GB, free: 4.07 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.02521, allocations: 4 kB / 0.5668 GB, free: 4.066 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.02521, allocations: 0 / 0.5668 GB, free: 4.066 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.02521, allocations: 0 / 0.5668 GB, free: 4.066 MB / 490.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.0115/0.03672, allocations: 1.396 MB / 0.5682 GB, free: 2.629 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.03676, allocations: 12.75 kB / 0.5682 GB, free: 2.617 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004306/0.03719, allocations: 88.25 kB / 0.5683 GB, free: 2.531 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.03769, allocations: 309.2 kB / 0.5686 GB, free: 2.191 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.03771, allocations: 384 / 0.5686 GB, free: 2.191 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.03775, allocations: 20.36 kB / 0.5686 GB, free: 2.172 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/0.03826, allocations: 357.4 kB / 0.5689 GB, free: 1.809 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.03827, allocations: 4.125 kB / 0.5689 GB, free: 1.805 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.03828, allocations: 8.375 kB / 0.5689 GB, free: 1.797 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.03829, allocations: 3.938 kB / 0.5689 GB, free: 1.793 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004588/0.03875, allocations: 387.8 kB / 0.5693 GB, free: 1.414 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007695/0.03952, allocations: 0.639 MB / 0.5699 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.04014, allocations: 0.5292 MB / 0.5704 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003673/0.0405, allocations: 311.2 kB / 0.5707 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006519/0.04116, allocations: 135.7 kB / 0.5709 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004647/0.04162, allocations: 384.2 kB / 0.5712 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.04162, allocations: 0 / 0.5712 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.001782/0.0434, allocations: 1.184 MB / 0.5724 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.04348, allocations: 85.05 kB / 0.5725 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.04485, allocations: 1.199 MB / 0.5736 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.04491, allocations: 25.7 kB / 0.5737 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.04521, allocations: 336.7 kB / 0.574 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.04525, allocations: 27.78 kB / 0.574 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004947/0.04574, allocations: 406.5 kB / 0.5744 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002542/0.046, allocations: 496.4 kB / 0.5749 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008262/0.04682, allocations: 0.6547 MB / 0.5755 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000994/0.04782, allocations: 0.8283 MB / 0.5763 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008101/0.05592, allocations: 3.907 MB / 0.5801 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.05592, allocations: 0 / 0.5801 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00531/0.06123, allocations: 4.188 MB / 0.5842 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.06126, allocations: 8 kB / 0.5842 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.06128, allocations: 0 / 0.5842 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.0613, allocations: 15.95 kB / 0.5843 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.06145, allocations: 19.94 kB / 0.5843 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.413e-06/0.06146, allocations: 0 / 0.5843 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005599/0.06202, allocations: 241.3 kB / 0.5845 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/0.06208, allocations: 23.98 kB / 0.5845 GB, free: 1.516 MB / 0.4948 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 (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.0002186/0.0623, allocations: 164.6 kB / 0.5847 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.06238, allocations: 83.22 kB / 0.5848 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.06375, allocations: 0.858 MB / 0.5856 GB, free: 400 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.06375, allocations: 0 / 0.5856 GB, free: 400 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.06376, allocations: 11.94 kB / 0.5856 GB, free: 388 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.06377, allocations: 0 / 0.5856 GB, free: 388 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005868/0.06435, allocations: 0.4883 MB / 0.5861 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.06436, allocations: 0 / 0.5861 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/0.06443, allocations: 11.94 kB / 0.5861 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.06443, allocations: 0 / 0.5861 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.06444, allocations: 3.984 kB / 0.5861 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.06445, allocations: 4 kB / 0.5861 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.06445, allocations: 0 / 0.5861 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.06553, allocations: 0.9383 MB / 0.587 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.06563, allocations: 87.3 kB / 0.5871 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.06569, allocations: 4 kB / 0.5871 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.06583, allocations: 7.984 kB / 0.5871 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.06588, allocations: 7.922 kB / 0.5871 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.06591, allocations: 19.86 kB / 0.5871 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006976/0.06661, allocations: 0.5596 MB / 0.5877 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.06661, allocations: 0 / 0.5877 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001598/0.06821, allocations: 0.5884 MB / 0.5883 GB, free: 13.59 MB / 0.5105 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.002145/0.07035, allocations: 0.7911 MB / 0.589 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001867/0.07222, allocations: 1.39 MB / 0.5904 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.07222, allocations: 0 / 0.5904 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.07261, allocations: 311.5 kB / 0.5907 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.07294, allocations: 44.72 kB / 0.5907 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.07564, allocations: 1.596 MB / 0.5923 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007141/0.07636, allocations: 356.1 kB / 0.5926 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.0765, allocations: 28.47 kB / 0.5927 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.07662, allocations: 28.47 kB / 0.5927 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of SimCode: time 8.11e-07/0.07662, allocations: 0 / 0.5927 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of Templates: time 0.2028/0.2794, allocations: 14.02 MB / 0.6064 GB, free: 100.5 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.893101036082953]