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.001121/0.001121, allocations: 93.06 kB / 19.65 MB, free: 280 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.0008965/0.0008965, allocations: 173 kB / 23.02 MB, free: 1.551 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 0.8998/0.8998, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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.001536/0.001536, allocations: 228.9 kB / 260.2 MB, free: 12.84 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 0.7078/0.7078, allocations: 138.4 MB / 455.2 MB, free: 1.547 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.353e-06/1.353e-06, allocations: 0 / 0.5552 GB, free: 460 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.537e-05, allocations: 6.25 kB / 0.5552 GB, free: 452 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001609/0.001625, allocations: 1.469 MB / 0.5566 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004331/0.005956, allocations: 4.036 MB / 0.5606 GB, free: 10.9 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.006003, allocations: 3.938 kB / 0.5606 GB, free: 10.89 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.006109, allocations: 19.86 kB / 0.5606 GB, free: 10.88 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.006328, allocations: 31.77 kB / 0.5606 GB, free: 10.84 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.002946/0.009274, allocations: 1.597 MB / 0.5622 GB, free: 9.242 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.009392, allocations: 87.67 kB / 0.5623 GB, free: 9.156 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.009429, allocations: 11.94 kB / 0.5623 GB, free: 9.145 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.382e-05/0.009503, allocations: 63.86 kB / 0.5623 GB, free: 9.082 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.009668, allocations: 143.7 kB / 0.5625 GB, free: 8.941 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.009697, allocations: 12 kB / 0.5625 GB, free: 8.93 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.01226, allocations: 2.436 MB / 0.5649 GB, free: 6.504 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.01241, allocations: 279.9 kB / 0.5651 GB, free: 6.23 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.01253, allocations: 152 kB / 0.5653 GB, free: 6.082 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002863/0.01539, allocations: 2.459 MB / 0.5677 GB, free: 3.617 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.01539, allocations: 0 / 0.5677 GB, free: 3.617 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01539, allocations: 0 / 0.5677 GB, free: 3.617 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.0154, allocations: 4 kB / 0.5677 GB, free: 3.613 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.005847/0.02125, allocations: 1.392 MB / 0.569 GB, free: 2.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.02129, allocations: 8.75 kB / 0.5691 GB, free: 2.172 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002897/0.02158, allocations: 96.25 kB / 0.5691 GB, free: 2.078 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.02189, allocations: 309.2 kB / 0.5694 GB, free: 1.738 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.02191, allocations: 4.375 kB / 0.5694 GB, free: 1.734 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.02194, allocations: 8.312 kB / 0.5695 GB, free: 1.727 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.02229, allocations: 378.1 kB / 0.5698 GB, free: 1.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.0223, allocations: 192 / 0.5698 GB, free: 1.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.02231, allocations: 4.375 kB / 0.5698 GB, free: 1.336 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.527e-06/0.02232, allocations: 7.938 kB / 0.5698 GB, free: 1.328 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.0226, allocations: 379.8 kB / 0.5702 GB, free: 0.957 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.02312, allocations: 0.6391 MB / 0.5708 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.02351, allocations: 0.5212 MB / 0.5713 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.02373, allocations: 303.4 kB / 0.5716 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000399/0.02413, allocations: 131.9 kB / 0.5717 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/0.02441, allocations: 384.2 kB / 0.5721 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.02441, allocations: 0 / 0.5721 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0009787/0.02539, allocations: 1.164 MB / 0.5732 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.02543, allocations: 81.05 kB / 0.5733 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009259/0.02636, allocations: 1.199 MB / 0.5745 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.02639, allocations: 29.7 kB / 0.5745 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.02659, allocations: 340.7 kB / 0.5748 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.02662, allocations: 23.84 kB / 0.5749 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005795/0.0272, allocations: 410.7 kB / 0.5753 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.02731, allocations: 496.4 kB / 0.5757 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005567/0.02787, allocations: 0.6742 MB / 0.5764 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006549/0.02852, allocations: 0.8476 MB / 0.5772 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.03064, allocations: 2.621 MB / 0.5798 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.03064, allocations: 0 / 0.5798 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003749/0.03439, allocations: 4.238 MB / 0.5839 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.03441, allocations: 4 kB / 0.5839 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.03442, allocations: 8.031 kB / 0.5839 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.03444, allocations: 0 / 0.5839 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.03455, allocations: 23.92 kB / 0.5839 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.03455, allocations: 4 kB / 0.584 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.03488, allocations: 241.3 kB / 0.5842 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.03492, allocations: 23.98 kB / 0.5842 GB, free: 2.297 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.0001388/0.03506, allocations: 168.5 kB / 0.5844 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.03511, allocations: 71.34 kB / 0.5844 GB, free: 2.051 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007152/0.03582, allocations: 0.8579 MB / 0.5853 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.03583, allocations: 0 / 0.5853 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.03583, allocations: 3.938 kB / 0.5853 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.03583, allocations: 0 / 0.5853 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.03621, allocations: 0.4884 MB / 0.5858 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.03621, allocations: 0 / 0.5858 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.03625, allocations: 7.984 kB / 0.5858 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.03625, allocations: 0 / 0.5858 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.03626, allocations: 4 kB / 0.5858 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.03626, allocations: 0 / 0.5858 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.03626, allocations: 4.031 kB / 0.5858 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006781/0.03694, allocations: 0.9422 MB / 0.5867 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.03701, allocations: 75.34 kB / 0.5868 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.03705, allocations: 4 kB / 0.5868 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.03714, allocations: 3.984 kB / 0.5868 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.03717, allocations: 7.75 kB / 0.5868 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.0372, allocations: 15.97 kB / 0.5868 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004601/0.03766, allocations: 0.5557 MB / 0.5873 GB, free: 15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.4e-07/0.03766, allocations: 0 / 0.5873 GB, free: 15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001153/0.03881, allocations: 0.5923 MB / 0.5879 GB, free: 14.41 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.001537/0.04035, allocations: 0.8019 MB / 0.5887 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.04179, allocations: 1.41 MB / 0.5901 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.04179, allocations: 0 / 0.5901 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.04202, allocations: 307.4 kB / 0.5904 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.0423, allocations: 44.72 kB / 0.5904 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.04372, allocations: 1.59 MB / 0.592 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.04385, allocations: 183.1 kB / 0.5921 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.546e-05/0.04395, allocations: 32.45 kB / 0.5922 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/0.04404, allocations: 28.48 kB / 0.5922 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of SimCode: time 7.51e-07/0.04404, allocations: 0 / 0.5922 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of Templates: time 0.1714/0.2154, allocations: 16.1 MB / 0.6079 GB, free: 93.38 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: 4.101144216954708]