Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.668/1.668, allocations: 288.4 MB / 303.7 MB, free: 7.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009153/0.0009152, allocations: 188.4 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.4 MB / 0.631 GB, free: 9.773 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007609/0.0007609, allocations: 86.42 kB / 0.7444 GB, free: 5.684 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005382/0.0005384, allocations: 11.19 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2049, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001755/0.2067, allocations: 1.183 MB / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008818/0.2077, allocations: 404.1 kB / 0.9817 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.939e-05/0.2078, allocations: 3.938 kB / 0.9817 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.407e-05/0.2079, allocations: 3.938 kB / 0.9817 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.208, allocations: 19.86 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000679/0.2087, allocations: 214.7 kB / 0.9819 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.2089, allocations: 239.5 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.209, allocations: 7.984 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.2093, allocations: 219.6 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.2095, allocations: 131.7 kB / 0.9825 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.2096, allocations: 8 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.701e-05/0.2097, allocations: 12 kB / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.2098, allocations: 79.77 kB / 0.9826 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.2099, allocations: 149.1 kB / 0.9827 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.2101, allocations: 199.9 kB / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.2101, allocations: 0 / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2101, allocations: 0 / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2101, allocations: 3.938 kB / 0.9829 GB, free: 24.47 MB / 0.6198 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.0009526/0.2111, allocations: 0.6104 MB / 0.9835 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2111, allocations: 12.03 kB / 0.9835 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.118e-05/0.2112, allocations: 36.66 kB / 0.9835 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.2114, allocations: 263.5 kB / 0.9838 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.2115, allocations: 12.38 kB / 0.9838 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.2115, allocations: 16.36 kB / 0.9838 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.2118, allocations: 146.1 kB / 0.984 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2118, allocations: 4.125 kB / 0.984 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.2118, allocations: 3.938 kB / 0.984 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2118, allocations: 4 kB / 0.984 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.2119, allocations: 43.97 kB / 0.984 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.2122, allocations: 321.3 kB / 0.9843 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.2124, allocations: 134.6 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.2125, allocations: 52.84 kB / 0.9845 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.2125, allocations: 7.984 kB / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003918/0.2129, allocations: 221.8 kB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.213, allocations: 0 / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004602/0.2134, allocations: 273.1 kB / 0.985 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.2135, allocations: 59.41 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.2137, allocations: 290.9 kB / 0.9853 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.2137, allocations: 41.69 kB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.2137, allocations: 93.14 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.2138, allocations: 43.44 kB / 0.9855 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.2138, allocations: 8 kB / 0.9855 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.2139, allocations: 326.8 kB / 0.9858 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.2141, allocations: 96.11 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.2143, allocations: 152.3 kB / 0.986 GB, free: 21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.2145, allocations: 240.5 kB / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2146, allocations: 4 kB / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005376/0.2151, allocations: 416.5 kB / 0.9867 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.2152, allocations: 76.8 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2152, allocations: 3.984 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2152, allocations: 4 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.2154, allocations: 32.03 kB / 0.9868 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2154, allocations: 8 kB / 0.9868 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/0.2158, allocations: 71.73 kB / 0.9868 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.749e-05/0.2159, allocations: 51.98 kB / 0.9869 GB, free: 20.05 MB / 0.6198 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.0001317/0.216, allocations: 173.8 kB / 0.9871 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.2161, allocations: 31.69 kB / 0.9871 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.2161, allocations: 26.25 kB / 0.9871 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2161, allocations: 7.938 kB / 0.9871 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2162, allocations: 0 / 0.9871 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2162, allocations: 0 / 0.9871 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006079/0.2168, allocations: 0.5567 MB / 0.9877 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.2168, allocations: 7.938 kB / 0.9877 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.2168, allocations: 15.98 kB / 0.9877 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2168, allocations: 0 / 0.9877 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.2169, allocations: 15.92 kB / 0.9877 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2169, allocations: 0 / 0.9877 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2169, allocations: 0 / 0.9877 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.2172, allocations: 316.2 kB / 0.988 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.2173, allocations: 160.6 kB / 0.9882 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.2174, allocations: 11.98 kB / 0.9882 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.2176, allocations: 19.98 kB / 0.9882 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.2177, allocations: 19.92 kB / 0.9882 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.2177, allocations: 31.97 kB / 0.9882 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000129/0.2178, allocations: 201.9 kB / 0.9884 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2178, allocations: 0 / 0.9884 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002824/0.2181, allocations: 51.98 kB / 0.9885 GB, free: 18.32 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001308/0.2183, allocations: 119.4 kB / 0.9886 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004325/0.2187, allocations: 343.7 kB / 0.9889 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2187, allocations: 0 / 0.9889 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.2189, allocations: 76.98 kB / 0.989 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.2192, allocations: 30.12 kB / 0.989 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005863/0.2198, allocations: 451.2 kB / 0.9895 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.22, allocations: 0.7399 MB / 0.9902 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001337/0.2201, allocations: 37.42 kB / 0.9902 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.2202, allocations: 35.42 kB / 0.9903 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2202, allocations: 0 / 0.9903 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of Templates: time 0.00588/0.2261, allocations: 3.945 MB / 0.9941 GB, free: 12.5 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)