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) 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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001043, allocations: 114.2 kB / 16.42 MB, free: 6.5 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.001075/0.001075, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.301/1.301, 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.8381/0.8381, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 64.75 kB / 0.5963 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1276, allocations: 82.04 MB / 0.6764 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002748/0.1303, allocations: 1.745 MB / 0.6781 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00724/0.1376, allocations: 5.402 MB / 0.6834 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.86e-05/0.1377, allocations: 0 / 0.6834 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.1388, allocations: 374.4 kB / 0.6837 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.139, allocations: 63.66 kB / 0.6838 GB, free: 2.688 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.00346/0.1425, allocations: 1.495 MB / 0.6853 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.1427, allocations: 167.3 kB / 0.6854 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.1428, allocations: 9.562 kB / 0.6854 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.476e-05/0.1429, allocations: 63.7 kB / 0.6855 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.1431, allocations: 159.5 kB / 0.6856 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.1431, allocations: 16 kB / 0.6857 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003105/0.1462, allocations: 2.204 MB / 0.6878 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.1465, allocations: 275.8 kB / 0.6881 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.1467, allocations: 322.1 kB / 0.6884 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002835/0.1496, allocations: 2.186 MB / 0.6905 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1496, allocations: 0 / 0.6905 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1496, allocations: 0 / 0.6905 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.1496, allocations: 0 / 0.6905 GB, free: 11.8 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.01068/0.1603, allocations: 1.374 MB / 0.6918 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1604, allocations: 12.03 kB / 0.6919 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004061/0.1608, allocations: 91.59 kB / 0.6919 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000543/0.1613, allocations: 406.3 kB / 0.6923 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.1613, allocations: 384 / 0.6923 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.1614, allocations: 12.38 kB / 0.6923 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.1618, allocations: 403.4 kB / 0.6927 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1618, allocations: 0 / 0.6927 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.1618, allocations: 3.984 kB / 0.6927 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1618, allocations: 0 / 0.6927 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.1623, allocations: 435.7 kB / 0.6932 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.1629, allocations: 0.6614 MB / 0.6938 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.1634, allocations: 0.575 MB / 0.6944 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.1637, allocations: 337.7 kB / 0.6947 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009202/0.1646, allocations: 1.025 MB / 0.6957 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003924/0.165, allocations: 412.8 kB / 0.6961 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.165, allocations: 0 / 0.6961 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001243/0.1663, allocations: 1.3 MB / 0.6973 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1663, allocations: 85.09 kB / 0.6974 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.1675, allocations: 1.282 MB / 0.6987 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.1675, allocations: 33.69 kB / 0.6987 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.1677, allocations: 289.2 kB / 0.699 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.1677, allocations: 19.75 kB / 0.699 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/0.168, allocations: 351.6 kB / 0.6993 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1682, allocations: 322 kB / 0.6996 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.1693, allocations: 1.377 MB / 0.701 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.1706, allocations: 1.497 MB / 0.7025 GB, free: 15.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006878/0.1775, allocations: 3.56 MB / 0.7059 GB, free: 11.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1775, allocations: 4 kB / 0.7059 GB, free: 11.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004006/0.1815, allocations: 4.006 MB / 0.7098 GB, free: 7.371 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1815, allocations: 11.94 kB / 0.7099 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.1816, allocations: 3.984 kB / 0.7099 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1816, allocations: 0 / 0.7099 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1817, allocations: 15.94 kB / 0.7099 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1817, allocations: 4 kB / 0.7099 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.1822, allocations: 236.3 kB / 0.7101 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.1823, allocations: 23.98 kB / 0.7101 GB, free: 7.078 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.0002939/0.1826, allocations: 246.5 kB / 0.7104 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.1826, allocations: 74.62 kB / 0.7104 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.1829, allocations: 83.75 kB / 0.7105 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1829, allocations: 4.031 kB / 0.7105 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1829, allocations: 3.938 kB / 0.7105 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.183, allocations: 163.7 kB / 0.7107 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.726e-05/0.1831, allocations: 4 kB / 0.7107 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.1833, allocations: 4 kB / 0.7107 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.1833, allocations: 7.984 kB / 0.7107 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009039/0.1842, allocations: 1.074 MB / 0.7117 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009224/0.1852, allocations: 1.209 MB / 0.7129 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003034/0.1855, allocations: 339.8 kB / 0.7132 GB, free: 3.812 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007453/0.1862, allocations: 0.7261 MB / 0.714 GB, free: 3.082 MB / 0.545 GB Notification: Performance of Backend: time 5.61e-07/0.1862, allocations: 0 / 0.714 GB, free: 3.082 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004119/0.1904, allocations: 2.905 MB / 0.7168 GB, free: 184 kB / 0.545 GB Notification: Performance of SimCode: time 0.001912/0.1923, allocations: 1.87 MB / 0.7186 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of Templates: time 0.02151/0.2138, allocations: 14.68 MB / 0.733 GB, free: 15.63 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (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)