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.001044/0.001045, allocations: 110.7 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.001076/0.001077, allocations: 185.4 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.274/1.274, allocations: 222.9 MB / 241 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.8339/0.8339, allocations: 143 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.67 kB / 0.5963 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.132, allocations: 82.03 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.002385/0.1344, allocations: 1.425 MB / 0.6778 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005994/0.1404, allocations: 4.207 MB / 0.6819 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.036e-05/0.1405, allocations: 3.938 kB / 0.6819 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.1406, allocations: 11.86 kB / 0.6819 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.1409, 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.003598/0.1445, allocations: 1.504 MB / 0.6834 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1446, allocations: 91.69 kB / 0.6835 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.1447, allocations: 8 kB / 0.6835 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.007e-05/0.1447, allocations: 43.83 kB / 0.6835 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.145, allocations: 147.6 kB / 0.6837 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.145, allocations: 15.94 kB / 0.6837 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00315/0.1482, allocations: 2.204 MB / 0.6859 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.1484, allocations: 275.8 kB / 0.6861 GB, free: 324 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.1487, allocations: 278.3 kB / 0.6864 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.1514, allocations: 2.107 MB / 0.6884 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1514, allocations: 0 / 0.6884 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1515, allocations: 0 / 0.6884 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.1515, allocations: 8 kB / 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.01026/0.1617, allocations: 1.292 MB / 0.6897 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1618, allocations: 8.031 kB / 0.6897 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003828/0.1622, allocations: 91.67 kB / 0.6898 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.1626, allocations: 368.9 kB / 0.6902 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.1626, allocations: 4.375 kB / 0.6902 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.1626, allocations: 12.38 kB / 0.6902 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.163, allocations: 391.5 kB / 0.6905 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1631, allocations: 0 / 0.6905 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.1631, allocations: 3.984 kB / 0.6905 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1631, allocations: 4 kB / 0.6906 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.1635, allocations: 439.7 kB / 0.691 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.1641, allocations: 0.6326 MB / 0.6916 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.1646, allocations: 0.5672 MB / 0.6921 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.1649, allocations: 341.7 kB / 0.6925 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009843/0.1659, allocations: 1.032 MB / 0.6935 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003739/0.1662, allocations: 412.7 kB / 0.6939 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.1663, allocations: 4 kB / 0.6939 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001229/0.1675, allocations: 1.285 MB / 0.6951 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.1675, allocations: 85.11 kB / 0.6952 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.1686, allocations: 1.214 MB / 0.6964 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.1687, allocations: 29.7 kB / 0.6964 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.1688, allocations: 261.5 kB / 0.6967 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.1689, allocations: 23.8 kB / 0.6967 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003213/0.1692, allocations: 351.6 kB / 0.697 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.44e-05/0.1693, allocations: 314 kB / 0.6973 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.1705, allocations: 1.373 MB / 0.6987 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.1717, allocations: 1.505 MB / 0.7001 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006953/0.1787, allocations: 3.557 MB / 0.7036 GB, free: 13.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1787, allocations: 0 / 0.7036 GB, free: 13.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004009/0.1827, allocations: 4.003 MB / 0.7075 GB, free: 9.754 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1827, allocations: 7.938 kB / 0.7075 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.1828, allocations: 4 kB / 0.7075 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1828, allocations: 4.031 kB / 0.7075 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.1829, allocations: 19.98 kB / 0.7076 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1829, allocations: 4 kB / 0.7076 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.1834, allocations: 228.2 kB / 0.7078 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.1834, allocations: 23.98 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.0002707/0.1837, allocations: 237.6 kB / 0.708 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.1838, allocations: 74.7 kB / 0.7081 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.184, allocations: 71.08 kB / 0.7082 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1841, allocations: 4 kB / 0.7082 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1841, allocations: 0 / 0.7082 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.1842, allocations: 151.9 kB / 0.7083 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/0.1842, allocations: 15.88 kB / 0.7083 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.1844, allocations: 0 / 0.7083 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.1844, allocations: 7.984 kB / 0.7083 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009145/0.1854, allocations: 1.066 MB / 0.7094 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009191/0.1863, allocations: 1.216 MB / 0.7106 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002953/0.1866, allocations: 331.8 kB / 0.7109 GB, free: 6.238 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000687/0.1873, allocations: 0.6728 MB / 0.7115 GB, free: 5.559 MB / 0.545 GB Notification: Performance of Backend: time 5.61e-07/0.1873, allocations: 0 / 0.7115 GB, free: 5.559 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004237/0.1915, allocations: 2.908 MB / 0.7144 GB, free: 2.652 MB / 0.545 GB Notification: Performance of SimCode: time 0.001764/0.1933, allocations: 1.73 MB / 0.7161 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of Templates: time 0.02149/0.2148, allocations: 14.04 MB / 0.7298 GB, free: 2.867 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)