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.001394/0.001394, allocations: 114.3 kB / 16.42 MB, free: 6.449 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.001583/0.001583, allocations: 188.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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.17 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.8442/0.8442, allocations: 143 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.44 kB / 0.5963 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1294, allocations: 82.05 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.00261/0.1321, allocations: 1.745 MB / 0.6781 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007239/0.1393, allocations: 5.402 MB / 0.6834 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.458e-05/0.1394, allocations: 3.938 kB / 0.6834 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.1405, allocations: 370.4 kB / 0.6837 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.1406, allocations: 59.67 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.003298/0.1439, allocations: 1.5 MB / 0.6853 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.1442, allocations: 167.3 kB / 0.6854 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.1442, allocations: 13.55 kB / 0.6854 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.121e-05/0.1443, allocations: 59.72 kB / 0.6855 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.1445, allocations: 163.5 kB / 0.6856 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.1446, allocations: 16 kB / 0.6857 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002849/0.1474, allocations: 2.208 MB / 0.6878 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.1476, allocations: 275.7 kB / 0.6881 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.1479, allocations: 314.1 kB / 0.6884 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002316/0.1502, allocations: 2.19 MB / 0.6905 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1502, allocations: 0 / 0.6905 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1502, allocations: 4 kB / 0.6905 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.1503, allocations: 0 / 0.6905 GB, free: 11.79 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.01074/0.161, allocations: 1.366 MB / 0.6919 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.161, allocations: 8.031 kB / 0.6919 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003772/0.1614, allocations: 95.59 kB / 0.692 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/0.1619, allocations: 406.3 kB / 0.6923 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.162, allocations: 8.375 kB / 0.6923 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.162, allocations: 8.375 kB / 0.6924 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.1624, allocations: 399.4 kB / 0.6927 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.1625, allocations: 0 / 0.6927 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1625, allocations: 0 / 0.6927 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1625, allocations: 0 / 0.6927 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.1629, allocations: 435.7 kB / 0.6932 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.1635, allocations: 0.6731 MB / 0.6938 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.164, allocations: 0.5633 MB / 0.6944 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.1643, allocations: 333.7 kB / 0.6947 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009433/0.1653, allocations: 1.028 MB / 0.6957 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003982/0.1657, allocations: 408.8 kB / 0.6961 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.1657, allocations: 0 / 0.6961 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001305/0.167, allocations: 1.293 MB / 0.6973 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.1671, allocations: 89.09 kB / 0.6974 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.1683, allocations: 1.29 MB / 0.6987 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.1683, allocations: 29.69 kB / 0.6987 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.1685, allocations: 289.3 kB / 0.699 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.1686, allocations: 19.75 kB / 0.699 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.1689, allocations: 351.6 kB / 0.6993 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.169, allocations: 322 kB / 0.6996 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.1702, allocations: 1.373 MB / 0.701 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.1715, allocations: 1.501 MB / 0.7024 GB, free: 15.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007229/0.1787, allocations: 3.56 MB / 0.7059 GB, free: 11.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1787, allocations: 4 kB / 0.7059 GB, free: 11.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00428/0.183, allocations: 4.006 MB / 0.7098 GB, free: 7.371 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1831, allocations: 22.83 kB / 0.7099 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.1831, allocations: 0 / 0.7099 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1831, allocations: 4 kB / 0.7099 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1832, allocations: 12 kB / 0.7099 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.1833, allocations: 3.984 kB / 0.7099 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/0.1838, allocations: 228.3 kB / 0.7101 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.1838, allocations: 27.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.0002949/0.1841, allocations: 256.6 kB / 0.7104 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.267e-05/0.1842, allocations: 74.62 kB / 0.7104 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.1845, allocations: 75.81 kB / 0.7105 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1845, allocations: 0 / 0.7105 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1845, allocations: 12.02 kB / 0.7105 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.1846, allocations: 163.7 kB / 0.7107 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.1847, allocations: 0 / 0.7107 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.1848, allocations: 7.984 kB / 0.7107 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.1849, allocations: 4 kB / 0.7107 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009465/0.1858, allocations: 1.074 MB / 0.7117 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009766/0.1868, allocations: 1.217 MB / 0.7129 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003217/0.1871, allocations: 331.8 kB / 0.7132 GB, free: 3.812 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007629/0.1879, allocations: 0.7339 MB / 0.714 GB, free: 3.074 MB / 0.545 GB Notification: Performance of Backend: time 4.81e-07/0.1879, allocations: 0 / 0.714 GB, free: 3.074 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004205/0.1921, allocations: 2.901 MB / 0.7168 GB, free: 176 kB / 0.545 GB Notification: Performance of SimCode: time 0.001954/0.1941, allocations: 1.866 MB / 0.7186 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.02255/0.2167, allocations: 14.67 MB / 0.7329 GB, free: 15.64 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)