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.001159/0.001159, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009348/0.009349, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.9937/0.9937, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003112, allocations: 8 kB / 0.5164 GB, free: 11.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.176, allocations: 83.41 MB / 0.5979 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001775/0.1778, allocations: 1.146 MB / 0.599 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006948/0.1847, allocations: 4.384 MB / 0.6033 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.251e-05/0.1849, allocations: 3.938 kB / 0.6033 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.185, allocations: 15.92 kB / 0.6033 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.1852, allocations: 23.91 kB / 0.6033 GB, free: 2.016 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.003354/0.1886, allocations: 1.178 MB / 0.6045 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.1888, allocations: 119.7 kB / 0.6046 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.1888, allocations: 7.938 kB / 0.6046 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.203e-05/0.1889, allocations: 51.83 kB / 0.6047 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.1891, allocations: 157 kB / 0.6048 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.1892, allocations: 12 kB / 0.6048 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2968/0.486, allocations: 2.176 MB / 0.6069 GB, free: 35.83 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.4862, allocations: 267.6 kB / 0.6072 GB, free: 35.83 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.4864, allocations: 313.6 kB / 0.6075 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002527/0.4889, allocations: 2.16 MB / 0.6096 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.489, allocations: 0 / 0.6096 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.489, allocations: 3.938 kB / 0.6096 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.489, allocations: 0 / 0.6096 GB, free: 35.44 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.01025/0.4992, allocations: 1.239 MB / 0.6108 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.4993, allocations: 9.094 kB / 0.6108 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003471/0.4997, allocations: 93.92 kB / 0.6109 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.5, allocations: 360.4 kB / 0.6113 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.5, allocations: 9.922 kB / 0.6113 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.5, allocations: 6.031 kB / 0.6113 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.5004, allocations: 390.8 kB / 0.6117 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.5004, allocations: 8.688 kB / 0.6117 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.5004, allocations: 3.75 kB / 0.6117 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.5004, allocations: 0 / 0.6117 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.5008, allocations: 434.3 kB / 0.6121 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.5012, allocations: 0.6364 MB / 0.6127 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.5016, allocations: 0.5679 MB / 0.6133 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.5019, allocations: 334.4 kB / 0.6136 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007393/0.5026, allocations: 1.037 MB / 0.6146 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003091/0.5029, allocations: 416.2 kB / 0.615 GB, free: 32.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.5029, allocations: 0 / 0.615 GB, free: 32.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001016/0.504, allocations: 1.292 MB / 0.6162 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.504, allocations: 80.14 kB / 0.6163 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000899/0.5049, allocations: 1.207 MB / 0.6175 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.5049, allocations: 32.14 kB / 0.6175 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.5051, allocations: 262.7 kB / 0.6178 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.5051, allocations: 24.75 kB / 0.6178 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.5053, allocations: 292.8 kB / 0.6181 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.585e-05/0.5054, allocations: 316.8 kB / 0.6184 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009913/0.5064, allocations: 1.366 MB / 0.6197 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.5074, allocations: 1.507 MB / 0.6212 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006109/0.5135, allocations: 3.561 MB / 0.6247 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.5136, allocations: 2.688 kB / 0.6247 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003359/0.5169, allocations: 3.996 MB / 0.6286 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.517, allocations: 13.25 kB / 0.6286 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.517, allocations: 2.625 kB / 0.6286 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.517, allocations: 2.719 kB / 0.6286 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.5171, allocations: 19.42 kB / 0.6286 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5172, allocations: 7.531 kB / 0.6286 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/0.5176, allocations: 228.5 kB / 0.6288 GB, free: 29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.5177, allocations: 23.14 kB / 0.6289 GB, free: 29 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.000247/0.5179, allocations: 247.3 kB / 0.6291 GB, free: 28.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.518, allocations: 66.25 kB / 0.6292 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.5182, allocations: 80.89 kB / 0.6292 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5182, allocations: 0 / 0.6292 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/0.5182, allocations: 2.719 kB / 0.6292 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5183, allocations: 3.844 kB / 0.6292 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.5186, allocations: 0.4949 MB / 0.6297 GB, free: 28.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5186, allocations: 0 / 0.6297 GB, free: 28.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.179e-05/0.5187, allocations: 5.906 kB / 0.6297 GB, free: 28.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.5187, allocations: 6.984 kB / 0.6297 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.5187, allocations: 2.906 kB / 0.6297 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5187, allocations: 4.031 kB / 0.6297 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5187, allocations: 0 / 0.6297 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007787/0.5195, allocations: 0.996 MB / 0.6307 GB, free: 28.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.037e-05/0.5196, allocations: 152.7 kB / 0.6309 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.5196, allocations: 5.25 kB / 0.6309 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.5198, allocations: 10.06 kB / 0.6309 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.5198, allocations: 7.531 kB / 0.6309 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.5199, allocations: 13.52 kB / 0.6309 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006343/0.5205, allocations: 0.6681 MB / 0.6315 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5205, allocations: 0 / 0.6315 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001879/0.5224, allocations: 0.5895 MB / 0.6321 GB, free: 27.86 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.001996/0.5244, allocations: 0.6893 MB / 0.6328 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002441/0.5268, allocations: 2.561 MB / 0.6353 GB, free: 26.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5269, allocations: 0 / 0.6353 GB, free: 26.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.5272, allocations: 336.8 kB / 0.6356 GB, free: 26.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.5277, allocations: 38.97 kB / 0.6357 GB, free: 26.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.5299, allocations: 1.938 MB / 0.6375 GB, free: 25.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.5303, allocations: 0.9705 MB / 0.6385 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001861/0.5305, allocations: 37.52 kB / 0.6385 GB, free: 25.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.5306, allocations: 24.05 kB / 0.6386 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.5306, allocations: 0 / 0.6386 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.026/0.5566, allocations: 13.31 MB / 0.6516 GB, free: 24.32 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)