Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001473/0.001473, allocations: 102.3 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001657/0.001657, allocations: 217.1 kB / 23.01 MB, free: 4.609 MB / 14.72 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.341/1.341, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8692/0.8692, allocations: 145 MB / 458.2 MB, free: 15.55 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 66.81 kB / 0.6345 GB, free: 6.766 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1774, allocations: 87.89 MB / 0.7203 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002704/0.1801, allocations: 1.461 MB / 0.7217 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006695/0.1868, allocations: 4.29 MB / 0.7259 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.1869, allocations: 0 / 0.7259 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.187, allocations: 15.86 kB / 0.7259 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.1872, allocations: 31.78 kB / 0.726 GB, free: 9.059 MB / 0.545 GB [/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/BuildSysPro 3.7.0/IBPSA/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.004153/0.1914, allocations: 1.6 MB / 0.7275 GB, free: 7.457 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1915, allocations: 87.75 kB / 0.7276 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.1916, allocations: 7.938 kB / 0.7276 GB, free: 7.363 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.137e-05/0.1917, allocations: 51.77 kB / 0.7277 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.1919, allocations: 155.6 kB / 0.7278 GB, free: 7.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.192, allocations: 16 kB / 0.7278 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0043/0.1963, allocations: 2.624 MB / 0.7304 GB, free: 4.516 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.1965, allocations: 271.8 kB / 0.7307 GB, free: 4.246 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002659/0.1968, allocations: 278.3 kB / 0.7309 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.2001, allocations: 2.15 MB / 0.733 GB, free: 1.816 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2001, allocations: 0 / 0.733 GB, free: 1.816 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2001, allocations: 4 kB / 0.733 GB, free: 1.812 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.2001, allocations: 0 / 0.733 GB, free: 1.812 MB / 0.545 GB 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.009144/0.2092, allocations: 1.268 MB / 0.7343 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2093, allocations: 12.03 kB / 0.7343 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003941/0.2097, allocations: 92.23 kB / 0.7344 GB, free: 416 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.2101, allocations: 311.1 kB / 0.7347 GB, free: 68 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.2101, allocations: 4.375 kB / 0.7347 GB, free: 64 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.2102, allocations: 12.38 kB / 0.7347 GB, free: 52 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004661/0.2106, allocations: 391.5 kB / 0.735 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2106, allocations: 0 / 0.735 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2106, allocations: 3.938 kB / 0.735 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2107, allocations: 0 / 0.735 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.2111, allocations: 435.8 kB / 0.7355 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000664/0.2118, allocations: 0.6166 MB / 0.7361 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.2124, allocations: 0.5594 MB / 0.7366 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.2127, allocations: 333.7 kB / 0.7369 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006873/0.2134, allocations: 143.9 kB / 0.7371 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004249/0.2138, allocations: 400.8 kB / 0.7374 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.2138, allocations: 4 kB / 0.7375 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0014/0.2152, allocations: 1.289 MB / 0.7387 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.2153, allocations: 97.02 kB / 0.7388 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.2166, allocations: 1.211 MB / 0.74 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.2166, allocations: 33.69 kB / 0.74 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.2169, allocations: 266.1 kB / 0.7403 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.2169, allocations: 23.84 kB / 0.7403 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003778/0.2173, allocations: 351.6 kB / 0.7406 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2174, allocations: 310 kB / 0.7409 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.2188, allocations: 1.369 MB / 0.7423 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.2203, allocations: 1.509 MB / 0.7437 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00731/0.2277, allocations: 3.557 MB / 0.7472 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2277, allocations: 0 / 0.7472 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.3583/0.586, allocations: 4.005 MB / 0.7511 GB, free: 29.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.586, allocations: 5.969 kB / 0.7511 GB, free: 29.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/0.586, allocations: 2.75 kB / 0.7511 GB, free: 29.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.586, allocations: 2.312 kB / 0.7511 GB, free: 29.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.5862, allocations: 20.84 kB / 0.7512 GB, free: 29.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5862, allocations: 1.219 kB / 0.7512 GB, free: 29.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/0.5866, allocations: 241.4 kB / 0.7514 GB, free: 29.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/0.5867, allocations: 27.98 kB / 0.7514 GB, free: 29.02 MB / 0.5606 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.0002349/0.5869, allocations: 240.5 kB / 0.7516 GB, free: 28.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.5869, allocations: 76.3 kB / 0.7517 GB, free: 28.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.5881, allocations: 0.9381 MB / 0.7526 GB, free: 28.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.5881, allocations: 4.125 kB / 0.7526 GB, free: 28.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5881, allocations: 1.219 kB / 0.7526 GB, free: 28.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.5881, allocations: 0.6562 kB / 0.7526 GB, free: 28.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.5885, allocations: 474 kB / 0.7531 GB, free: 28.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5885, allocations: 3.688 kB / 0.7531 GB, free: 28.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.273e-05/0.5886, allocations: 11.05 kB / 0.7531 GB, free: 28.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5886, allocations: 0.9688 kB / 0.7531 GB, free: 28.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.5886, allocations: 3.688 kB / 0.7531 GB, free: 28.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5886, allocations: 2.094 kB / 0.7531 GB, free: 28.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.5886, allocations: 4.781 kB / 0.7531 GB, free: 28.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000933/0.5896, allocations: 1.008 MB / 0.7541 GB, free: 28.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.607e-05/0.5896, allocations: 85.12 kB / 0.7542 GB, free: 28.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.5897, allocations: 4.469 kB / 0.7542 GB, free: 28.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.5898, allocations: 5.438 kB / 0.7542 GB, free: 28.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.5899, allocations: 9.891 kB / 0.7542 GB, free: 28.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.5899, allocations: 13.94 kB / 0.7542 GB, free: 28.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007934/0.5907, allocations: 0.6699 MB / 0.7549 GB, free: 28.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5907, allocations: 0 / 0.7549 GB, free: 28.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001564/0.5923, allocations: 0.5907 MB / 0.7554 GB, free: 28.29 MB / 0.5606 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.001668/0.5939, allocations: 0.7044 MB / 0.7561 GB, free: 28.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002232/0.5962, allocations: 1.999 MB / 0.7581 GB, free: 28.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5962, allocations: 2.938 kB / 0.7581 GB, free: 28.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.5966, allocations: 333.9 kB / 0.7584 GB, free: 28.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.5969, allocations: 39.17 kB / 0.7584 GB, free: 28.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.5994, allocations: 1.814 MB / 0.7602 GB, free: 27.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.5998, allocations: 0.965 MB / 0.7612 GB, free: 26.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.5999, allocations: 26.06 kB / 0.7612 GB, free: 26.77 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.5999, allocations: 1.438 kB / 0.7612 GB, free: 26.77 MB / 0.5606 GB Notification: Performance of Templates: time 0.02377/0.6237, allocations: 14.13 MB / 0.775 GB, free: 22.96 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.606614575022832] Failed to read output from testmodel.py, exit status != 0: 0.6327102589420974 0.642351291 0.44008356899999995 Calling exit ...