Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.001538/0.001538, allocations: 110.2 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.001365/0.001365, allocations: 192.3 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.388/1.388, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002412/0.002412, allocations: 281.2 kB / 306.5 MB, free: 8.297 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.19/1.19, allocations: 180.9 MB / 0.53 GB, free: 14.49 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction")
translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 102.2 kB / 0.7309 GB, free: 38.86 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1508, allocations: 94.2 MB / 0.8229 GB, free: 1.785 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001679/0.1524, allocations: 0.5713 MB / 0.8234 GB, free: 1.215 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001332/0.1538, allocations: 1.011 MB / 0.8244 GB, free: 192 kB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.1538, allocations: 4 kB / 0.8244 GB, free: 188 kB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.1538, allocations: 0 / 0.8244 GB, free: 188 kB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 0.0007108/0.1545, allocations: 103.8 kB / 0.8245 GB, free: 84 kB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 3.44e-05/0.1546, allocations: 11.94 kB / 0.8245 GB, free: 72 kB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 3.902e-05/0.1546, allocations: 4 kB / 0.8245 GB, free: 68 kB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.1546, allocations: 7.984 kB / 0.8246 GB, free: 60 kB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.419e-05/0.1546, allocations: 0 / 0.8246 GB, free: 60 kB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.1548, allocations: 39.42 kB / 0.8246 GB, free: 24 kB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.1549, allocations: 0 / 0.8246 GB, free: 24 kB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.1551, allocations: 87.84 kB / 0.8247 GB, free: 15.94 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.1551, allocations: 7.938 kB / 0.8247 GB, free: 15.93 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.1551, allocations: 0 / 0.8247 GB, free: 15.93 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.1553, allocations: 83.78 kB / 0.8248 GB, free: 15.85 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1553, allocations: 0 / 0.8248 GB, free: 15.85 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.693e-06/0.1553, allocations: 0 / 0.8248 GB, free: 15.85 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 4.218e-06/0.1553, allocations: 0 / 0.8248 GB, free: 15.85 MB / 0.5762 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0003218/0.1556, allocations: 262.2 kB / 0.825 GB, free: 15.56 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1556, allocations: 12.03 kB / 0.825 GB, free: 15.55 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.1557, allocations: 0.9375 kB / 0.825 GB, free: 15.55 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1558, allocations: 110.5 kB / 0.8251 GB, free: 15.42 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1558, allocations: 4.375 kB / 0.8251 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.1558, allocations: 384 / 0.8251 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.072e-05/0.1559, allocations: 33.77 kB / 0.8252 GB, free: 15.38 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1559, allocations: 0 / 0.8252 GB, free: 15.38 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.1559, allocations: 0 / 0.8252 GB, free: 15.38 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1559, allocations: 0 / 0.8252 GB, free: 15.38 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.754e-05/0.1559, allocations: 4 kB / 0.8252 GB, free: 15.37 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.1563, allocations: 366.6 kB / 0.8255 GB, free: 14.97 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.381e-05/0.1564, allocations: 166.6 kB / 0.8257 GB, free: 14.8 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.1564, allocations: 84.08 kB / 0.8258 GB, free: 14.71 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.1565, allocations: 79.27 kB / 0.8258 GB, free: 14.63 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/0.1565, allocations: 109.8 kB / 0.8259 GB, free: 14.52 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.1565, allocations: 0 / 0.8259 GB, free: 14.52 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=0): time 7.536e-05/0.1566, allocations: 29.7 kB / 0.826 GB, free: 14.48 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.1567, allocations: 126.7 kB / 0.8261 GB, free: 14.34 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1568, allocations: 97.86 kB / 0.8262 GB, free: 14.24 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1568, allocations: 29.69 kB / 0.8262 GB, free: 14.2 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.1568, allocations: 88.09 kB / 0.8263 GB, free: 14.11 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 5.751e-06/0.1568, allocations: 3.984 kB / 0.8263 GB, free: 14.11 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.1569, allocations: 17.72 kB / 0.8263 GB, free: 14.09 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001435/0.157, allocations: 314.8 kB / 0.8266 GB, free: 13.77 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.157, allocations: 4 kB / 0.8266 GB, free: 13.77 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-06/0.157, allocations: 3.938 kB / 0.8266 GB, free: 13.76 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.653e-05/0.1571, allocations: 8.859 kB / 0.8266 GB, free: 13.75 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1571, allocations: 0 / 0.8266 GB, free: 13.75 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 9.774e-05/0.1572, allocations: 33.69 kB / 0.8267 GB, free: 13.71 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1572, allocations: 6.031 kB / 0.8267 GB, free: 13.71 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.1572, allocations: 4.094 kB / 0.8267 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1572, allocations: 4 kB / 0.8267 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.365e-05/0.1572, allocations: 3.938 kB / 0.8267 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1572, allocations: 0 / 0.8267 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.511e-05/0.1572, allocations: 4 kB / 0.8267 GB, free: 13.69 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1572, allocations: 7.938 kB / 0.8267 GB, free: 13.68 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 1 (cmp)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (1):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * 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.0001096/0.1573, allocations: 193.7 kB / 0.8269 GB, free: 13.48 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.1574, allocations: 101 kB / 0.827 GB, free: 13.38 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.358e-05/0.1575, allocations: 112.1 kB / 0.8271 GB, free: 13.26 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-05/0.1575, allocations: 184.4 kB / 0.8273 GB, free: 13.07 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001349/0.1577, allocations: 180.3 kB / 0.8274 GB, free: 12.89 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.494e-05/0.1578, allocations: 188.2 kB / 0.8276 GB, free: 12.7 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.158, allocations: 376.2 kB / 0.828 GB, free: 12.28 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.412e-05/0.1581, allocations: 105 kB / 0.8281 GB, free: 12.17 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.1581, allocations: 104.9 kB / 0.8282 GB, free: 12.06 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.408e-05/0.1582, allocations: 180.3 kB / 0.8283 GB, free: 11.88 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.943e-05/0.1583, allocations: 188.4 kB / 0.8285 GB, free: 11.68 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.168e-05/0.1584, allocations: 176.3 kB / 0.8287 GB, free: 11.5 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.882e-05/0.1584, allocations: 180.3 kB / 0.8289 GB, free: 11.32 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.1586, allocations: 311.7 kB / 0.8292 GB, free: 10.99 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.1587, allocations: 108.9 kB / 0.8293 GB, free: 10.88 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.962e-05/0.1588, allocations: 180.3 kB / 0.8294 GB, free: 10.7 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/0.1589, allocations: 101 kB / 0.8295 GB, free: 10.59 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.99e-05/0.159, allocations: 184.2 kB / 0.8297 GB, free: 10.4 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/0.159, allocations: 109 kB / 0.8298 GB, free: 10.29 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 5.541e-05/0.1591, allocations: 83.27 kB / 0.8299 GB, free: 10.21 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6e-08/0.1591, allocations: 0 / 0.8299 GB, free: 10.21 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002649/0.1593, allocations: 23.88 kB / 0.8299 GB, free: 10.18 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (0):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * 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.0003844/0.1597, allocations: 224.7 kB / 0.8301 GB, free: 9.961 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 6.425e-05/0.1598, allocations: 11.94 kB / 0.8301 GB, free: 9.949 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1598, allocations: 0 / 0.8301 GB, free: 9.949 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.1598, allocations: 0 / 0.8301 GB, free: 9.949 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.1602, allocations: 459.6 kB / 0.8306 GB, free: 9.496 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.1606, allocations: 204.2 kB / 0.8308 GB, free: 9.27 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.1609, allocations: 0.6729 MB / 0.8314 GB, free: 8.57 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 2.589e-05/0.1609, allocations: 0 / 0.8314 GB, free: 8.57 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.161, allocations: 11.44 kB / 0.8314 GB, free: 8.559 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.4e-07/0.161, allocations: 3.938 kB / 0.8314 GB, free: 8.555 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003599/0.1646, allocations: 0.684 MB / 0.8321 GB, free: 7.918 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.851695789024234]
Failed to read output from testmodel.py, exit status != 0:
0.1720730233937502 0.18749416600000002 0.029176643000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ffbefa217b0>