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.464/1.464, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001106/0.001106, allocations: 174.5 kB / 326.5 MB, free: 2.664 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.02/2.02, allocations: 205 MB / 0.5766 GB, free: 20.58 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.0007219/0.0007219, allocations: 82.31 kB / 0.6803 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.0002889, allocations: 8.469 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1906, allocations: 105.4 MB / 0.8967 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001428/0.1921, allocations: 1.218 MB / 0.8979 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008378/0.1929, allocations: 440.2 kB / 0.8983 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.193, allocations: 0 / 0.8983 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.962e-05/0.1931, allocations: 7.922 kB / 0.8983 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.329e-05/0.1932, allocations: 20.3 kB / 0.8984 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.1938, allocations: 230 kB / 0.8986 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.1941, allocations: 283.9 kB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.1941, allocations: 16 kB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.1944, allocations: 210.3 kB / 0.8991 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.1946, allocations: 119.6 kB / 0.8992 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.717e-05/0.1947, allocations: 8 kB / 0.8992 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.522e-05/0.1947, allocations: 12 kB / 0.8992 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.865e-05/0.1948, allocations: 75.77 kB / 0.8993 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.195, allocations: 119.3 kB / 0.8994 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.1951, allocations: 203.6 kB / 0.8996 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1951, allocations: 0 / 0.8996 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1952, allocations: 0 / 0.8996 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.1952, allocations: 4 kB / 0.8996 GB, free: 64.73 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.0008775/0.196, allocations: 0.6103 MB / 0.9002 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1961, allocations: 8.031 kB / 0.9002 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.876e-05/0.1962, allocations: 35.62 kB / 0.9002 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.1965, allocations: 266.2 kB / 0.9005 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.1965, allocations: 11.94 kB / 0.9005 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.83e-05/0.1966, allocations: 23.98 kB / 0.9005 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.1968, allocations: 145.5 kB / 0.9007 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1969, allocations: 0 / 0.9007 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.1969, allocations: 3.984 kB / 0.9007 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1969, allocations: 4 kB / 0.9007 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.197, allocations: 43.97 kB / 0.9007 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.1973, allocations: 321.2 kB / 0.901 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.1976, allocations: 134.7 kB / 0.9011 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1977, allocations: 59.08 kB / 0.9012 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1977, allocations: 384 / 0.9012 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003837/0.1981, allocations: 224 kB / 0.9014 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.1981, allocations: 0 / 0.9014 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004793/0.1986, allocations: 267.7 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1986, allocations: 59.39 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1988, allocations: 294.8 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.1989, allocations: 41.7 kB / 0.902 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.1989, allocations: 93.12 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.199, allocations: 51.44 kB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.1991, allocations: 37.7 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.1991, allocations: 326.8 kB / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.1993, allocations: 96.17 kB / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.1995, allocations: 146.3 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.1997, allocations: 236.7 kB / 0.903 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1998, allocations: 0 / 0.903 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005326/0.2003, allocations: 424.6 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/0.2003, allocations: 75.38 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2004, allocations: 0 / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2004, allocations: 4 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.2005, allocations: 19.98 kB / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2006, allocations: 7.938 kB / 0.9035 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.2011, allocations: 68.05 kB / 0.9036 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.2011, allocations: 55.97 kB / 0.9036 GB, free: 60.28 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.0001374/0.2013, allocations: 173.7 kB / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.2013, allocations: 27.62 kB / 0.9038 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.2014, allocations: 30.25 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2014, allocations: 8 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2014, allocations: 4 kB / 0.9038 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2014, allocations: 3.984 kB / 0.9038 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006082/0.202, allocations: 0.5567 MB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.202, allocations: 4 kB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.2021, allocations: 7.938 kB / 0.9044 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2021, allocations: 3.984 kB / 0.9044 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.2021, allocations: 15.97 kB / 0.9044 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2021, allocations: 3.938 kB / 0.9044 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2021, allocations: 4 kB / 0.9044 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.2024, allocations: 321.2 kB / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.2025, allocations: 160.7 kB / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.2026, allocations: 8 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.2028, allocations: 15.92 kB / 0.9049 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.2029, allocations: 19.97 kB / 0.9049 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.2029, allocations: 27.98 kB / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001268/0.203, allocations: 209.9 kB / 0.9052 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.203, allocations: 0 / 0.9052 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002805/0.2033, allocations: 52 kB / 0.9052 GB, free: 58.55 MB / 0.6042 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 (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.0001041/0.2034, allocations: 117.5 kB / 0.9053 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004273/0.2039, allocations: 346.5 kB / 0.9056 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2039, allocations: 384 / 0.9056 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.204, allocations: 71.97 kB / 0.9057 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.2043, allocations: 22.44 kB / 0.9057 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.205, allocations: 0.4913 MB / 0.9062 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.2052, allocations: 0.7437 MB / 0.9069 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.2053, allocations: 35.41 kB / 0.907 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/0.2053, allocations: 0 / 0.907 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of Templates: time 0.004015/0.2093, allocations: 2.995 MB / 0.9099 GB, free: 53.65 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)