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.000872/0.000872, 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.0008949/0.0008949, allocations: 165 kB / 23.02 MB, free: 1.555 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.006/1.006, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.001627/0.001627, allocations: 237.7 kB / 260.2 MB, free: 12.83 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.6938/0.6938, allocations: 138.4 MB / 455.2 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 3.506e-06/3.506e-06, allocations: 4 kB / 0.5552 GB, free: 452 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/2.103e-05, allocations: 5.547 kB / 0.5552 GB, free: 448 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001727/0.001748, allocations: 1.473 MB / 0.5566 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004405/0.006153, allocations: 4.044 MB / 0.5606 GB, free: 10.88 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.006201, allocations: 0 / 0.5606 GB, free: 10.88 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.006308, allocations: 11.86 kB / 0.5606 GB, free: 10.87 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.006522, allocations: 35.78 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.002471/0.008993, allocations: 1.593 MB / 0.5622 GB, free: 9.238 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.009103, allocations: 99.66 kB / 0.5623 GB, free: 9.141 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.009139, allocations: 11.92 kB / 0.5623 GB, free: 9.129 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.881e-05/0.009208, allocations: 51.88 kB / 0.5623 GB, free: 9.078 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.009376, allocations: 147.7 kB / 0.5625 GB, free: 8.934 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.009407, allocations: 16 kB / 0.5625 GB, free: 8.918 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.0117, allocations: 2.378 MB / 0.5648 GB, free: 6.535 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.01187, allocations: 275.9 kB / 0.5651 GB, free: 6.266 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.01199, allocations: 148 kB / 0.5652 GB, free: 6.121 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.01414, allocations: 2.466 MB / 0.5676 GB, free: 3.648 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.01414, allocations: 4 kB / 0.5676 GB, free: 3.645 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01414, allocations: 0 / 0.5676 GB, free: 3.645 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.01415, allocations: 0 / 0.5676 GB, free: 3.645 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.004224/0.01837, allocations: 1.388 MB / 0.569 GB, free: 2.215 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.01841, allocations: 8.75 kB / 0.569 GB, free: 2.207 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/0.01865, allocations: 96.19 kB / 0.5691 GB, free: 2.113 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.01893, allocations: 313.2 kB / 0.5694 GB, free: 1.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.01895, allocations: 8.375 kB / 0.5694 GB, free: 1.762 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.01898, allocations: 8.359 kB / 0.5694 GB, free: 1.754 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.01927, allocations: 370.1 kB / 0.5698 GB, free: 1.375 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.01928, allocations: 4.188 kB / 0.5698 GB, free: 1.371 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.01929, allocations: 384 / 0.5698 GB, free: 1.371 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.0193, allocations: 3.938 kB / 0.5698 GB, free: 1.367 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.01952, allocations: 387.7 kB / 0.5701 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.01993, allocations: 0.6352 MB / 0.5708 GB, free: 324 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.02026, allocations: 0.5213 MB / 0.5713 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.02044, allocations: 307.4 kB / 0.5716 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003581/0.0208, allocations: 135.8 kB / 0.5717 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.02103, allocations: 372.2 kB / 0.572 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.02103, allocations: 0 / 0.572 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0007969/0.02183, allocations: 1.168 MB / 0.5732 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.02187, allocations: 85.05 kB / 0.5733 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007707/0.02264, allocations: 1.195 MB / 0.5744 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.02266, allocations: 29.7 kB / 0.5745 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.02282, allocations: 344.7 kB / 0.5748 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.02285, allocations: 19.86 kB / 0.5748 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.0231, allocations: 410.5 kB / 0.5752 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.0232, allocations: 496.4 kB / 0.5757 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004129/0.02361, allocations: 0.6781 MB / 0.5763 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/0.02411, allocations: 0.8468 MB / 0.5772 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.0258, allocations: 2.625 MB / 0.5797 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.0258, allocations: 0 / 0.5797 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002676/0.02848, allocations: 4.23 MB / 0.5839 GB, free: 2.637 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.02849, allocations: 4 kB / 0.5839 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.02851, allocations: 4 kB / 0.5839 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.02852, allocations: 0 / 0.5839 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.02862, allocations: 27.92 kB / 0.5839 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.02863, allocations: 0 / 0.5839 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.02886, allocations: 245.3 kB / 0.5841 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.0289, allocations: 31.91 kB / 0.5842 GB, free: 2.328 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.0001172/0.02901, allocations: 160.6 kB / 0.5843 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.02905, allocations: 71.34 kB / 0.5844 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005653/0.02962, allocations: 0.8501 MB / 0.5852 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.02962, allocations: 3.984 kB / 0.5852 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.02962, allocations: 3.938 kB / 0.5852 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.02963, allocations: 7.984 kB / 0.5852 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.02991, allocations: 0.4884 MB / 0.5857 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.02991, allocations: 0 / 0.5857 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.02995, allocations: 7.984 kB / 0.5857 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.02995, allocations: 4 kB / 0.5857 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.02996, allocations: 0 / 0.5857 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.02996, allocations: 0 / 0.5857 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.02997, allocations: 4 kB / 0.5857 GB, free: 0.6719 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/0.03049, allocations: 0.9346 MB / 0.5866 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.03054, allocations: 75.34 kB / 0.5867 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/0.0306, allocations: 7.984 kB / 0.5867 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.03071, allocations: 12 kB / 0.5867 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.03074, allocations: 11.86 kB / 0.5867 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.03077, allocations: 11.98 kB / 0.5867 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003558/0.03112, allocations: 0.5596 MB / 0.5873 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.03112, allocations: 0 / 0.5873 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000981/0.0321, allocations: 0.5845 MB / 0.5879 GB, free: 14.44 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.001254/0.03336, allocations: 0.7941 MB / 0.5886 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009071/0.03426, allocations: 1.418 MB / 0.59 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.03427, allocations: 0 / 0.59 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.03444, allocations: 311.4 kB / 0.5903 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.03466, allocations: 36.59 kB / 0.5904 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.03576, allocations: 1.583 MB / 0.5919 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.312e-05/0.03585, allocations: 187.1 kB / 0.5921 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.647e-05/0.03593, allocations: 32.47 kB / 0.5921 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.036, allocations: 32.41 kB / 0.5921 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/0.036, allocations: 0 / 0.5921 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of Templates: time 0.1654/0.2014, allocations: 14.28 MB / 0.6061 GB, free: 93.66 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.336462351027876]