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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 214.7 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8954/0.8954, allocations: 145 MB / 458.2 MB, free: 15.25 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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=2500,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=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.27 kB / 0.6344 GB, free: 6.082 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1833, allocations: 87.88 MB / 0.7202 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002556/0.1859, allocations: 1.43 MB / 0.7216 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007045/0.1929, allocations: 3.852 MB / 0.7254 GB, free: 8.898 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.193, allocations: 3.938 kB / 0.7254 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.1931, allocations: 11.92 kB / 0.7254 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1933, allocations: 31.72 kB / 0.7254 GB, free: 8.852 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.7.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.003895/0.1972, allocations: 1.589 MB / 0.727 GB, free: 7.262 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.1974, allocations: 95.67 kB / 0.7271 GB, free: 7.168 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.1974, allocations: 0 / 0.7271 GB, free: 7.168 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.374e-05/0.1975, allocations: 47.89 kB / 0.7271 GB, free: 7.121 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.1978, allocations: 147.6 kB / 0.7273 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.1978, allocations: 16 kB / 0.7273 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003629/0.2014, allocations: 2.371 MB / 0.7296 GB, free: 4.586 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.2017, allocations: 271.8 kB / 0.7298 GB, free: 4.316 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.2019, allocations: 218.9 kB / 0.73 GB, free: 4.102 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002714/0.2046, allocations: 2.138 MB / 0.7321 GB, free: 1.957 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2046, allocations: 0 / 0.7321 GB, free: 1.957 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2046, allocations: 0 / 0.7321 GB, free: 1.957 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.2046, allocations: 0 / 0.7321 GB, free: 1.957 MB / 0.545 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.009348/0.214, allocations: 1.268 MB / 0.7334 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.214, allocations: 8.031 kB / 0.7334 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003947/0.2144, allocations: 96.2 kB / 0.7335 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.2149, allocations: 307.2 kB / 0.7338 GB, free: 220 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.2149, allocations: 8.359 kB / 0.7338 GB, free: 212 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.2149, allocations: 8.375 kB / 0.7338 GB, free: 204 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.2154, allocations: 395.4 kB / 0.7342 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.2154, allocations: 4 kB / 0.7342 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.2154, allocations: 0 / 0.7342 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2155, allocations: 0 / 0.7342 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000486/0.2159, allocations: 435.7 kB / 0.7346 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.2165, allocations: 0.5654 MB / 0.7351 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005898/0.2171, allocations: 0.5595 MB / 0.7357 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.2175, allocations: 333.6 kB / 0.736 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006762/0.2181, allocations: 135.9 kB / 0.7361 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004509/0.2186, allocations: 404.8 kB / 0.7365 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2186, allocations: 0 / 0.7365 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001476/0.2201, allocations: 1.301 MB / 0.7378 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.2201, allocations: 89.05 kB / 0.7379 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.2214, allocations: 1.219 MB / 0.7391 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.2214, allocations: 29.7 kB / 0.7391 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.2217, allocations: 269.9 kB / 0.7393 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.2217, allocations: 15.91 kB / 0.7394 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/0.2221, allocations: 355.6 kB / 0.7397 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.2222, allocations: 314 kB / 0.74 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.2236, allocations: 1.377 MB / 0.7413 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.2251, allocations: 1.503 MB / 0.7428 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007259/0.2323, allocations: 3.56 MB / 0.7463 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2324, allocations: 0 / 0.7463 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.3666/0.5989, allocations: 4.004 MB / 0.7502 GB, free: 29.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.5989, allocations: 9.969 kB / 0.7502 GB, free: 29.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/0.599, allocations: 4.562 kB / 0.7502 GB, free: 29.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.599, allocations: 0 / 0.7502 GB, free: 29.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.5992, allocations: 18.78 kB / 0.7502 GB, free: 29.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.5992, allocations: 2.312 kB / 0.7502 GB, free: 29.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.5997, allocations: 238 kB / 0.7505 GB, free: 29.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/0.5997, allocations: 23.7 kB / 0.7505 GB, free: 29.26 MB / 0.5606 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.0002865/0.6, allocations: 237.4 kB / 0.7507 GB, free: 29.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.6, allocations: 76.64 kB / 0.7508 GB, free: 29.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.6012, allocations: 0.9421 MB / 0.7517 GB, free: 29.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.6012, allocations: 1.5 kB / 0.7517 GB, free: 29.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.6012, allocations: 2.109 kB / 0.7517 GB, free: 29.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6012, allocations: 1.703 kB / 0.7517 GB, free: 29.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.6017, allocations: 445.3 kB / 0.7521 GB, free: 28.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6017, allocations: 2.156 kB / 0.7521 GB, free: 28.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.298e-05/0.6018, allocations: 11.22 kB / 0.7521 GB, free: 28.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.6018, allocations: 0.875 kB / 0.7521 GB, free: 28.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.6018, allocations: 7.609 kB / 0.7522 GB, free: 28.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.6018, allocations: 0 / 0.7522 GB, free: 28.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6018, allocations: 1.875 kB / 0.7522 GB, free: 28.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.603, allocations: 1.006 MB / 0.7531 GB, free: 28.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.6031, allocations: 83.97 kB / 0.7532 GB, free: 28.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.6032, allocations: 2.188 kB / 0.7532 GB, free: 28.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.6033, allocations: 7.125 kB / 0.7532 GB, free: 28.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.6033, allocations: 12.56 kB / 0.7532 GB, free: 28.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.6034, allocations: 13.92 kB / 0.7532 GB, free: 28.72 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007982/0.6042, allocations: 0.6724 MB / 0.7539 GB, free: 28.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6042, allocations: 0 / 0.7539 GB, free: 28.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001838/0.606, allocations: 0.5862 MB / 0.7545 GB, free: 28.57 MB / 0.5606 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.001856/0.6079, allocations: 0.709 MB / 0.7552 GB, free: 28.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002652/0.6105, allocations: 2.002 MB / 0.7571 GB, free: 28.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.6105, allocations: 1.062 kB / 0.7571 GB, free: 28.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.611, allocations: 336.8 kB / 0.7574 GB, free: 28.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.6113, allocations: 36.3 kB / 0.7575 GB, free: 28.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.6139, allocations: 1.816 MB / 0.7593 GB, free: 27.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005384/0.6145, allocations: 373.8 kB / 0.7596 GB, free: 27.65 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.6146, allocations: 25.78 kB / 0.7596 GB, free: 27.64 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/0.6146, allocations: 0 / 0.7596 GB, free: 27.64 MB / 0.5606 GB Notification: Performance of Templates: time 0.02522/0.6398, allocations: 14.4 MB / 0.7737 GB, free: 23.71 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.997642389964312] Failed to read output from testmodel.py, exit status != 0: 0.6481119305826724 0.65842812 0.45172301800000003 Calling exit ...