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.001166/0.001166, allocations: 109.8 kB / 16.41 MB, free: 6.035 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.001128/0.001128, allocations: 183.7 kB / 17.34 MB, free: 5.633 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.224/1.224, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.7962/0.7962, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 65.16 kB / 0.5963 GB, free: 12.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1246, allocations: 82.04 MB / 0.6764 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002079/0.1267, allocations: 1.415 MB / 0.6778 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005369/0.1321, allocations: 4.215 MB / 0.6819 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.084e-05/0.1322, allocations: 0 / 0.6819 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.1323, allocations: 23.86 kB / 0.6819 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.1325, allocations: 27.78 kB / 0.6819 GB, free: 4.723 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.003108/0.1356, allocations: 1.504 MB / 0.6834 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.1357, allocations: 95.67 kB / 0.6835 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.1358, allocations: 4 kB / 0.6835 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.1358, allocations: 47.78 kB / 0.6835 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.136, allocations: 151.6 kB / 0.6837 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.1361, allocations: 16 kB / 0.6837 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/0.1386, allocations: 2.2 MB / 0.6859 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.1388, allocations: 271.8 kB / 0.6861 GB, free: 452 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.139, allocations: 278.3 kB / 0.6864 GB, free: 172 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.1414, allocations: 2.116 MB / 0.6884 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1414, allocations: 0 / 0.6884 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1414, allocations: 0 / 0.6884 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.1414, allocations: 0 / 0.6884 GB, free: 14.05 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.009442/0.1509, allocations: 1.296 MB / 0.6897 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1509, allocations: 8.031 kB / 0.6897 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003371/0.1512, allocations: 91.67 kB / 0.6898 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.1516, allocations: 365 kB / 0.6902 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1516, allocations: 4.375 kB / 0.6902 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.1517, allocations: 8.375 kB / 0.6902 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.152, allocations: 395.4 kB / 0.6905 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1521, allocations: 4 kB / 0.6905 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1521, allocations: 0 / 0.6905 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.1521, allocations: 0 / 0.6905 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.1525, allocations: 439.7 kB / 0.691 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.1529, allocations: 0.6365 MB / 0.6916 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.1534, allocations: 0.571 MB / 0.6921 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.1537, allocations: 337.7 kB / 0.6925 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009421/0.1546, allocations: 1.025 MB / 0.6935 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003618/0.155, allocations: 416.8 kB / 0.6939 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.155, allocations: 0 / 0.6939 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001136/0.1562, allocations: 1.281 MB / 0.6951 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.1562, allocations: 85.09 kB / 0.6952 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009664/0.1572, allocations: 1.214 MB / 0.6964 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.1572, allocations: 37.83 kB / 0.6964 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.1574, allocations: 257.4 kB / 0.6967 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.1574, allocations: 15.81 kB / 0.6967 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.1577, allocations: 351.6 kB / 0.697 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/0.1578, allocations: 318 kB / 0.6973 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.1589, allocations: 1.369 MB / 0.6987 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.16, allocations: 1.505 MB / 0.7001 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006466/0.1665, allocations: 3.556 MB / 0.7036 GB, free: 13.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1665, allocations: 0 / 0.7036 GB, free: 13.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003693/0.1702, allocations: 4.01 MB / 0.7075 GB, free: 9.883 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1703, allocations: 12.03 kB / 0.7075 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.1703, allocations: 0 / 0.7075 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1703, allocations: 7.938 kB / 0.7075 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1704, allocations: 15.98 kB / 0.7075 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1704, allocations: 0 / 0.7075 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004244/0.1709, allocations: 228.2 kB / 0.7078 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.1709, allocations: 23.98 kB / 0.7078 GB, free: 9.598 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.0002627/0.1712, allocations: 253.6 kB / 0.708 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.1713, allocations: 70.66 kB / 0.7081 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.1715, allocations: 75.06 kB / 0.7082 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1715, allocations: 0 / 0.7082 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1715, allocations: 3.938 kB / 0.7082 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1715, allocations: 7.984 kB / 0.7082 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.1719, allocations: 492.9 kB / 0.7087 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1719, allocations: 0 / 0.7087 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.425e-05/0.172, allocations: 15.97 kB / 0.7087 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.172, allocations: 0 / 0.7087 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.172, allocations: 3.984 kB / 0.7087 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.172, allocations: 4 kB / 0.7087 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.172, allocations: 0 / 0.7087 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008037/0.1728, allocations: 0.9974 MB / 0.7096 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.1729, allocations: 159.8 kB / 0.7098 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.6e-05/0.173, allocations: 7.984 kB / 0.7098 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1731, allocations: 4 kB / 0.7098 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.1732, allocations: 7.984 kB / 0.7098 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.1732, allocations: 11.98 kB / 0.7098 GB, free: 7.395 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006158/0.1738, allocations: 0.6728 MB / 0.7105 GB, free: 6.715 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1738, allocations: 0 / 0.7105 GB, free: 6.715 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001256/0.1751, allocations: 0.5779 MB / 0.7111 GB, free: 6.137 MB / 0.545 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.001508/0.1766, allocations: 0.6919 MB / 0.7117 GB, free: 5.457 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.1786, allocations: 2.548 MB / 0.7142 GB, free: 2.895 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1786, allocations: 3.938 kB / 0.7142 GB, free: 2.891 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.1789, allocations: 343.9 kB / 0.7145 GB, free: 2.555 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.1792, allocations: 36.48 kB / 0.7146 GB, free: 2.516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.181, allocations: 1.796 MB / 0.7163 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.1815, allocations: 0.9679 MB / 0.7173 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/0.1816, allocations: 23.42 kB / 0.7173 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.1816, allocations: 0 / 0.7173 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.01773/0.1993, allocations: 14 MB / 0.731 GB, free: 1.672 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)