Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.593/1.593, allocations: 287.4 MB / 303.2 MB, free: 8.273 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.00104/0.00104, allocations: 184.7 kB / 371.8 MB, free: 10.83 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.404/1.404, allocations: 205.4 MB / 0.6304 GB, free: 10.57 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.0007661/0.0007662, allocations: 96.27 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003728, allocations: 11.12 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1897, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001521/0.1913, allocations: 1.179 MB / 0.9804 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007305/0.192, allocations: 403.2 kB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.1921, allocations: 0 / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.335e-05/0.1922, allocations: 7.922 kB / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.307e-05/0.1923, allocations: 15.92 kB / 0.9808 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005057/0.1928, allocations: 221.2 kB / 0.981 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.193, allocations: 243.5 kB / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.193, allocations: 11.98 kB / 0.9813 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.1933, allocations: 219.6 kB / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.1935, allocations: 131.7 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.691e-05/0.1936, allocations: 8 kB / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.626e-05/0.1936, allocations: 8 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.969e-05/0.1937, allocations: 79.78 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.543e-05/0.1938, allocations: 65.58 kB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.1939, allocations: 203.9 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1939, allocations: 4 kB / 0.982 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1939, allocations: 0 / 0.982 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.1939, allocations: 0 / 0.982 GB, free: 25.42 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.0007966/0.1948, allocations: 0.6166 MB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1948, allocations: 8.031 kB / 0.9826 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.671e-05/0.1949, allocations: 32.64 kB / 0.9826 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1951, allocations: 263.5 kB / 0.9829 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.1951, allocations: 20.3 kB / 0.9829 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.1952, allocations: 16.38 kB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.1954, allocations: 147.2 kB / 0.983 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1954, allocations: 192 / 0.983 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.1955, allocations: 7.922 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.1955, allocations: 0 / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1956, allocations: 43.98 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002247/0.1958, allocations: 309.3 kB / 0.9834 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.1961, allocations: 138.8 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.1962, allocations: 57.08 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1962, allocations: 11.98 kB / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003909/0.1966, allocations: 220 kB / 0.9838 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.1966, allocations: 0 / 0.9838 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004736/0.1971, allocations: 271.6 kB / 0.9841 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.1971, allocations: 59.41 kB / 0.9841 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.1973, allocations: 286.9 kB / 0.9844 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.1974, allocations: 45.7 kB / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.1974, allocations: 89.14 kB / 0.9845 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.1975, allocations: 51.38 kB / 0.9846 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.1975, allocations: 11.98 kB / 0.9846 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.352e-05/0.1976, allocations: 322.8 kB / 0.9849 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.1978, allocations: 84.19 kB / 0.985 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.198, allocations: 154.4 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.1982, allocations: 233.3 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1982, allocations: 4 kB / 0.9853 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005557/0.1988, allocations: 419.5 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.1989, allocations: 75.39 kB / 0.9858 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1989, allocations: 4 kB / 0.9858 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1989, allocations: 0 / 0.9858 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.1991, allocations: 31.91 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1991, allocations: 3.938 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000465/0.1995, allocations: 75.98 kB / 0.9859 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.1996, allocations: 51.98 kB / 0.986 GB, free: 21.02 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.0001431/0.1998, allocations: 171 kB / 0.9861 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.1998, allocations: 31.66 kB / 0.9862 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5e-05/0.1999, allocations: 34.25 kB / 0.9862 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1999, allocations: 0 / 0.9862 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1999, allocations: 3.938 kB / 0.9862 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.2, allocations: 156.6 kB / 0.9863 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.2001, allocations: 11.98 kB / 0.9864 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.2003, allocations: 19.92 kB / 0.9864 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.2003, allocations: 11.98 kB / 0.9864 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003821/0.2007, allocations: 295.1 kB / 0.9867 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003342/0.201, allocations: 402.2 kB / 0.987 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001098/0.2012, allocations: 63.97 kB / 0.9871 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001406/0.2013, allocations: 205.9 kB / 0.9873 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of Backend: time 6.41e-07/0.2013, allocations: 4 kB / 0.9873 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000602/0.2019, allocations: 374.5 kB / 0.9877 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0006501/0.2026, allocations: 0.8696 MB / 0.9885 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of Templates: time 0.00612/0.2087, allocations: 4.172 MB / 0.9926 GB, free: 14.11 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)