Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001315/0.001315, allocations: 110 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.00141/0.00141, allocations: 192.8 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.429/1.429, 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.8551/0.8551, allocations: 134 MB / 440.3 MB, free: 224 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.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction")
translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 64.2 kB / 0.6108 GB, free: 13.66 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1632, allocations: 84.72 MB / 0.6935 GB, free: 9.004 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001713/0.1649, allocations: 0.5642 MB / 0.6941 GB, free: 8.438 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.001355/0.1662, allocations: 1.003 MB / 0.6951 GB, free: 7.422 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.721e-05/0.1662, allocations: 0 / 0.6951 GB, free: 7.422 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 1.215e-05/0.1663, allocations: 4 kB / 0.6951 GB, free: 7.418 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 0.0006776/0.1669, allocations: 95.77 kB / 0.6952 GB, free: 7.324 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 4.136e-05/0.167, allocations: 15.94 kB / 0.6952 GB, free: 7.309 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 5.844e-05/0.167, allocations: 4 kB / 0.6952 GB, free: 7.305 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.022e-05/0.1671, allocations: 0 / 0.6952 GB, free: 7.305 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.789e-05/0.1671, allocations: 3.938 kB / 0.6952 GB, free: 7.301 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.1673, allocations: 27.97 kB / 0.6952 GB, free: 7.273 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.1673, allocations: 4 kB / 0.6952 GB, free: 7.27 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.1675, allocations: 79.91 kB / 0.6953 GB, free: 7.191 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.1675, allocations: 3.984 kB / 0.6953 GB, free: 7.188 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.1676, allocations: 7.984 kB / 0.6953 GB, free: 7.18 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1677, allocations: 67.75 kB / 0.6954 GB, free: 7.113 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1677, allocations: 4 kB / 0.6954 GB, free: 7.109 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.242e-06/0.1677, allocations: 4 kB / 0.6954 GB, free: 7.105 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 5.661e-06/0.1677, allocations: 0 / 0.6954 GB, free: 7.105 MB / 0.5137 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.0003334/0.1681, allocations: 254.2 kB / 0.6956 GB, free: 6.828 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1681, allocations: 8.031 kB / 0.6956 GB, free: 6.82 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.1681, allocations: 0.9375 kB / 0.6956 GB, free: 6.82 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1683, allocations: 118.5 kB / 0.6957 GB, free: 6.68 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1683, allocations: 8.125 kB / 0.6957 GB, free: 6.672 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.1683, allocations: 0 / 0.6957 GB, free: 6.672 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.784e-05/0.1684, allocations: 29.7 kB / 0.6958 GB, free: 6.637 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.1684, allocations: 0 / 0.6958 GB, free: 6.637 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.1684, allocations: 0 / 0.6958 GB, free: 6.637 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1684, allocations: 0 / 0.6958 GB, free: 6.637 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.1684, allocations: 11.92 kB / 0.6958 GB, free: 6.625 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.1688, allocations: 358.5 kB / 0.6961 GB, free: 6.23 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.1689, allocations: 169.2 kB / 0.6963 GB, free: 6.055 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.169, allocations: 88.12 kB / 0.6964 GB, free: 5.965 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.169, allocations: 79.22 kB / 0.6964 GB, free: 5.887 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/0.1691, allocations: 105.8 kB / 0.6965 GB, free: 5.773 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1691, allocations: 4 kB / 0.6965 GB, free: 5.77 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=0): time 7.652e-05/0.1691, allocations: 29.64 kB / 0.6966 GB, free: 5.734 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.1692, allocations: 130.7 kB / 0.6967 GB, free: 5.594 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1694, allocations: 101.8 kB / 0.6968 GB, free: 5.484 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1694, allocations: 25.7 kB / 0.6968 GB, free: 5.453 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.1694, allocations: 88.06 kB / 0.6969 GB, free: 5.363 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 3.467e-06/0.1694, allocations: 0 / 0.6969 GB, free: 5.363 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.1695, allocations: 13.72 kB / 0.6969 GB, free: 5.344 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001435/0.1696, allocations: 318.8 kB / 0.6972 GB, free: 5.023 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.1696, allocations: 0 / 0.6972 GB, free: 5.023 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.003e-05/0.1697, allocations: 8 kB / 0.6972 GB, free: 5.016 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/0.1697, allocations: 4.859 kB / 0.6972 GB, free: 5.008 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1697, allocations: 3.938 kB / 0.6972 GB, free: 5.004 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001162/0.1698, allocations: 37.69 kB / 0.6973 GB, free: 4.961 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1698, allocations: 4 kB / 0.6973 GB, free: 4.957 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1698, allocations: 0 / 0.6973 GB, free: 4.957 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1698, allocations: 4.094 kB / 0.6973 GB, free: 4.953 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-05/0.1699, allocations: 0 / 0.6973 GB, free: 4.953 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1699, allocations: 4 kB / 0.6973 GB, free: 4.949 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.1699, allocations: 3.953 kB / 0.6973 GB, free: 4.945 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1699, allocations: 3.938 kB / 0.6973 GB, free: 4.941 MB / 0.5137 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.0001147/0.17, allocations: 181.1 kB / 0.6975 GB, free: 4.754 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.1701, allocations: 108.9 kB / 0.6976 GB, free: 4.641 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.863e-05/0.1701, allocations: 116.1 kB / 0.6977 GB, free: 4.523 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001273/0.1703, allocations: 176.3 kB / 0.6978 GB, free: 4.344 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.056e-05/0.1704, allocations: 184.2 kB / 0.698 GB, free: 4.156 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.713e-05/0.1705, allocations: 180.3 kB / 0.6982 GB, free: 3.973 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.1708, allocations: 380.2 kB / 0.6986 GB, free: 3.551 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.485e-05/0.1708, allocations: 101 kB / 0.6987 GB, free: 3.445 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.177e-05/0.1709, allocations: 113 kB / 0.6988 GB, free: 3.328 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-05/0.171, allocations: 180.2 kB / 0.6989 GB, free: 3.145 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.753e-05/0.1711, allocations: 180.4 kB / 0.6991 GB, free: 2.961 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-05/0.1712, allocations: 180.2 kB / 0.6993 GB, free: 2.777 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.714e-05/0.1712, allocations: 188.3 kB / 0.6995 GB, free: 2.586 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.1714, allocations: 307.7 kB / 0.6997 GB, free: 2.262 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.1715, allocations: 109 kB / 0.6999 GB, free: 2.148 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.109e-05/0.1716, allocations: 180.2 kB / 0.7 GB, free: 1.965 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1717, allocations: 105 kB / 0.7001 GB, free: 1.855 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/0.1718, allocations: 176.3 kB / 0.7003 GB, free: 1.676 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.1718, allocations: 108.9 kB / 0.7004 GB, free: 1.562 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 6.916e-05/0.1719, allocations: 95.14 kB / 0.7005 GB, free: 1.469 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 8e-08/0.1719, allocations: 3.938 kB / 0.7005 GB, free: 1.465 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.0002813/0.1722, allocations: 19.94 kB / 0.7005 GB, free: 1.445 MB / 0.5137 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.0004157/0.1726, allocations: 231.1 kB / 0.7007 GB, free: 1.219 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 8.27e-05/0.1727, allocations: 4 kB / 0.7007 GB, free: 1.215 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1727, allocations: 0 / 0.7007 GB, free: 1.215 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 5.33e-06/0.1727, allocations: 3.938 kB / 0.7007 GB, free: 1.211 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.1731, allocations: 455.7 kB / 0.7012 GB, free: 0.7617 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.1736, allocations: 196.2 kB / 0.7014 GB, free: 0.543 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.1739, allocations: 0.6768 MB / 0.702 GB, free: 15.84 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 2.951e-05/0.174, allocations: 7.078 kB / 0.702 GB, free: 15.84 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.174, allocations: 11.44 kB / 0.702 GB, free: 15.82 MB / 0.5294 GB
Notification: Performance of SimCode: time 3.11e-07/0.174, allocations: 0 / 0.702 GB, free: 15.82 MB / 0.5294 GB
Notification: Performance of Templates: time 0.003346/0.1773, allocations: 0.664 MB / 0.7027 GB, free: 15.2 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.4459621869027615]
Failed to read output from testmodel.py, exit status != 0:
0.1855637738481164 0.20195200800000002 0.031061748000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f84ba6a97b0>