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.001456/0.001456, allocations: 104.6 kB / 16.35 MB, free: 5.828 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.001611/0.001611, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.275/1.275, 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.8186/0.8186, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.89 kB / 0.5156 GB, free: 14.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3269, allocations: 82.03 MB / 0.5957 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002246/0.3292, allocations: 1.426 MB / 0.5971 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004707/0.334, allocations: 4.199 MB / 0.6012 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.676e-05/0.3341, allocations: 1.5 kB / 0.6012 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.3342, allocations: 11.86 kB / 0.6012 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.3344, allocations: 35.77 kB / 0.6013 GB, free: 10.48 MB / 446.1 MB [/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.003094/0.3375, allocations: 1.513 MB / 0.6028 GB, free: 8.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.3376, allocations: 91.78 kB / 0.6028 GB, free: 8.891 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.3377, allocations: 4 kB / 0.6028 GB, free: 8.887 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.583e-05/0.3378, allocations: 55.7 kB / 0.6029 GB, free: 8.832 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.3379, allocations: 144.7 kB / 0.603 GB, free: 8.691 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.338, allocations: 12 kB / 0.603 GB, free: 8.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.3401, allocations: 2.205 MB / 0.6052 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.3403, allocations: 269.2 kB / 0.6055 GB, free: 6.207 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.3405, allocations: 282.3 kB / 0.6057 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.3422, allocations: 2.11 MB / 0.6078 GB, free: 3.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3422, allocations: 0 / 0.6078 GB, free: 3.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3422, allocations: 0 / 0.6078 GB, free: 3.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.3422, allocations: 1.281 kB / 0.6078 GB, free: 3.82 MB / 446.1 MB 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.007745/0.35, allocations: 1.305 MB / 0.6091 GB, free: 2.465 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.35, allocations: 8.031 kB / 0.6091 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003548/0.3504, allocations: 88.84 kB / 0.6092 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.3507, allocations: 357 kB / 0.6095 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3507, allocations: 9.047 kB / 0.6095 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.3508, allocations: 8.375 kB / 0.6095 GB, free: 1.957 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.3511, allocations: 393 kB / 0.6099 GB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3511, allocations: 1.344 kB / 0.6099 GB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.3511, allocations: 3.984 kB / 0.6099 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3511, allocations: 7.938 kB / 0.6099 GB, free: 1.551 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.3515, allocations: 433.2 kB / 0.6103 GB, free: 1.129 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.3518, allocations: 0.638 MB / 0.6109 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.3523, allocations: 0.5645 MB / 0.6115 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.3526, allocations: 334.9 kB / 0.6118 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.3536, allocations: 1.03 MB / 0.6128 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003916/0.354, allocations: 406.5 kB / 0.6132 GB, free: 13.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.3541, allocations: 0.75 kB / 0.6132 GB, free: 13.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=8): time 0.001317/0.3554, allocations: 1.29 MB / 0.6145 GB, free: 12.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.3554, allocations: 85.73 kB / 0.6145 GB, free: 12.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.3566, allocations: 1.215 MB / 0.6157 GB, free: 11.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.3566, allocations: 31.55 kB / 0.6158 GB, free: 11.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.3568, allocations: 257.4 kB / 0.616 GB, free: 10.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.3569, allocations: 23.73 kB / 0.616 GB, free: 10.92 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.3572, allocations: 351.6 kB / 0.6164 GB, free: 10.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3573, allocations: 311 kB / 0.6167 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.3585, allocations: 1.378 MB / 0.618 GB, free: 8.883 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.3598, allocations: 1.502 MB / 0.6195 GB, free: 7.371 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006784/0.3666, allocations: 3.562 MB / 0.6229 GB, free: 3.719 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.3666, allocations: 0 / 0.6229 GB, free: 3.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004334/0.3709, allocations: 4.005 MB / 0.6269 GB, free: 15.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.371, allocations: 4 kB / 0.6269 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.371, allocations: 7.984 kB / 0.6269 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.371, allocations: 3.938 kB / 0.6269 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.3712, allocations: 16.72 kB / 0.6269 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.3712, allocations: 5.438 kB / 0.6269 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.3717, allocations: 232.2 kB / 0.6271 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/0.3717, allocations: 23.98 kB / 0.6271 GB, free: 15.39 MB / 478.1 MB 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.0003171/0.3721, allocations: 240.5 kB / 0.6274 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.3721, allocations: 70.72 kB / 0.6274 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.3724, allocations: 80.47 kB / 0.6275 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3724, allocations: 0 / 0.6275 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3724, allocations: 0 / 0.6275 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3724, allocations: 0 / 0.6275 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.3729, allocations: 497.8 kB / 0.628 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3729, allocations: 0 / 0.628 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.922e-05/0.373, allocations: 12.92 kB / 0.628 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.373, allocations: 4 kB / 0.628 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.373, allocations: 4 kB / 0.628 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.373, allocations: 0.6562 kB / 0.628 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.373, allocations: 3.938 kB / 0.628 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009123/0.3739, allocations: 1.001 MB / 0.629 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.374, allocations: 159.7 kB / 0.6291 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.3741, allocations: 4.5 kB / 0.6291 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.3742, allocations: 12.58 kB / 0.6292 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.3743, allocations: 0.7188 kB / 0.6292 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.3743, allocations: 17 kB / 0.6292 GB, free: 13.21 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006707/0.375, allocations: 0.6689 MB / 0.6298 GB, free: 12.54 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.375, allocations: 0 / 0.6298 GB, free: 12.54 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001392/0.3764, allocations: 0.5786 MB / 0.6304 GB, free: 11.96 MB / 478.1 MB 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.00169/0.3781, allocations: 0.6987 MB / 0.6311 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.3803, allocations: 2.549 MB / 0.6336 GB, free: 8.727 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3803, allocations: 4 kB / 0.6336 GB, free: 8.723 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.3806, allocations: 336.7 kB / 0.6339 GB, free: 8.395 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.3809, allocations: 40.59 kB / 0.6339 GB, free: 8.359 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.3828, allocations: 1.756 MB / 0.6356 GB, free: 6.582 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.3834, allocations: 0.971 MB / 0.6366 GB, free: 5.59 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.3835, allocations: 28.88 kB / 0.6366 GB, free: 5.562 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.286e-05/0.3836, allocations: 31.41 kB / 0.6366 GB, free: 5.531 MB / 478.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3836, allocations: 0 / 0.6366 GB, free: 5.531 MB / 478.1 MB Notification: Performance of Templates: time 0.0209/0.4045, allocations: 13.67 MB / 0.65 GB, free: 7.906 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)