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) 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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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=5000,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=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001499/0.001499, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.00162/0.001621, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.849/0.849, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 68.78 kB / 0.5963 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1317, allocations: 82.04 MB / 0.6764 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002391/0.1341, allocations: 1.414 MB / 0.6778 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006165/0.1403, allocations: 4.219 MB / 0.6819 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.1403, allocations: 0 / 0.6819 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.1405, allocations: 15.86 kB / 0.6819 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.1407, allocations: 31.84 kB / 0.6819 GB, free: 4.598 MB / 0.5137 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/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.003726/0.1445, allocations: 1.503 MB / 0.6834 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.1446, allocations: 95.67 kB / 0.6835 GB, free: 3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.931e-05/0.1447, allocations: 4 kB / 0.6835 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.962e-05/0.1448, allocations: 55.77 kB / 0.6836 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.145, allocations: 143.6 kB / 0.6837 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.1451, allocations: 16 kB / 0.6837 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00314/0.1482, allocations: 2.196 MB / 0.6859 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.1484, allocations: 275.8 kB / 0.6861 GB, free: 324 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000251/0.1487, allocations: 274.3 kB / 0.6864 GB, free: 48 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.1516, allocations: 2.116 MB / 0.6884 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1516, allocations: 0 / 0.6884 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1516, allocations: 0 / 0.6884 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.1517, allocations: 0 / 0.6884 GB, free: 13.93 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.01062/0.1623, allocations: 1.308 MB / 0.6897 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1623, allocations: 8.031 kB / 0.6897 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003883/0.1627, allocations: 83.69 kB / 0.6898 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.1632, allocations: 365 kB / 0.6902 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1632, allocations: 384 / 0.6902 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.1632, allocations: 8.375 kB / 0.6902 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.1637, allocations: 399.4 kB / 0.6906 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1637, allocations: 4 kB / 0.6906 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1637, allocations: 4 kB / 0.6906 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1637, allocations: 0 / 0.6906 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.1641, allocations: 435.7 kB / 0.691 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.1648, allocations: 0.6404 MB / 0.6916 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005193/0.1653, allocations: 0.5673 MB / 0.6922 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.1656, allocations: 337.5 kB / 0.6925 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.1666, allocations: 1.028 MB / 0.6935 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004127/0.1671, allocations: 408.8 kB / 0.6939 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.1671, allocations: 0 / 0.6939 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001291/0.1684, allocations: 1.285 MB / 0.6951 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.1684, allocations: 85.09 kB / 0.6952 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.1696, allocations: 1.214 MB / 0.6964 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.1696, allocations: 29.69 kB / 0.6964 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.1698, allocations: 265.4 kB / 0.6967 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.1698, allocations: 19.8 kB / 0.6967 GB, free: 5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003257/0.1702, allocations: 351.6 kB / 0.697 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.1703, allocations: 310.1 kB / 0.6973 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.1715, allocations: 1.373 MB / 0.6987 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.1728, allocations: 1.504 MB / 0.7001 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007252/0.1801, allocations: 3.56 MB / 0.7036 GB, free: 13.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1801, allocations: 7.938 kB / 0.7036 GB, free: 13.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004246/0.1844, allocations: 3.999 MB / 0.7075 GB, free: 9.762 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1844, allocations: 11.94 kB / 0.7075 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.1844, allocations: 0 / 0.7075 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1845, allocations: 4 kB / 0.7075 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.1846, allocations: 19.92 kB / 0.7076 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1846, allocations: 320 / 0.7076 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/0.1851, allocations: 236.2 kB / 0.7078 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/0.1852, allocations: 27.97 kB / 0.7078 GB, free: 9.465 MB / 0.545 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.000288/0.1855, allocations: 237.7 kB / 0.708 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.958e-05/0.1855, allocations: 70.7 kB / 0.7081 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.1858, allocations: 75.02 kB / 0.7082 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1858, allocations: 8.016 kB / 0.7082 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1858, allocations: 0 / 0.7082 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.1859, allocations: 155.8 kB / 0.7083 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.186, allocations: 0 / 0.7083 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1862, allocations: 11.98 kB / 0.7083 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.1862, allocations: 4 kB / 0.7083 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009355/0.1871, allocations: 1.074 MB / 0.7094 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009724/0.1881, allocations: 1.209 MB / 0.7106 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003215/0.1885, allocations: 335.8 kB / 0.7109 GB, free: 6.234 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007373/0.1892, allocations: 0.6767 MB / 0.7116 GB, free: 5.551 MB / 0.545 GB Notification: Performance of Backend: time 4.9e-07/0.1892, allocations: 0 / 0.7116 GB, free: 5.551 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004508/0.1937, allocations: 2.892 MB / 0.7144 GB, free: 2.656 MB / 0.545 GB Notification: Performance of SimCode: time 0.001863/0.1956, allocations: 1.737 MB / 0.7161 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of Templates: time 0.02302/0.2186, allocations: 14.05 MB / 0.7298 GB, free: 2.855 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (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)