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.001831/0.001831, allocations: 105.5 kB / 16.45 MB, free: 6.449 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.001314/0.001314, allocations: 186.9 kB / 19.4 MB, free: 3.66 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.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.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.9162/0.9162, allocations: 145.2 MB / 447.9 MB, free: 6.32 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.001994/0.001994, allocations: 71.64 kB / 0.6205 GB, free: 0.793 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1734, allocations: 86.64 MB / 0.7051 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00312/0.1765, allocations: 1.764 MB / 0.7068 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008235/0.1847, allocations: 5.433 MB / 0.7121 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1849, allocations: 0 / 0.7121 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.1861, allocations: 374.4 kB / 0.7125 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.1863, allocations: 63.61 kB / 0.7126 GB, free: 2.441 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.004031/0.1903, allocations: 1.497 MB / 0.714 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.1906, allocations: 163.4 kB / 0.7142 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.1906, allocations: 13.53 kB / 0.7142 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.363e-05/0.1907, allocations: 59.77 kB / 0.7143 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.191, allocations: 175.4 kB / 0.7144 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.191, allocations: 12 kB / 0.7144 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.1946, allocations: 2.313 MB / 0.7167 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.1949, allocations: 283.7 kB / 0.717 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.1952, allocations: 306.1 kB / 0.7173 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003596/0.1988, allocations: 2.196 MB / 0.7194 GB, free: 11.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1988, allocations: 0 / 0.7194 GB, free: 11.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1988, allocations: 0 / 0.7194 GB, free: 11.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.1988, allocations: 0 / 0.7194 GB, free: 11.43 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.01106/0.2098, allocations: 1.418 MB / 0.7208 GB, free: 9.961 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.2099, allocations: 12.03 kB / 0.7208 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/0.2103, allocations: 100.2 kB / 0.7209 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005882/0.2109, allocations: 410.4 kB / 0.7213 GB, free: 9.402 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.2109, allocations: 4.375 kB / 0.7213 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.2109, allocations: 4.375 kB / 0.7213 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.2114, allocations: 395.4 kB / 0.7217 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2114, allocations: 7.938 kB / 0.7217 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.2114, allocations: 4 kB / 0.7217 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2114, allocations: 4 kB / 0.7217 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004611/0.2119, allocations: 431.7 kB / 0.7221 GB, free: 8.559 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007018/0.2126, allocations: 0.6621 MB / 0.7227 GB, free: 7.848 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.2132, allocations: 0.5673 MB / 0.7233 GB, free: 7.262 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.2135, allocations: 333.6 kB / 0.7236 GB, free: 6.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/0.2146, allocations: 1.021 MB / 0.7246 GB, free: 5.688 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004601/0.2151, allocations: 420.8 kB / 0.725 GB, free: 5.258 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.784e-06/0.2151, allocations: 0 / 0.725 GB, free: 5.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001502/0.2166, allocations: 1.301 MB / 0.7263 GB, free: 3.949 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.2167, allocations: 85.22 kB / 0.7264 GB, free: 3.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.2181, allocations: 1.294 MB / 0.7276 GB, free: 2.543 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.2181, allocations: 29.7 kB / 0.7277 GB, free: 2.508 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.2184, allocations: 293.9 kB / 0.7279 GB, free: 2.215 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.2184, allocations: 23.83 kB / 0.728 GB, free: 2.191 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003676/0.2188, allocations: 347.6 kB / 0.7283 GB, free: 1.848 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2189, allocations: 326 kB / 0.7286 GB, free: 1.523 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.2203, allocations: 1.369 MB / 0.7299 GB, free: 156 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.2218, allocations: 1.505 MB / 0.7314 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007437/0.2292, allocations: 3.564 MB / 0.7349 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.2292, allocations: 0 / 0.7349 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00478/0.234, allocations: 4.015 MB / 0.7388 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.234, allocations: 11.92 kB / 0.7388 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.234, allocations: 4.078 kB / 0.7388 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.234, allocations: 0 / 0.7388 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.2342, allocations: 12 kB / 0.7388 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.2342, allocations: 11.97 kB / 0.7388 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/0.2347, allocations: 241.3 kB / 0.7391 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/0.2348, allocations: 31.95 kB / 0.7391 GB, free: 6.621 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.0003414/0.2351, allocations: 245.6 kB / 0.7393 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.933e-05/0.2352, allocations: 79.23 kB / 0.7394 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.2355, allocations: 83.81 kB / 0.7395 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2355, allocations: 0 / 0.7395 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2355, allocations: 0 / 0.7395 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.2355, allocations: 12.02 kB / 0.7395 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.236, allocations: 0.5179 MB / 0.74 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.2361, allocations: 4 kB / 0.74 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.961e-05/0.2361, allocations: 7.938 kB / 0.74 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2361, allocations: 0 / 0.74 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.2361, allocations: 7.984 kB / 0.74 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2361, allocations: 0 / 0.74 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2361, allocations: 0 / 0.74 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.2372, allocations: 1.006 MB / 0.741 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.2374, allocations: 176.3 kB / 0.7412 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.2374, allocations: 4 kB / 0.7412 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.2376, allocations: 4 kB / 0.7412 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.2376, allocations: 3.984 kB / 0.7412 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.2377, allocations: 15.98 kB / 0.7412 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008433/0.2385, allocations: 0.7261 MB / 0.7419 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2385, allocations: 0 / 0.7419 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001547/0.2401, allocations: 0.5884 MB / 0.7425 GB, free: 3.035 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.001951/0.242, allocations: 0.6985 MB / 0.7432 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002209/0.2442, allocations: 2.005 MB / 0.7451 GB, free: 332 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2442, allocations: 0 / 0.7451 GB, free: 332 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.2446, allocations: 335.8 kB / 0.7455 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.245, allocations: 60.92 kB / 0.7455 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.2473, allocations: 1.901 MB / 0.7474 GB, free: 14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006414/0.248, allocations: 0.9918 MB / 0.7483 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001504/0.2481, allocations: 41.41 kB / 0.7484 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.2482, allocations: 27.42 kB / 0.7484 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of SimCode: time 7.82e-07/0.2482, allocations: 0 / 0.7484 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of Templates: time 0.3389/0.5871, allocations: 14.45 MB / 0.7625 GB, free: 55.21 MB / 0.5762 GB " [Timeout remaining time 659] 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.175460979342461]