Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.42/2.42, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001334/0.001334, allocations: 177.2 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.503/2.503, allocations: 205.4 MB / 0.5772 GB, free: 20.73 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.0008821/0.0008817, allocations: 88.44 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004776, allocations: 12.25 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2212, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001939/0.2232, allocations: 1.183 MB / 0.9006 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.2244, allocations: 411.1 kB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.2245, allocations: 0 / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.537e-05/0.2246, allocations: 3.938 kB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.2247, allocations: 19.91 kB / 0.9011 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008103/0.2255, allocations: 218.1 kB / 0.9013 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.2258, allocations: 239.5 kB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.2259, allocations: 8 kB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004178/0.2263, allocations: 223.6 kB / 0.9017 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.2266, allocations: 127.7 kB / 0.9018 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.292e-05/0.2267, allocations: 8 kB / 0.9018 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-05/0.2268, allocations: 8 kB / 0.9019 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.2269, allocations: 79.77 kB / 0.9019 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.679e-05/0.227, allocations: 73.52 kB / 0.902 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.2273, allocations: 199.9 kB / 0.9022 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2273, allocations: 4 kB / 0.9022 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2273, allocations: 0 / 0.9022 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2273, allocations: 0 / 0.9022 GB, free: 62.76 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.001295/0.2286, allocations: 0.6142 MB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.2287, allocations: 8.031 kB / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.2288, allocations: 36.56 kB / 0.9028 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.2292, allocations: 255.9 kB / 0.9031 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.2292, allocations: 8.375 kB / 0.9031 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.75e-05/0.2293, allocations: 24.36 kB / 0.9031 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.2297, allocations: 152.1 kB / 0.9033 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2298, allocations: 192 / 0.9033 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.2298, allocations: 7.938 kB / 0.9033 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.2298, allocations: 0 / 0.9033 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.23, allocations: 47.95 kB / 0.9033 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.2305, allocations: 313.3 kB / 0.9036 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.2309, allocations: 138.6 kB / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.2311, allocations: 52.78 kB / 0.9038 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.2311, allocations: 3.984 kB / 0.9038 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000603/0.2318, allocations: 217.8 kB / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.775e-06/0.2318, allocations: 3.938 kB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.000829/0.2326, allocations: 278.4 kB / 0.9043 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.2327, allocations: 55.41 kB / 0.9043 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.233, allocations: 283 kB / 0.9046 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.795e-05/0.2331, allocations: 45.69 kB / 0.9046 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.2331, allocations: 89.14 kB / 0.9047 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.2332, allocations: 47.44 kB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.2333, allocations: 8 kB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.434e-05/0.2334, allocations: 322.8 kB / 0.9051 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.2337, allocations: 92.17 kB / 0.9052 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.2341, allocations: 158.3 kB / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.2344, allocations: 147.4 kB / 0.9055 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.2345, allocations: 0 / 0.9055 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001001/0.2355, allocations: 418.6 kB / 0.9059 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.194e-05/0.2356, allocations: 75.39 kB / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.2356, allocations: 3.984 kB / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.2356, allocations: 4 kB / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.2359, allocations: 31.91 kB / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.2359, allocations: 7.938 kB / 0.906 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008836/0.2368, allocations: 71.86 kB / 0.9061 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.592e-05/0.2369, allocations: 55.98 kB / 0.9061 GB, free: 58.45 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 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002302/0.2372, allocations: 174.8 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.2372, allocations: 23.72 kB / 0.9063 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.617e-05/0.2373, allocations: 30.25 kB / 0.9063 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2373, allocations: 4 kB / 0.9063 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2373, allocations: 7.938 kB / 0.9063 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.2376, allocations: 152.6 kB / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-05/0.2376, allocations: 8 kB / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.238, allocations: 15.98 kB / 0.9065 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.238, allocations: 15.97 kB / 0.9065 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006886/0.2387, allocations: 298.8 kB / 0.9068 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005876/0.2393, allocations: 398.2 kB / 0.9072 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001931/0.2396, allocations: 61.84 kB / 0.9072 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002311/0.2398, allocations: 209.9 kB / 0.9074 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of Backend: time 8.22e-07/0.2398, allocations: 7.875 kB / 0.9074 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009709/0.2408, allocations: 381.1 kB / 0.9078 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009791/0.2418, allocations: 0.8657 MB / 0.9087 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.0102/0.252, allocations: 4.185 MB / 0.9127 GB, free: 51.55 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)