Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.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.001265/0.001265, allocations: 114.6 kB / 19.69 MB, free: 2.199 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.00125/0.00125, allocations: 188.8 kB / 22.98 MB, free: 5.066 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.335/1.335, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.8832/0.8832, allocations: 149.6 MB / 456.6 MB, free: 1.168 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.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 65.09 kB / 0.6328 GB, free: 8.996 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1634, allocations: 87.88 MB / 0.7186 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002547/0.1659, allocations: 1.53 MB / 0.7201 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1672, allocations: 0.5423 MB / 0.7207 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.1672, allocations: 0 / 0.7207 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.377e-05/0.1673, allocations: 7.875 kB / 0.7207 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.1674, allocations: 31.84 kB / 0.7207 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007454/0.1681, allocations: 314.5 kB / 0.721 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000521/0.1687, allocations: 483.5 kB / 0.7215 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.1687, allocations: 7.984 kB / 0.7215 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.1691, allocations: 279.7 kB / 0.7217 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.1694, allocations: 151.4 kB / 0.7219 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.181e-05/0.1694, allocations: 31.94 kB / 0.7219 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.581e-05/0.1695, allocations: 28 kB / 0.7219 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.1696, allocations: 111.7 kB / 0.722 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.1698, allocations: 187 kB / 0.7222 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.1703, allocations: 430.3 kB / 0.7226 GB, free: 12.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1703, allocations: 0 / 0.7226 GB, free: 12.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.035e-06/0.1703, allocations: 4 kB / 0.7226 GB, free: 12.94 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.1703, allocations: 0 / 0.7226 GB, free: 12.94 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001207/0.1715, allocations: 0.799 MB / 0.7234 GB, free: 12.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.1715, allocations: 12.62 kB / 0.7234 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.1716, allocations: 56.66 kB / 0.7235 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.172, allocations: 248.8 kB / 0.7237 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.1721, allocations: 16.38 kB / 0.7237 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.04e-05/0.1722, allocations: 32.36 kB / 0.7238 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008932/0.173, allocations: 213.9 kB / 0.724 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.1731, allocations: 192 / 0.724 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.1731, allocations: 11.88 kB / 0.724 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1731, allocations: 0 / 0.724 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006828/0.1738, allocations: 95.92 kB / 0.7241 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.1742, allocations: 360.4 kB / 0.7244 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009201/0.1751, allocations: 166.5 kB / 0.7246 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006579/0.1758, allocations: 101.2 kB / 0.7247 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1758, allocations: 4 kB / 0.7247 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008501/0.1766, allocations: 231 kB / 0.7249 GB, free: 10.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.1766, allocations: 0 / 0.7249 GB, free: 10.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002327/0.179, allocations: 486.1 kB / 0.7254 GB, free: 9.973 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.179, allocations: 63.39 kB / 0.7254 GB, free: 9.898 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.1794, allocations: 417.8 kB / 0.7258 GB, free: 9.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.55e-05/0.1795, allocations: 41.69 kB / 0.7258 GB, free: 9.434 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.1796, allocations: 89.45 kB / 0.7259 GB, free: 9.344 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.1796, allocations: 39.78 kB / 0.726 GB, free: 9.305 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.1798, allocations: 129.4 kB / 0.7261 GB, free: 9.172 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1799, allocations: 322.8 kB / 0.7264 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.1802, allocations: 115.9 kB / 0.7265 GB, free: 8.734 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.1805, allocations: 173.9 kB / 0.7267 GB, free: 8.543 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.1809, allocations: 276.2 kB / 0.7269 GB, free: 8.242 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1809, allocations: 4 kB / 0.7269 GB, free: 8.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008077/0.1817, allocations: 492.6 kB / 0.7274 GB, free: 7.738 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.353e-05/0.1818, allocations: 91.31 kB / 0.7275 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1818, allocations: 11.97 kB / 0.7275 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1818, allocations: 0 / 0.7275 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.182, allocations: 19.98 kB / 0.7275 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.182, allocations: 11.88 kB / 0.7275 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.1824, allocations: 60.03 kB / 0.7276 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.15e-05/0.1825, allocations: 55.98 kB / 0.7277 GB, free: 7.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0002178/0.1827, allocations: 205.7 kB / 0.7279 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.714e-05/0.1828, allocations: 39.7 kB / 0.7279 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.086e-05/0.1828, allocations: 35.69 kB / 0.7279 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.1828, allocations: 4 kB / 0.7279 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1829, allocations: 0 / 0.7279 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1829, allocations: 7.984 kB / 0.7279 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.185, allocations: 0.7138 MB / 0.7286 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.185, allocations: 4 kB / 0.7286 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.185, allocations: 11.94 kB / 0.7286 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.185, allocations: 0 / 0.7286 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.185, allocations: 23.97 kB / 0.7287 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.185, allocations: 0 / 0.7287 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.185, allocations: 7.922 kB / 0.7287 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.1866, allocations: 483.4 kB / 0.7291 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.1869, allocations: 121.6 kB / 0.7293 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.1869, allocations: 15.98 kB / 0.7293 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/0.1874, allocations: 27.97 kB / 0.7293 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.1874, allocations: 7.984 kB / 0.7293 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/0.1875, allocations: 59.97 kB / 0.7294 GB, free: 5.656 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002937/0.1878, allocations: 299.1 kB / 0.7296 GB, free: 5.363 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1878, allocations: 0 / 0.7296 GB, free: 5.363 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003247/0.1881, allocations: 67.98 kB / 0.7297 GB, free: 5.297 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: 14 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001551/0.1882, allocations: 124.8 kB / 0.7298 GB, free: 5.164 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.1894, allocations: 405.7 kB / 0.7302 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1894, allocations: 0 / 0.7302 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007014/0.1901, allocations: 107.9 kB / 0.7303 GB, free: 4.641 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1905, allocations: 34.02 kB / 0.7304 GB, free: 4.609 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.1918, allocations: 0.5587 MB / 0.7309 GB, free: 4.027 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.1922, allocations: 0.7708 MB / 0.7317 GB, free: 3.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.498e-05/0.1923, allocations: 17.02 kB / 0.7317 GB, free: 3.215 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.1923, allocations: 19.42 kB / 0.7317 GB, free: 3.195 MB / 0.545 GB Notification: Performance of SimCode: time 4e-07/0.1923, allocations: 0 / 0.7317 GB, free: 3.195 MB / 0.545 GB Notification: Performance of Templates: time 0.009159/0.2015, allocations: 5.09 MB / 0.7367 GB, free: 14.01 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.290159126743674] Failed to read output from testmodel.py, exit status != 0: 0.20976537000387907 0.22351615700000002 0.050386778 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f115cc157b0>