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.00733/0.00733, allocations: 101.4 kB / 15.88 MB, free: 5.867 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.001632/0.001632, allocations: 188.3 kB / 16.79 MB, free: 5.809 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.407/1.407, allocations: 222.9 MB / 240.5 MB, free: 4.578 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 1.048/1.048, allocations: 143 MB / 433.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.89 kB / 0.5142 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1785, allocations: 82.03 MB / 0.5943 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002612/0.1811, allocations: 1.493 MB / 0.5958 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006719/0.1878, allocations: 4.481 MB / 0.6001 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.367e-05/0.188, allocations: 0 / 0.6001 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.1882, allocations: 11.92 kB / 0.6002 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.1884, allocations: 27.84 kB / 0.6002 GB, free: 3.93 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.003482/0.1919, allocations: 1.186 MB / 0.6013 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1921, allocations: 115.7 kB / 0.6015 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.203e-05/0.1921, allocations: 4 kB / 0.6015 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.1922, allocations: 47.89 kB / 0.6015 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.1924, allocations: 156.9 kB / 0.6017 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.196e-05/0.1925, allocations: 16 kB / 0.6017 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.1958, allocations: 2.192 MB / 0.6038 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.3207/0.5165, allocations: 259.4 kB / 0.6041 GB, free: 37.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003532/0.5169, allocations: 280.4 kB / 0.6043 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00268/0.5196, allocations: 1.498 MB / 0.6058 GB, free: 37.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5196, allocations: 3.312 kB / 0.6058 GB, free: 37.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5197, allocations: 0.8438 kB / 0.6058 GB, free: 37.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.5197, allocations: 0 / 0.6058 GB, free: 37.38 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.007598/0.5273, allocations: 1.293 MB / 0.6071 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5273, allocations: 11.44 kB / 0.6071 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/0.5278, allocations: 90.64 kB / 0.6072 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.5281, allocations: 366.4 kB / 0.6075 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.5281, allocations: 7.031 kB / 0.6075 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.5282, allocations: 9.922 kB / 0.6075 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003759/0.5286, allocations: 385.9 kB / 0.6079 GB, free: 36.15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.5286, allocations: 3.938 kB / 0.6079 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.5286, allocations: 5.844 kB / 0.6079 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.5286, allocations: 2.938 kB / 0.6079 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.529, allocations: 435.8 kB / 0.6083 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.5295, allocations: 0.6331 MB / 0.6089 GB, free: 35.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/0.5299, allocations: 0.5641 MB / 0.6095 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.5301, allocations: 337.5 kB / 0.6098 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008394/0.531, allocations: 1.03 MB / 0.6108 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003238/0.5313, allocations: 408 kB / 0.6112 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.5313, allocations: 0 / 0.6112 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001197/0.5325, allocations: 1.286 MB / 0.6125 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.5326, allocations: 93.88 kB / 0.6125 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009926/0.5336, allocations: 1.211 MB / 0.6137 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.5336, allocations: 32.02 kB / 0.6138 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.5338, allocations: 253.9 kB / 0.614 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.5338, allocations: 25.2 kB / 0.614 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/0.5341, allocations: 352.9 kB / 0.6144 GB, free: 34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.669e-05/0.5342, allocations: 314.8 kB / 0.6147 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009801/0.5352, allocations: 1.376 MB / 0.616 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.5363, allocations: 1.505 MB / 0.6175 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006262/0.5426, allocations: 3.559 MB / 0.6209 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.5426, allocations: 0 / 0.6209 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003526/0.5462, allocations: 4.002 MB / 0.6249 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.5462, allocations: 10.06 kB / 0.6249 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.5462, allocations: 2.625 kB / 0.6249 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.5463, allocations: 4.281 kB / 0.6249 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.5464, allocations: 16.22 kB / 0.6249 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.5464, allocations: 2.625 kB / 0.6249 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/0.5469, allocations: 234.2 kB / 0.6251 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-05/0.5469, allocations: 22.31 kB / 0.6251 GB, free: 30.43 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 (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.0002687/0.5472, allocations: 237.9 kB / 0.6254 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.5472, allocations: 76.92 kB / 0.6254 GB, free: 30.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.5475, allocations: 78.28 kB / 0.6255 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5475, allocations: 0 / 0.6255 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5475, allocations: 2.625 kB / 0.6255 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5475, allocations: 1.219 kB / 0.6255 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.5479, allocations: 498.3 kB / 0.626 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5479, allocations: 0 / 0.626 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.548, allocations: 13.41 kB / 0.626 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.548, allocations: 6.562 kB / 0.626 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.548, allocations: 4 kB / 0.626 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.548, allocations: 5.25 kB / 0.626 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5481, allocations: 0 / 0.626 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007055/0.5488, allocations: 0.9974 MB / 0.627 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/0.5489, allocations: 156.1 kB / 0.6271 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.5489, allocations: 5.969 kB / 0.6271 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.5491, allocations: 2.344 kB / 0.6271 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.5491, allocations: 18.61 kB / 0.6272 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.5491, allocations: 16.64 kB / 0.6272 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006025/0.5497, allocations: 0.6704 MB / 0.6278 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5498, allocations: 0 / 0.6278 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001989/0.5517, allocations: 0.5842 MB / 0.6284 GB, free: 29.29 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 (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.002166/0.5539, allocations: 0.6871 MB / 0.6291 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002561/0.5565, allocations: 2.548 MB / 0.6316 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5565, allocations: 0 / 0.6316 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.5569, allocations: 339.2 kB / 0.6319 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.5573, allocations: 46.64 kB / 0.6319 GB, free: 28.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.5596, allocations: 1.971 MB / 0.6339 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.56, allocations: 0.9661 MB / 0.6348 GB, free: 26.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.5601, allocations: 26.27 kB / 0.6348 GB, free: 26.55 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.5601, allocations: 1.375 kB / 0.6348 GB, free: 26.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.02703/0.5871, allocations: 13.99 MB / 0.6485 GB, free: 24.82 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)