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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001087, allocations: 110.9 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 190.3 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7318/0.7318, allocations: 115.3 MB / 406.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 65.94 kB / 0.5576 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1576, allocations: 76.19 MB / 0.632 GB, free: 4.469 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.003141/0.1608, allocations: 1.498 MB / 0.6335 GB, free: 2.957 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.1625, allocations: 0.5461 MB / 0.634 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.1626, allocations: 0 / 0.634 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.1627, allocations: 7.875 kB / 0.6341 GB, free: 2.402 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.1628, allocations: 27.84 kB / 0.6341 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009582/0.1638, allocations: 305.3 kB / 0.6344 GB, free: 2.078 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006767/0.1645, allocations: 0.5072 MB / 0.6349 GB, free: 1.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.204e-05/0.1646, allocations: 16 kB / 0.6349 GB, free: 1.555 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004955/0.1651, allocations: 271.6 kB / 0.6351 GB, free: 1.289 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/0.1654, allocations: 143.5 kB / 0.6353 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.1656, allocations: 28 kB / 0.6353 GB, free: 1.121 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1657, allocations: 24 kB / 0.6353 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.1659, allocations: 119.6 kB / 0.6354 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002696/0.1662, allocations: 191.1 kB / 0.6356 GB, free: 0.793 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000614/0.1668, allocations: 414.7 kB / 0.636 GB, free: 396 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1668, allocations: 0 / 0.636 GB, free: 396 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1668, allocations: 8 kB / 0.636 GB, free: 388 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.1668, allocations: 0 / 0.636 GB, free: 388 kB / 478.1 MB 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.001653/0.1685, allocations: 0.8703 MB / 0.6369 GB, free: 15.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1686, allocations: 8.031 kB / 0.6369 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.1687, allocations: 48.47 kB / 0.6369 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.1692, allocations: 314.2 kB / 0.6372 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.1692, allocations: 20.36 kB / 0.6372 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.1694, allocations: 20.38 kB / 0.6373 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.1708, allocations: 214 kB / 0.6375 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1708, allocations: 192 / 0.6375 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/0.1709, allocations: 11.94 kB / 0.6375 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.1709, allocations: 0 / 0.6375 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.172, allocations: 99.92 kB / 0.6376 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005602/0.1726, allocations: 393.2 kB / 0.638 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.174, allocations: 174.4 kB / 0.6381 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.1751, allocations: 112.8 kB / 0.6382 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.1752, allocations: 4.375 kB / 0.6382 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001245/0.1764, allocations: 223.1 kB / 0.6384 GB, free: 13.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 4.028e-06/0.1764, allocations: 3.984 kB / 0.6384 GB, free: 13.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.003543/0.18, allocations: 491.2 kB / 0.6389 GB, free: 13.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.18, allocations: 63.33 kB / 0.639 GB, free: 13.13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.1806, allocations: 409.9 kB / 0.6394 GB, free: 12.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.711e-05/0.1807, allocations: 41.69 kB / 0.6394 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.905e-05/0.1808, allocations: 101.4 kB / 0.6395 GB, free: 12.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.1809, allocations: 35.47 kB / 0.6395 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/0.1811, allocations: 129.2 kB / 0.6397 GB, free: 12.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1813, allocations: 330.8 kB / 0.64 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.1816, allocations: 115.9 kB / 0.6401 GB, free: 11.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/0.1821, allocations: 177.9 kB / 0.6403 GB, free: 11.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.1826, allocations: 275.1 kB / 0.6405 GB, free: 11.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1827, allocations: 0 / 0.6405 GB, free: 11.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001153/0.1838, allocations: 495.2 kB / 0.641 GB, free: 10.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.1839, allocations: 91.5 kB / 0.6411 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.184, allocations: 8 kB / 0.6411 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.184, allocations: 4 kB / 0.6411 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.1842, allocations: 19.92 kB / 0.6411 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.1842, allocations: 4 kB / 0.6411 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006495/0.1849, allocations: 51.86 kB / 0.6412 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.185, allocations: 63.97 kB / 0.6412 GB, free: 10.71 MB / 494.1 MB 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.0002864/0.1853, allocations: 197.7 kB / 0.6414 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.761e-05/0.1854, allocations: 39.47 kB / 0.6414 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.585e-05/0.1855, allocations: 39.73 kB / 0.6415 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1855, allocations: 4 kB / 0.6415 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1855, allocations: 0 / 0.6415 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1855, allocations: 0 / 0.6415 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/0.1885, allocations: 0.756 MB / 0.6422 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1885, allocations: 0 / 0.6422 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.694e-05/0.1886, allocations: 7.984 kB / 0.6422 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1886, allocations: 0 / 0.6422 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/0.1886, allocations: 23.98 kB / 0.6423 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.1886, allocations: 0 / 0.6423 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1886, allocations: 0 / 0.6423 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.191, allocations: 485.5 kB / 0.6427 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.1914, allocations: 196.5 kB / 0.6429 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.793e-05/0.1916, allocations: 15.98 kB / 0.6429 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006384/0.1922, allocations: 31.97 kB / 0.643 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1923, allocations: 7.984 kB / 0.643 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-05/0.1923, allocations: 59.97 kB / 0.643 GB, free: 8.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003921/0.1927, allocations: 295.1 kB / 0.6433 GB, free: 8.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1928, allocations: 0 / 0.6433 GB, free: 8.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005736/0.1933, allocations: 64 kB / 0.6434 GB, free: 8.418 MB / 494.1 MB 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.0001833/0.1935, allocations: 124.9 kB / 0.6435 GB, free: 8.281 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.1954, allocations: 434.5 kB / 0.6439 GB, free: 7.832 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1954, allocations: 4 kB / 0.6439 GB, free: 7.828 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.1964, allocations: 124.2 kB / 0.644 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.1969, allocations: 33.42 kB / 0.6441 GB, free: 7.676 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.1989, allocations: 0.539 MB / 0.6446 GB, free: 7.109 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.1994, allocations: 0.7745 MB / 0.6453 GB, free: 6.309 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.107e-05/0.1995, allocations: 17.08 kB / 0.6453 GB, free: 6.289 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/0.1996, allocations: 23.42 kB / 0.6454 GB, free: 6.266 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1996, allocations: 0 / 0.6454 GB, free: 6.266 MB / 494.1 MB Notification: Performance of Templates: time 0.01371/0.2133, allocations: 5.001 MB / 0.6503 GB, free: 1.172 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile (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)