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.0009341/0.0009342, allocations: 98.48 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 185.7 kB / 16.92 MB, free: 6.75 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: 223.3 MB / 241 MB, free: 5.344 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.036/1.036, allocations: 143.2 MB / 435.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.000362, allocations: 16 kB / 0.5171 GB, free: 11.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1896, allocations: 83.4 MB / 0.5986 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.001589/0.1912, allocations: 1.15 MB / 0.5997 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006815/0.198, allocations: 4.391 MB / 0.604 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.1981, allocations: 0 / 0.604 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.1983, allocations: 7.922 kB / 0.604 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.1986, allocations: 27.84 kB / 0.604 GB, free: 2.012 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.004294/0.2029, allocations: 1.193 MB / 0.6052 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.2031, allocations: 111.7 kB / 0.6053 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.479e-05/0.2031, allocations: 4 kB / 0.6053 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.832e-05/0.2032, allocations: 43.83 kB / 0.6053 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.2035, allocations: 161 kB / 0.6055 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.2036, allocations: 12 kB / 0.6055 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3016/0.5052, allocations: 2.186 MB / 0.6076 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.5055, allocations: 265 kB / 0.6079 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.5057, allocations: 311 kB / 0.6082 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002338/0.5081, allocations: 1.496 MB / 0.6096 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5081, allocations: 0.7812 kB / 0.6096 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5081, allocations: 0 / 0.6096 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.5081, allocations: 0 / 0.6096 GB, free: 35.45 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.0106/0.5187, allocations: 1.248 MB / 0.6108 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.5188, allocations: 8.969 kB / 0.6109 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003902/0.5192, allocations: 87.02 kB / 0.6109 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.5195, allocations: 360.8 kB / 0.6113 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.5195, allocations: 6.344 kB / 0.6113 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.5196, allocations: 10.92 kB / 0.6113 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.52, allocations: 385.1 kB / 0.6117 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.52, allocations: 4.438 kB / 0.6117 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.52, allocations: 0.6562 kB / 0.6117 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.52, allocations: 2.75 kB / 0.6117 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.5204, allocations: 437.3 kB / 0.6121 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.5209, allocations: 0.644 MB / 0.6127 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.5214, allocations: 0.5647 MB / 0.6133 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.5217, allocations: 334.9 kB / 0.6136 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008258/0.5225, allocations: 1.037 MB / 0.6146 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003543/0.5229, allocations: 413.5 kB / 0.615 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.5229, allocations: 0.75 kB / 0.615 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001299/0.5242, allocations: 1.291 MB / 0.6163 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.5242, allocations: 87.55 kB / 0.6163 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.5253, allocations: 1.204 MB / 0.6175 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.5253, allocations: 32.36 kB / 0.6175 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.5255, allocations: 258.2 kB / 0.6178 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.5255, allocations: 25.47 kB / 0.6178 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.5257, allocations: 296.2 kB / 0.6181 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.5258, allocations: 313.3 kB / 0.6184 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.5268, allocations: 1.37 MB / 0.6197 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.5281, allocations: 1.502 MB / 0.6212 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006479/0.5345, allocations: 3.559 MB / 0.6247 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.5346, allocations: 0 / 0.6247 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003784/0.5384, allocations: 4.007 MB / 0.6286 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.5384, allocations: 10.22 kB / 0.6286 GB, free: 29.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.5385, allocations: 2.625 kB / 0.6286 GB, free: 29.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.5385, allocations: 3.281 kB / 0.6286 GB, free: 29.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.5386, allocations: 14.59 kB / 0.6286 GB, free: 29.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.5387, allocations: 0 / 0.6286 GB, free: 29.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/0.5392, allocations: 230.8 kB / 0.6288 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.5393, allocations: 31.86 kB / 0.6289 GB, free: 29.18 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.000315/0.5396, allocations: 240.8 kB / 0.6291 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.5397, allocations: 66.41 kB / 0.6292 GB, free: 29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.54, allocations: 81.41 kB / 0.6292 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.54, allocations: 3.75 kB / 0.6292 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.54, allocations: 7.25 kB / 0.6292 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.54, allocations: 0 / 0.6292 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.5404, allocations: 0.4887 MB / 0.6297 GB, free: 28.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.5404, allocations: 3.562 kB / 0.6297 GB, free: 28.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.419e-05/0.5405, allocations: 5.219 kB / 0.6297 GB, free: 28.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5405, allocations: 5.344 kB / 0.6297 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.5405, allocations: 5.922 kB / 0.6297 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5405, allocations: 0.5625 kB / 0.6297 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5405, allocations: 0 / 0.6297 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007996/0.5413, allocations: 1.005 MB / 0.6307 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.895e-05/0.5414, allocations: 153.6 kB / 0.6309 GB, free: 28.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.5415, allocations: 3.312 kB / 0.6309 GB, free: 28.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.5416, allocations: 10.02 kB / 0.6309 GB, free: 28.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.5417, allocations: 5.094 kB / 0.6309 GB, free: 28.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.5417, allocations: 21.16 kB / 0.6309 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006519/0.5424, allocations: 0.6722 MB / 0.6316 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5424, allocations: 0 / 0.6316 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002358/0.5447, allocations: 0.5818 MB / 0.6321 GB, free: 28.04 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.001997/0.5467, allocations: 0.6884 MB / 0.6328 GB, free: 27.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002583/0.5493, allocations: 2.549 MB / 0.6353 GB, free: 26.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5494, allocations: 4.062 kB / 0.6353 GB, free: 26.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.5498, allocations: 343.3 kB / 0.6356 GB, free: 26.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.5502, allocations: 39.48 kB / 0.6357 GB, free: 26.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.5527, allocations: 1.985 MB / 0.6376 GB, free: 26.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.5531, allocations: 0.9644 MB / 0.6385 GB, free: 25.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.5532, allocations: 25.95 kB / 0.6386 GB, free: 25.3 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.5532, allocations: 3.469 kB / 0.6386 GB, free: 25.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.02865/0.5819, allocations: 13.95 MB / 0.6522 GB, free: 23.59 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)