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.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.00133/0.00133, allocations: 101.7 kB / 16.45 MB, free: 6.457 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.001343/0.001343, allocations: 198.8 kB / 19.41 MB, free: 3.645 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.416/1.416, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.9109/0.9109, allocations: 145.2 MB / 447.9 MB, free: 6.414 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_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: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 68.45 kB / 0.6205 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1657, allocations: 86.64 MB / 0.7051 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00274/0.1685, allocations: 1.429 MB / 0.7065 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006993/0.1755, allocations: 4.231 MB / 0.7107 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.084e-05/0.1756, allocations: 7.938 kB / 0.7107 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.1757, allocations: 7.922 kB / 0.7107 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.1759, allocations: 35.77 kB / 0.7107 GB, free: 4.406 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.004496/0.1804, allocations: 1.507 MB / 0.7122 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.1806, allocations: 91.72 kB / 0.7123 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.1807, allocations: 4 kB / 0.7123 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.875e-05/0.1808, allocations: 51.78 kB / 0.7123 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.181, allocations: 147.6 kB / 0.7125 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.181, allocations: 15.98 kB / 0.7125 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003842/0.1849, allocations: 2.309 MB / 0.7147 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00024/0.1851, allocations: 267.8 kB / 0.715 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.1854, allocations: 282.4 kB / 0.7153 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003474/0.1889, allocations: 2.122 MB / 0.7173 GB, free: 13.61 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1889, allocations: 0 / 0.7173 GB, free: 13.61 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.684e-06/0.1889, allocations: 0 / 0.7173 GB, free: 13.61 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.1889, allocations: 0 / 0.7173 GB, free: 13.61 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.01088/0.1998, allocations: 1.347 MB / 0.7186 GB, free: 12.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1998, allocations: 8.031 kB / 0.7187 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004385/0.2003, allocations: 96.23 kB / 0.7187 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.2007, allocations: 365 kB / 0.7191 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.2007, allocations: 4.375 kB / 0.7191 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.2008, allocations: 4.375 kB / 0.7191 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/0.2013, allocations: 407.5 kB / 0.7195 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2013, allocations: 3.938 kB / 0.7195 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.2013, allocations: 0 / 0.7195 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2013, allocations: 4 kB / 0.7195 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004939/0.2018, allocations: 427.8 kB / 0.7199 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006889/0.2025, allocations: 0.6488 MB / 0.7205 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.2031, allocations: 0.5555 MB / 0.7211 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003498/0.2034, allocations: 341.7 kB / 0.7214 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.2046, allocations: 1.028 MB / 0.7224 GB, free: 7.996 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004533/0.205, allocations: 404.8 kB / 0.7228 GB, free: 7.582 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.205, allocations: 0 / 0.7228 GB, free: 7.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001486/0.2065, allocations: 1.297 MB / 0.7241 GB, free: 6.277 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.2066, allocations: 85.05 kB / 0.7241 GB, free: 6.176 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.2079, allocations: 1.219 MB / 0.7253 GB, free: 4.941 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.2079, allocations: 29.7 kB / 0.7254 GB, free: 4.906 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.2081, allocations: 265.9 kB / 0.7256 GB, free: 4.641 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.2082, allocations: 19.86 kB / 0.7256 GB, free: 4.621 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003785/0.2086, allocations: 351.8 kB / 0.726 GB, free: 4.273 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2087, allocations: 318 kB / 0.7263 GB, free: 3.957 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.2101, allocations: 1.373 MB / 0.7276 GB, free: 2.582 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.2115, allocations: 1.508 MB / 0.7291 GB, free: 1.066 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007518/0.2191, allocations: 3.564 MB / 0.7326 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.2191, allocations: 0 / 0.7326 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004925/0.224, allocations: 4.011 MB / 0.7365 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.224, allocations: 4 kB / 0.7365 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.224, allocations: 4 kB / 0.7365 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.224, allocations: 3.938 kB / 0.7365 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.2242, allocations: 23.92 kB / 0.7365 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2242, allocations: 8.031 kB / 0.7365 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005348/0.2247, allocations: 233.4 kB / 0.7368 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/0.2248, allocations: 23.98 kB / 0.7368 GB, free: 9.066 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.0003294/0.2251, allocations: 235.5 kB / 0.737 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-05/0.2252, allocations: 83.27 kB / 0.7371 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.2255, allocations: 78.97 kB / 0.7372 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2255, allocations: 4 kB / 0.7372 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2255, allocations: 0 / 0.7372 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2255, allocations: 0 / 0.7372 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/0.226, allocations: 496.9 kB / 0.7376 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.226, allocations: 0 / 0.7376 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.417e-05/0.2261, allocations: 11.92 kB / 0.7376 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.2261, allocations: 0 / 0.7376 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.2261, allocations: 4 kB / 0.7376 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2261, allocations: 3.984 kB / 0.7377 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2261, allocations: 4.031 kB / 0.7377 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.2272, allocations: 1.002 MB / 0.7386 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.2273, allocations: 156.4 kB / 0.7388 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/0.2274, allocations: 11.98 kB / 0.7388 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.2276, allocations: 0 / 0.7388 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.2276, allocations: 11.98 kB / 0.7388 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/0.2276, allocations: 11.98 kB / 0.7388 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008218/0.2284, allocations: 0.6689 MB / 0.7395 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2284, allocations: 0 / 0.7395 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001573/0.23, allocations: 0.5923 MB / 0.74 GB, free: 5.598 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.00254/0.2326, allocations: 0.6974 MB / 0.7407 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002293/0.2349, allocations: 1.997 MB / 0.7427 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2349, allocations: 0 / 0.7427 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.2352, allocations: 339.7 kB / 0.743 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.2355, allocations: 44.48 kB / 0.743 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.2378, allocations: 1.78 MB / 0.7448 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005917/0.2384, allocations: 0.9679 MB / 0.7457 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.2385, allocations: 36.55 kB / 0.7458 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.2386, allocations: 31.42 kB / 0.7458 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.2386, allocations: 0 / 0.7458 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of Templates: time 0.02484/0.2634, allocations: 13.81 MB / 0.7593 GB, free: 1.883 MB / 0.5762 GB " [Timeout remaining time 660] 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: 7.103405292145908]