Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.291/1.291, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008667/0.0008668, allocations: 181.8 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205 MB / 0.5767 GB, free: 20.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007513/0.0007512, allocations: 96.47 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003096, allocations: 9.562 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1771, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.00142/0.1786, allocations: 1.214 MB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008194/0.1794, allocations: 440.9 kB / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.1795, allocations: 0 / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.1796, allocations: 7.938 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.443e-05/0.1798, allocations: 20.28 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.1803, allocations: 229.4 kB / 0.8986 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.1806, allocations: 287.9 kB / 0.8989 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.1806, allocations: 11.94 kB / 0.8989 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.1809, allocations: 210.3 kB / 0.8991 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.1811, allocations: 123.5 kB / 0.8992 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.7e-05/0.1812, allocations: 12 kB / 0.8992 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.356e-05/0.1812, allocations: 8 kB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.443e-05/0.1813, allocations: 75.78 kB / 0.8993 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.1814, allocations: 123.3 kB / 0.8994 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.1816, allocations: 271 kB / 0.8997 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1817, allocations: 4 kB / 0.8997 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.684e-06/0.1817, allocations: 0 / 0.8997 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1817, allocations: 0 / 0.8997 GB, free: 65.2 MB / 0.6042 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.0008435/0.1825, allocations: 0.618 MB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1826, allocations: 8.031 kB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.658e-05/0.1827, allocations: 39.62 kB / 0.9003 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.1829, allocations: 262.3 kB / 0.9006 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.1829, allocations: 8 kB / 0.9006 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.183, allocations: 16 kB / 0.9006 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.1832, allocations: 153.4 kB / 0.9007 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1833, allocations: 3.938 kB / 0.9007 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.1833, allocations: 3.938 kB / 0.9007 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1833, allocations: 4 kB / 0.9007 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1834, allocations: 43.97 kB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.1837, allocations: 313.4 kB / 0.9011 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.1839, allocations: 130.7 kB / 0.9012 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.184, allocations: 56.83 kB / 0.9013 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.184, allocations: 0 / 0.9013 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000364/0.1844, allocations: 231 kB / 0.9015 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.1844, allocations: 0 / 0.9015 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004838/0.1849, allocations: 269.1 kB / 0.9017 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.1849, allocations: 63.39 kB / 0.9018 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.1851, allocations: 286.9 kB / 0.9021 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.1852, allocations: 45.7 kB / 0.9021 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.1852, allocations: 93.12 kB / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.1853, allocations: 47.44 kB / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.1853, allocations: 33.7 kB / 0.9023 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.107e-05/0.1854, allocations: 326.8 kB / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.1856, allocations: 96.17 kB / 0.9027 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.1858, allocations: 150.4 kB / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.1861, allocations: 242.4 kB / 0.9031 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1861, allocations: 4 kB / 0.9031 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005618/0.1866, allocations: 407.9 kB / 0.9035 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.473e-05/0.1867, allocations: 75.38 kB / 0.9035 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.1867, allocations: 4 kB / 0.9035 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1867, allocations: 4 kB / 0.9035 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.1869, allocations: 31.86 kB / 0.9036 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.1869, allocations: 4 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/0.1874, allocations: 79.95 kB / 0.9036 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.1875, allocations: 51.92 kB / 0.9037 GB, free: 60.73 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (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,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001424/0.1876, allocations: 169.8 kB / 0.9039 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.1877, allocations: 31.62 kB / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.1877, allocations: 26.25 kB / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1877, allocations: 7.922 kB / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1877, allocations: 0 / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.1879, allocations: 164.6 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/0.188, allocations: 11.94 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.1881, allocations: 11.98 kB / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.1882, allocations: 15.98 kB / 0.9041 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003932/0.1886, allocations: 299.1 kB / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003548/0.189, allocations: 398.3 kB / 0.9048 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001089/0.1891, allocations: 75.84 kB / 0.9048 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001323/0.1892, allocations: 209.9 kB / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of Backend: time 3.91e-07/0.1892, allocations: 4 kB / 0.9051 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006094/0.1898, allocations: 371.1 kB / 0.9054 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007285/0.1906, allocations: 0.8838 MB / 0.9063 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.006266/0.1969, allocations: 4.252 MB / 0.9104 GB, free: 53.73 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)