Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001456/0.001456, allocations: 114.8 kB / 19.7 MB, free: 2.203 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.001565/0.001565, allocations: 194.2 kB / 22.98 MB, free: 5.082 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.326/1.326, allocations: 225.6 MB / 251.8 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9133/0.9133, allocations: 149.6 MB / 456.6 MB, free: 1.172 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 72.77 kB / 0.6329 GB, free: 8.914 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.169, allocations: 87.87 MB / 0.7187 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001825/0.1708, allocations: 0.566 MB / 0.7193 GB, free: 408 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1722, allocations: 1.015 MB / 0.7203 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.1722, allocations: 7.938 kB / 0.7203 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.178e-05/0.1722, allocations: 3.938 kB / 0.7203 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006701/0.1729, allocations: 87.78 kB / 0.7204 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.292e-05/0.1729, allocations: 15.98 kB / 0.7204 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.756e-05/0.173, allocations: 7.938 kB / 0.7204 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.173, allocations: 0 / 0.7204 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.902e-05/0.173, allocations: 7.984 kB / 0.7204 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.1732, allocations: 27.92 kB / 0.7204 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.1732, allocations: 3.984 kB / 0.7204 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.1734, allocations: 87.91 kB / 0.7205 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.1734, allocations: 3.984 kB / 0.7205 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.1734, allocations: 8 kB / 0.7205 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.1736, allocations: 71.78 kB / 0.7206 GB, free: 15.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1736, allocations: 0 / 0.7206 GB, free: 15.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.326e-06/0.1736, allocations: 4 kB / 0.7206 GB, free: 15.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.1736, allocations: 0 / 0.7206 GB, free: 15.04 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003402/0.174, allocations: 254.3 kB / 0.7208 GB, free: 14.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.174, allocations: 8.625 kB / 0.7208 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.174, allocations: 0.9375 kB / 0.7208 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.1741, allocations: 110.5 kB / 0.7209 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1742, allocations: 4.125 kB / 0.7209 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.1742, allocations: 0 / 0.7209 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.478e-05/0.1742, allocations: 33.64 kB / 0.721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.1743, allocations: 0 / 0.721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1743, allocations: 3.984 kB / 0.721 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1743, allocations: 0 / 0.721 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.813e-05/0.1743, allocations: 4 kB / 0.721 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.1747, allocations: 366.5 kB / 0.7213 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.959e-05/0.1748, allocations: 173.1 kB / 0.7215 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.1748, allocations: 80.14 kB / 0.7216 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.1748, allocations: 75.28 kB / 0.7216 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.555e-05/0.1749, allocations: 113.8 kB / 0.7218 GB, free: 13.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1749, allocations: 0 / 0.7218 GB, free: 13.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.481e-05/0.175, allocations: 29.7 kB / 0.7218 GB, free: 13.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.175, allocations: 130.7 kB / 0.7219 GB, free: 13.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.1751, allocations: 101.8 kB / 0.722 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.1751, allocations: 25.7 kB / 0.722 GB, free: 13.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.1752, allocations: 80.14 kB / 0.7221 GB, free: 13.31 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.1752, allocations: 0 / 0.7221 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.1752, allocations: 21.72 kB / 0.7221 GB, free: 13.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1754, allocations: 322.7 kB / 0.7224 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.1754, allocations: 0 / 0.7224 GB, free: 12.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.235e-06/0.1754, allocations: 7.938 kB / 0.7224 GB, free: 12.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.331e-05/0.1754, allocations: 4.859 kB / 0.7224 GB, free: 12.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1754, allocations: 0 / 0.7224 GB, free: 12.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001011/0.1755, allocations: 37.7 kB / 0.7225 GB, free: 12.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1755, allocations: 4.094 kB / 0.7225 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1755, allocations: 4 kB / 0.7225 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1755, allocations: 0 / 0.7225 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.488e-05/0.1755, allocations: 3.938 kB / 0.7225 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1756, allocations: 4 kB / 0.7225 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.1756, allocations: 3.938 kB / 0.7225 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.1756, allocations: 7.922 kB / 0.7225 GB, free: 12.88 MB / 0.545 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.0001011/0.1757, allocations: 181.1 kB / 0.7227 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.776e-05/0.1757, allocations: 109 kB / 0.7228 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.411e-05/0.1758, allocations: 108.1 kB / 0.7229 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.433e-05/0.1759, allocations: 180.3 kB / 0.7231 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.018e-05/0.176, allocations: 184.2 kB / 0.7232 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-05/0.1761, allocations: 184.4 kB / 0.7234 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.1763, allocations: 368.2 kB / 0.7238 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.343e-05/0.1764, allocations: 120.9 kB / 0.7239 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.271e-05/0.1764, allocations: 105 kB / 0.724 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.032e-05/0.1765, allocations: 176.3 kB / 0.7241 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.42e-05/0.1766, allocations: 180.4 kB / 0.7243 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.288e-05/0.1767, allocations: 184.3 kB / 0.7245 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.08e-05/0.1767, allocations: 184.2 kB / 0.7247 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.1769, allocations: 311.7 kB / 0.725 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.177, allocations: 104.9 kB / 0.7251 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.79e-05/0.177, allocations: 176.3 kB / 0.7252 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.954e-05/0.1771, allocations: 112.9 kB / 0.7253 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.241e-05/0.1772, allocations: 188.3 kB / 0.7255 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.1773, allocations: 101 kB / 0.7256 GB, free: 9.488 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.107e-05/0.1773, allocations: 83.22 kB / 0.7257 GB, free: 9.406 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1773, allocations: 0 / 0.7257 GB, free: 9.406 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002808/0.1776, allocations: 27.86 kB / 0.7257 GB, free: 9.379 MB / 0.545 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.0003742/0.178, allocations: 242.4 kB / 0.726 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.779e-05/0.178, allocations: 3.984 kB / 0.726 GB, free: 9.137 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.178, allocations: 0 / 0.726 GB, free: 9.137 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.178, allocations: 0 / 0.726 GB, free: 9.137 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.1784, allocations: 455.7 kB / 0.7264 GB, free: 8.688 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.1788, allocations: 208.8 kB / 0.7266 GB, free: 8.457 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1791, allocations: 0.669 MB / 0.7272 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.298e-05/0.1791, allocations: 4 kB / 0.7273 GB, free: 7.758 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.1791, allocations: 11.42 kB / 0.7273 GB, free: 7.746 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1791, allocations: 0 / 0.7273 GB, free: 7.746 MB / 0.545 GB Notification: Performance of Templates: time 0.003194/0.1823, allocations: 0.677 MB / 0.7279 GB, free: 7.109 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.163752700202167] Failed to read output from testmodel.py, exit status != 0: 0.19086323585361242 0.20455121299999995 0.028027498 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fbba40717b0>