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.0008668/0.0008669, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0009568/0.0009568, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.147/1.147, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.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.2 MB / 434.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003326, allocations: 12 kB / 0.5158 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1258, allocations: 83.41 MB / 0.5973 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001276/0.1271, allocations: 1.134 MB / 0.5984 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005134/0.1322, allocations: 3.912 MB / 0.6022 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.1323, allocations: 0 / 0.6022 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.129e-05/0.1324, allocations: 11.92 kB / 0.6022 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.1326, allocations: 31.83 kB / 0.6023 GB, free: 2.879 MB / 0.4981 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‘. Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.1353, allocations: 1.136 MB / 0.6034 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.1354, allocations: 99.66 kB / 0.6035 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.1355, allocations: 7.984 kB / 0.6035 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.437e-05/0.1355, allocations: 47.84 kB / 0.6035 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.1358, allocations: 171.7 kB / 0.6037 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.722e-05/0.1358, allocations: 16 kB / 0.6037 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2227/0.3585, allocations: 1.942 MB / 0.6056 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.3588, allocations: 260 kB / 0.6058 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.142e-05/0.3589, allocations: 111.3 kB / 0.6059 GB, free: 35.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.3606, allocations: 1.404 MB / 0.6073 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3606, allocations: 0 / 0.6073 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3606, allocations: 0 / 0.6073 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.3606, allocations: 2.969 kB / 0.6073 GB, free: 35.59 MB / 0.4981 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.006521/0.3671, allocations: 1.245 MB / 0.6085 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.3672, allocations: 11.38 kB / 0.6085 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002807/0.3675, allocations: 89.38 kB / 0.6086 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.3677, allocations: 363.9 kB / 0.609 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3677, allocations: 9.109 kB / 0.609 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.3678, allocations: 4.859 kB / 0.609 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.3681, allocations: 388.4 kB / 0.6094 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.3681, allocations: 0 / 0.6094 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3681, allocations: 7.438 kB / 0.6094 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.3681, allocations: 3.469 kB / 0.6094 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.3684, allocations: 433.4 kB / 0.6098 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.3688, allocations: 0.6432 MB / 0.6104 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.3691, allocations: 0.5646 MB / 0.611 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.3694, allocations: 334.3 kB / 0.6113 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005963/0.37, allocations: 1.041 MB / 0.6123 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.3702, allocations: 406.6 kB / 0.6127 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/0.3703, allocations: 1.188 kB / 0.6127 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0008794/0.3711, allocations: 1.288 MB / 0.614 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.3712, allocations: 81.73 kB / 0.614 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007726/0.372, allocations: 1.205 MB / 0.6152 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.372, allocations: 26.73 kB / 0.6152 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3721, allocations: 264.2 kB / 0.6155 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.3721, allocations: 25.86 kB / 0.6155 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.3722, allocations: 0 / 0.6155 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.486e-05/0.3722, allocations: 419.1 kB / 0.6159 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008277/0.3731, allocations: 1.372 MB / 0.6172 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009332/0.374, allocations: 1.499 MB / 0.6187 GB, free: 31.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.3751, allocations: 1.919 MB / 0.6206 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3751, allocations: 4 kB / 0.6206 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002877/0.378, allocations: 3.982 MB / 0.6245 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.378, allocations: 2.969 kB / 0.6245 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.378, allocations: 3.375 kB / 0.6245 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.378, allocations: 4.828 kB / 0.6245 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.3781, allocations: 17.75 kB / 0.6245 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3781, allocations: 0 / 0.6245 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.3785, allocations: 239.8 kB / 0.6247 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.3785, allocations: 22.81 kB / 0.6248 GB, free: 30.15 MB / 0.4981 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,labels[1],cluSiz[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.3787, allocations: 245.6 kB / 0.625 GB, free: 30.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.3788, allocations: 65.25 kB / 0.6251 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.379, allocations: 74.52 kB / 0.6251 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.379, allocations: 6.656 kB / 0.6251 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.379, allocations: 1.859 kB / 0.6251 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.379, allocations: 0 / 0.6251 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.3793, allocations: 498.8 kB / 0.6256 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3793, allocations: 6.297 kB / 0.6256 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.3793, allocations: 8.328 kB / 0.6256 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3793, allocations: 0 / 0.6256 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3794, allocations: 12.77 kB / 0.6256 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3794, allocations: 2.156 kB / 0.6256 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3794, allocations: 0.9375 kB / 0.6256 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.38, allocations: 0.9966 MB / 0.6266 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.38, allocations: 155.5 kB / 0.6268 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.3801, allocations: 0 / 0.6268 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.3802, allocations: 12.66 kB / 0.6268 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.3802, allocations: 10.09 kB / 0.6268 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.3803, allocations: 14.67 kB / 0.6268 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004825/0.3808, allocations: 0.6602 MB / 0.6274 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3808, allocations: 0.9844 kB / 0.6274 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001058/0.3818, allocations: 0.5745 MB / 0.628 GB, free: 29.26 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.3831, allocations: 0.6734 MB / 0.6287 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001839/0.385, allocations: 2.556 MB / 0.6312 GB, free: 28.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.385, allocations: 0 / 0.6312 GB, free: 28.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.3853, allocations: 342.6 kB / 0.6315 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.3855, allocations: 39.12 kB / 0.6315 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.3873, allocations: 1.836 MB / 0.6333 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.3876, allocations: 0.9652 MB / 0.6343 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.3877, allocations: 38.22 kB / 0.6343 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.3878, allocations: 26.81 kB / 0.6343 GB, free: 27.37 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.3878, allocations: 0 / 0.6343 GB, free: 27.37 MB / 0.4981 GB Notification: Performance of Templates: time 0.01757/0.4054, allocations: 13.14 MB / 0.6471 GB, free: 26.54 MB / 0.4981 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)