Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 190.1 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8831/0.8831, allocations: 134 MB / 440.3 MB, free: 192 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters")
translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 75.58 kB / 0.6108 GB, free: 13.64 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1567, allocations: 84.73 MB / 0.6935 GB, free: 8.973 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002471/0.1592, allocations: 1.403 MB / 0.6949 GB, free: 7.555 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.004873/0.1641, allocations: 3.07 MB / 0.6979 GB, free: 4.469 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.1641, allocations: 0 / 0.6979 GB, free: 4.469 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.1642, allocations: 19.86 kB / 0.6979 GB, free: 4.449 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.1644, allocations: 31.83 kB / 0.698 GB, free: 4.418 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.1669, allocations: 1.038 MB / 0.699 GB, free: 3.379 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 0.0001523/0.167, allocations: 83.69 kB / 0.6991 GB, free: 3.297 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.1671, allocations: 4 kB / 0.6991 GB, free: 3.293 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.459e-05/0.1671, allocations: 43.89 kB / 0.6991 GB, free: 3.25 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.1674, allocations: 151.6 kB / 0.6992 GB, free: 3.102 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.1674, allocations: 15.94 kB / 0.6993 GB, free: 3.086 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.1698, allocations: 1.533 MB / 0.7008 GB, free: 1.551 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.17, allocations: 267.8 kB / 0.701 GB, free: 1.289 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.1703, allocations: 274.3 kB / 0.7013 GB, free: 1.02 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.001951/0.1723, allocations: 1.503 MB / 0.7027 GB, free: 15.51 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1723, allocations: 0 / 0.7027 GB, free: 15.51 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.432e-06/0.1723, allocations: 0 / 0.7027 GB, free: 15.51 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 7.574e-06/0.1723, allocations: 0 / 0.7027 GB, free: 15.51 MB / 0.5294 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.01078/0.1831, allocations: 1.168 MB / 0.7039 GB, free: 14.31 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.1831, allocations: 12.03 kB / 0.7039 GB, free: 14.3 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004312/0.1835, allocations: 92.23 kB / 0.704 GB, free: 14.21 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.184, allocations: 310.9 kB / 0.7043 GB, free: 13.87 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.184, allocations: 8.375 kB / 0.7043 GB, free: 13.86 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.184, allocations: 11.92 kB / 0.7043 GB, free: 13.85 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005033/0.1845, allocations: 391.2 kB / 0.7047 GB, free: 13.45 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1846, allocations: 0 / 0.7047 GB, free: 13.45 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1846, allocations: 0 / 0.7047 GB, free: 13.45 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1846, allocations: 4 kB / 0.7047 GB, free: 13.45 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005136/0.1851, allocations: 435.7 kB / 0.7051 GB, free: 13.02 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006975/0.1858, allocations: 0.6126 MB / 0.7057 GB, free: 12.37 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006337/0.1864, allocations: 0.5594 MB / 0.7062 GB, free: 11.79 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003851/0.1868, allocations: 341.6 kB / 0.7066 GB, free: 11.45 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0008072/0.1876, allocations: 135.9 kB / 0.7067 GB, free: 11.32 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004514/0.1881, allocations: 400.9 kB / 0.7071 GB, free: 10.91 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.1881, allocations: 0 / 0.7071 GB, free: 10.91 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=8): time 0.00146/0.1895, allocations: 1.297 MB / 0.7083 GB, free: 9.602 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.1896, allocations: 81.11 kB / 0.7084 GB, free: 9.504 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.1909, allocations: 1.207 MB / 0.7096 GB, free: 8.281 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.1909, allocations: 25.7 kB / 0.7096 GB, free: 8.25 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.1912, allocations: 265.9 kB / 0.7099 GB, free: 7.984 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.1912, allocations: 19.84 kB / 0.7099 GB, free: 7.965 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003511/0.1916, allocations: 355.7 kB / 0.7102 GB, free: 7.613 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001404/0.1917, allocations: 314 kB / 0.7105 GB, free: 7.301 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.1931, allocations: 1.361 MB / 0.7119 GB, free: 5.938 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.1946, allocations: 1.496 MB / 0.7133 GB, free: 4.434 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00766/0.2022, allocations: 3.538 MB / 0.7168 GB, free: 0.8047 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.2022, allocations: 7.938 kB / 0.7168 GB, free: 0.7969 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=317) (initialization): time 0.004795/0.207, allocations: 3.965 MB / 0.7207 GB, free: 12.8 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.207, allocations: 4 kB / 0.7207 GB, free: 12.79 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.207, allocations: 4.078 kB / 0.7207 GB, free: 12.79 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.2071, allocations: 3.984 kB / 0.7207 GB, free: 12.79 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.2072, allocations: 16.03 kB / 0.7207 GB, free: 12.77 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.2072, allocations: 11.92 kB / 0.7207 GB, free: 12.76 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/0.2077, allocations: 241.3 kB / 0.7209 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/0.2078, allocations: 27.98 kB / 0.721 GB, free: 12.49 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 11 (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 (16):
 * Single equations (assignments): 13
 * Array equations: 2
 * Algorithm blocks: 0
 * Record equations: 1
 * 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.0003189/0.2081, allocations: 241.5 kB / 0.7212 GB, free: 12.25 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/0.2082, allocations: 67.34 kB / 0.7212 GB, free: 12.18 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.2093, allocations: 0.9398 MB / 0.7222 GB, free: 11.23 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.2093, allocations: 0 / 0.7222 GB, free: 11.23 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2093, allocations: 4 kB / 0.7222 GB, free: 11.22 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2093, allocations: 0 / 0.7222 GB, free: 11.22 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.2098, allocations: 471.8 kB / 0.7226 GB, free: 10.72 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2098, allocations: 0 / 0.7226 GB, free: 10.72 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.032e-05/0.2099, allocations: 15.92 kB / 0.7226 GB, free: 10.71 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2099, allocations: 0 / 0.7226 GB, free: 10.71 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.2099, allocations: 4 kB / 0.7226 GB, free: 10.7 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.2099, allocations: 8.031 kB / 0.7226 GB, free: 10.7 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2099, allocations: 4 kB / 0.7226 GB, free: 10.69 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.211, allocations: 1.002 MB / 0.7236 GB, free: 9.668 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/0.2111, allocations: 79.34 kB / 0.7237 GB, free: 9.59 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.2111, allocations: 0 / 0.7237 GB, free: 9.59 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.2113, allocations: 11.98 kB / 0.7237 GB, free: 9.578 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.2113, allocations: 11.98 kB / 0.7237 GB, free: 9.566 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-05/0.2114, allocations: 15.97 kB / 0.7237 GB, free: 9.551 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0007945/0.2122, allocations: 0.6648 MB / 0.7244 GB, free: 8.879 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.2122, allocations: 0 / 0.7244 GB, free: 8.879 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.001051/0.2132, allocations: 403 kB / 0.7248 GB, free: 8.484 MB / 0.545 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.001185/0.2144, allocations: 482 kB / 0.7252 GB, free: 8 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0022/0.2166, allocations: 1.941 MB / 0.7271 GB, free: 6.051 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2166, allocations: 4.062 kB / 0.7271 GB, free: 6.047 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.217, allocations: 343.7 kB / 0.7275 GB, free: 5.711 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.2173, allocations: 38.19 kB / 0.7275 GB, free: 5.676 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.2196, allocations: 1.755 MB / 0.7292 GB, free: 3.887 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.2202, allocations: 0.964 MB / 0.7302 GB, free: 2.898 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.0001301/0.2203, allocations: 28.5 kB / 0.7302 GB, free: 2.871 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.2204, allocations: 31.41 kB / 0.7302 GB, free: 2.84 MB / 0.545 GB
Notification: Performance of SimCode: time 4.31e-07/0.2204, allocations: 7.938 kB / 0.7302 GB, free: 2.832 MB / 0.545 GB
Notification: Performance of Templates: time 0.01865/0.2391, allocations: 9.671 MB / 0.7397 GB, free: 9.199 MB / 0.5606 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.713179260492325]
Failed to read output from testmodel.py, exit status != 0:
0.24679760076105595 0.5029979219999999 0.327977386
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa9086397b0>