Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 115.2 kB / 17.08 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 191 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7141/0.7141, allocations: 115.3 MB / 407.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.02 kB / 0.5584 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1491, allocations: 76.18 MB / 0.6328 GB, free: 4.312 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00212/0.1512, allocations: 1.421 MB / 0.6342 GB, free: 2.883 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005648/0.1569, allocations: 4.196 MB / 0.6383 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.157, allocations: 3.938 kB / 0.6383 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.739e-05/0.1571, allocations: 11.92 kB / 0.6383 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.1573, allocations: 35.72 kB / 0.6383 GB, free: 14.61 MB / 494.1 MB [/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/IBPSA 4.0.0-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.003638/0.1609, allocations: 1.503 MB / 0.6398 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.1611, allocations: 103.6 kB / 0.6399 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.1612, allocations: 4 kB / 0.6399 GB, free: 13 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.119e-05/0.1613, allocations: 47.88 kB / 0.64 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.1615, allocations: 147.6 kB / 0.6401 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.1615, allocations: 12 kB / 0.6401 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/0.1647, allocations: 2.207 MB / 0.6423 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.1649, allocations: 263.9 kB / 0.6425 GB, free: 10.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.1651, allocations: 282.2 kB / 0.6428 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002466/0.1676, allocations: 2.104 MB / 0.6448 GB, free: 7.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1676, allocations: 0 / 0.6448 GB, free: 7.941 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1676, allocations: 0 / 0.6448 GB, free: 7.941 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.1676, allocations: 3.938 kB / 0.6448 GB, free: 7.938 MB / 494.1 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.007532/0.1751, allocations: 1.304 MB / 0.6461 GB, free: 6.582 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1752, allocations: 8.031 kB / 0.6461 GB, free: 6.574 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003747/0.1756, allocations: 87.59 kB / 0.6462 GB, free: 6.488 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.1759, allocations: 372.8 kB / 0.6466 GB, free: 6.074 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.176, allocations: 4.375 kB / 0.6466 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.176, allocations: 4.375 kB / 0.6466 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.1764, allocations: 403.5 kB / 0.647 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.1765, allocations: 3.984 kB / 0.647 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1765, allocations: 0 / 0.647 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1765, allocations: 0 / 0.647 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004416/0.1769, allocations: 439.7 kB / 0.6474 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.1775, allocations: 0.6327 MB / 0.648 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.178, allocations: 0.5673 MB / 0.6485 GB, free: 3.957 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.1783, allocations: 333.6 kB / 0.6489 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.1794, allocations: 1.025 MB / 0.6499 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003823/0.1798, allocations: 408.8 kB / 0.6503 GB, free: 1.961 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.1798, allocations: 0 / 0.6503 GB, free: 1.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.001314/0.1811, allocations: 1.293 MB / 0.6515 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.1812, allocations: 85.09 kB / 0.6516 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.1823, allocations: 1.21 MB / 0.6528 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.1824, allocations: 33.69 kB / 0.6528 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.1826, allocations: 261.4 kB / 0.6531 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.1826, allocations: 19.8 kB / 0.6531 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003039/0.1829, allocations: 347.6 kB / 0.6534 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.183, allocations: 314.1 kB / 0.6537 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.1843, allocations: 1.369 MB / 0.6551 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.1855, allocations: 1.513 MB / 0.6565 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006889/0.1924, allocations: 3.56 MB / 0.66 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1925, allocations: 0 / 0.66 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004157/0.1966, allocations: 4.01 MB / 0.6639 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1967, allocations: 7.938 kB / 0.6639 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.1967, allocations: 7.938 kB / 0.6639 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1967, allocations: 0 / 0.6639 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1968, allocations: 15.98 kB / 0.664 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.1969, allocations: 320 / 0.664 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.1974, allocations: 240.2 kB / 0.6642 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/0.1974, allocations: 27.97 kB / 0.6642 GB, free: 3.465 MB / 0.4981 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.0002991/0.1977, allocations: 237.6 kB / 0.6644 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.1978, allocations: 70.72 kB / 0.6645 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/0.1981, allocations: 67.08 kB / 0.6646 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1982, allocations: 12.02 kB / 0.6646 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1982, allocations: 0 / 0.6646 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1982, allocations: 0 / 0.6646 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.1986, allocations: 492.9 kB / 0.665 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1986, allocations: 4 kB / 0.6651 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/0.1987, allocations: 11.88 kB / 0.6651 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1987, allocations: 0 / 0.6651 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.1987, allocations: 7.984 kB / 0.6651 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1987, allocations: 3.984 kB / 0.6651 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1987, allocations: 0 / 0.6651 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/0.1996, allocations: 1.001 MB / 0.6661 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.807e-05/0.1997, allocations: 159.7 kB / 0.6662 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.1998, allocations: 4 kB / 0.6662 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.1999, allocations: 0 / 0.6662 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.1999, allocations: 15.98 kB / 0.6662 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/0.2, allocations: 15.92 kB / 0.6662 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00075/0.2007, allocations: 0.6728 MB / 0.6669 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2008, allocations: 0 / 0.6669 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001513/0.2023, allocations: 0.574 MB / 0.6675 GB, free: 24 kB / 0.4981 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.001615/0.2039, allocations: 0.6905 MB / 0.6681 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002498/0.2064, allocations: 2.548 MB / 0.6706 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2064, allocations: 0 / 0.6706 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.2067, allocations: 339.8 kB / 0.6709 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.207, allocations: 40.05 kB / 0.671 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.2091, allocations: 1.789 MB / 0.6727 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006774/0.2098, allocations: 0.9679 MB / 0.6737 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.2099, allocations: 27.41 kB / 0.6737 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.2099, allocations: 4 kB / 0.6737 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of Templates: time 0.02046/0.2303, allocations: 13.95 MB / 0.6873 GB, free: 11.6 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)