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_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9297/0.9297, allocations: 145.2 MB / 449.7 MB, free: 13.18 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 72.66 kB / 0.6233 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1541, allocations: 86.64 MB / 0.7079 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003123/0.1573, allocations: 1.78 MB / 0.7096 GB, free: 8 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008519/0.1658, allocations: 5.476 MB / 0.715 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.801e-05/0.1659, allocations: 0 / 0.715 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.1671, allocations: 366.4 kB / 0.7153 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.1672, allocations: 59.67 kB / 0.7154 GB, free: 10.09 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.6.0-master/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.003736/0.171, allocations: 1.496 MB / 0.7168 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.1713, allocations: 163.4 kB / 0.717 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.437e-05/0.1714, allocations: 9.547 kB / 0.717 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1715, allocations: 67.64 kB / 0.7171 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.1718, allocations: 171.5 kB / 0.7172 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/0.1718, allocations: 12 kB / 0.7172 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004274/0.1761, allocations: 2.313 MB / 0.7195 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.1763, allocations: 279.8 kB / 0.7198 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.1766, allocations: 306.1 kB / 0.7201 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003611/0.1803, allocations: 2.2 MB / 0.7222 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1803, allocations: 0 / 0.7222 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1803, allocations: 0 / 0.7222 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.843e-05/0.1803, allocations: 0 / 0.7222 GB, free: 3.074 MB / 0.5294 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.009376/0.1897, allocations: 1.414 MB / 0.7236 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1897, allocations: 12.03 kB / 0.7236 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004162/0.1901, allocations: 108.2 kB / 0.7237 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/0.1907, allocations: 410.3 kB / 0.7241 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.1908, allocations: 8.312 kB / 0.7241 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.1908, allocations: 8.375 kB / 0.7241 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.1913, allocations: 391.5 kB / 0.7245 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1913, allocations: 3.984 kB / 0.7245 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1913, allocations: 0 / 0.7245 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1913, allocations: 4 kB / 0.7245 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/0.1918, allocations: 427.8 kB / 0.7249 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007216/0.1925, allocations: 0.6738 MB / 0.7255 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005913/0.1931, allocations: 0.5633 MB / 0.7261 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.1935, allocations: 337.7 kB / 0.7264 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.1946, allocations: 1.021 MB / 0.7274 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004573/0.1951, allocations: 412.6 kB / 0.7278 GB, free: 12.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.813e-06/0.1951, allocations: 0 / 0.7278 GB, free: 12.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001796/0.1969, allocations: 1.309 MB / 0.7291 GB, free: 11.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.1969, allocations: 77.11 kB / 0.7292 GB, free: 11.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.1983, allocations: 1.29 MB / 0.7304 GB, free: 10.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.1984, allocations: 33.7 kB / 0.7305 GB, free: 10.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.1986, allocations: 289.9 kB / 0.7307 GB, free: 9.855 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.1987, allocations: 27.81 kB / 0.7308 GB, free: 9.828 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003974/0.1991, allocations: 347.6 kB / 0.7311 GB, free: 9.484 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1992, allocations: 322 kB / 0.7314 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.2007, allocations: 1.373 MB / 0.7327 GB, free: 7.789 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.2023, allocations: 1.506 MB / 0.7342 GB, free: 6.273 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007713/0.21, allocations: 3.556 MB / 0.7377 GB, free: 2.625 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.21, allocations: 0 / 0.7377 GB, free: 2.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005293/0.2153, allocations: 4.023 MB / 0.7416 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.2154, allocations: 4 kB / 0.7416 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/0.2154, allocations: 7.938 kB / 0.7416 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.2154, allocations: 0 / 0.7416 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.2156, allocations: 19.98 kB / 0.7416 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.2156, allocations: 4 kB / 0.7416 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006304/0.2162, allocations: 233.4 kB / 0.7419 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/0.2163, allocations: 31.98 kB / 0.7419 GB, free: 14.27 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.0003749/0.2167, allocations: 254.2 kB / 0.7421 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.543e-05/0.2167, allocations: 79.23 kB / 0.7422 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.2179, allocations: 0.9526 MB / 0.7431 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2179, allocations: 0 / 0.7431 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2179, allocations: 8.031 kB / 0.7432 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2179, allocations: 0 / 0.7432 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005963/0.2185, allocations: 0.5179 MB / 0.7437 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2185, allocations: 3.938 kB / 0.7437 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.589e-05/0.2186, allocations: 7.984 kB / 0.7437 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2186, allocations: 0 / 0.7437 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.2186, allocations: 4 kB / 0.7437 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2186, allocations: 3.984 kB / 0.7437 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2186, allocations: 0 / 0.7437 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.2198, allocations: 1.018 MB / 0.7447 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.2199, allocations: 172.3 kB / 0.7448 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.22, allocations: 3.984 kB / 0.7448 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.2201, allocations: 4 kB / 0.7448 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.2202, allocations: 7.984 kB / 0.7449 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.2202, allocations: 15.98 kB / 0.7449 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008846/0.2211, allocations: 0.7222 MB / 0.7456 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2211, allocations: 0 / 0.7456 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001943/0.223, allocations: 0.5923 MB / 0.7462 GB, free: 9.801 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.002013/0.2251, allocations: 0.6958 MB / 0.7468 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002619/0.2277, allocations: 2.007 MB / 0.7488 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2277, allocations: 0 / 0.7488 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003902/0.2281, allocations: 335.7 kB / 0.7491 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.2286, allocations: 57.41 kB / 0.7492 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.2314, allocations: 1.908 MB / 0.751 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.2321, allocations: 0.9879 MB / 0.752 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001823/0.2322, allocations: 41.42 kB / 0.752 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.2323, allocations: 23.42 kB / 0.7521 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of SimCode: time 1.282e-06/0.2323, allocations: 0 / 0.7521 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of Templates: time 0.02746/0.2598, allocations: 14.47 MB / 0.7662 GB, free: 5.289 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.042761611752212]