Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 195.1 kB / 16.14 MB, free: 6.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 222 MB, free: 5.031 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 66.62 kB / 0.6708 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2153, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002709/0.218, allocations: 1.545 MB / 0.7842 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009491/0.219, allocations: 464.3 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.219, allocations: 0 / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.263e-05/0.2191, allocations: 7.938 kB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.759e-05/0.2192, allocations: 16.3 kB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.2198, allocations: 234.5 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.2201, allocations: 299.9 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.2201, allocations: 8 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.2204, allocations: 218.3 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.2206, allocations: 123.6 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.632e-05/0.2207, allocations: 12 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.907e-05/0.2207, allocations: 8 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.952e-05/0.2208, allocations: 75.78 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.221, allocations: 127.3 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.2213, allocations: 291.3 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2213, allocations: 4 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.71e-07/0.2213, allocations: 0 / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2213, allocations: 0 / 0.786 GB, free: 10.62 MB / 0.6075 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.001026/0.2224, allocations: 0.7421 MB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.2224, allocations: 8.031 kB / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.783e-05/0.2225, allocations: 31.72 kB / 0.7867 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.2228, allocations: 262.3 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.2228, allocations: 12 kB / 0.787 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.2229, allocations: 31.92 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.2239, allocations: 193.5 kB / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2239, allocations: 3.938 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.224, allocations: 0 / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.224, allocations: 4 kB / 0.7872 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008117/0.2248, allocations: 99.92 kB / 0.7873 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.2251, allocations: 317.3 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.2262, allocations: 166.5 kB / 0.7878 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007536/0.227, allocations: 117.1 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.227, allocations: 4 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009682/0.228, allocations: 219.1 kB / 0.7881 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.228, allocations: 0 / 0.7881 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002571/0.2306, allocations: 452.1 kB / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.2306, allocations: 63.39 kB / 0.7886 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.2309, allocations: 298.8 kB / 0.7889 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.2309, allocations: 37.69 kB / 0.7889 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.231, allocations: 89.14 kB / 0.789 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.2311, allocations: 39.48 kB / 0.789 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.2312, allocations: 101.4 kB / 0.7891 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2313, allocations: 326.8 kB / 0.7894 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.2315, allocations: 83.94 kB / 0.7895 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.2317, allocations: 140.8 kB / 0.7897 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.2321, allocations: 236 kB / 0.7899 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2321, allocations: 0 / 0.7899 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006534/0.2327, allocations: 396.8 kB / 0.7903 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.627e-05/0.2328, allocations: 79.31 kB / 0.7903 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2328, allocations: 0 / 0.7903 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2328, allocations: 4 kB / 0.7903 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.233, allocations: 23.92 kB / 0.7904 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.233, allocations: 4 kB / 0.7904 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.2335, allocations: 51.86 kB / 0.7904 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.099e-05/0.2336, allocations: 44.02 kB / 0.7905 GB, free: 5.688 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0001722/0.2338, allocations: 169.7 kB / 0.7906 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.2338, allocations: 31.64 kB / 0.7906 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/0.2339, allocations: 30.3 kB / 0.7907 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.2339, allocations: 3.938 kB / 0.7907 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2339, allocations: 0 / 0.7907 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2339, allocations: 0 / 0.7907 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.236, allocations: 0.6972 MB / 0.7914 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.236, allocations: 4 kB / 0.7914 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.236, allocations: 3.984 kB / 0.7914 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2361, allocations: 4 kB / 0.7914 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.2361, allocations: 15.97 kB / 0.7914 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2361, allocations: 4 kB / 0.7914 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2361, allocations: 0 / 0.7914 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.2378, allocations: 457.9 kB / 0.7918 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.238, allocations: 160.7 kB / 0.792 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/0.2381, allocations: 12 kB / 0.792 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.2385, allocations: 31.97 kB / 0.792 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.2386, allocations: 7.984 kB / 0.792 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.035e-05/0.2386, allocations: 43.97 kB / 0.7921 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001777/0.2388, allocations: 213.9 kB / 0.7923 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.2388, allocations: 0 / 0.7923 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003298/0.2392, allocations: 51.94 kB / 0.7923 GB, free: 3.676 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$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.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0001422/0.2393, allocations: 113 kB / 0.7924 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001156/0.2405, allocations: 382.5 kB / 0.7928 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2405, allocations: 0 / 0.7928 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007909/0.2413, allocations: 124.2 kB / 0.7929 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.2416, allocations: 28.56 kB / 0.7929 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.243, allocations: 0.4989 MB / 0.7934 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.2433, allocations: 0.7399 MB / 0.7942 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001266/0.2434, allocations: 17.08 kB / 0.7942 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.2434, allocations: 15.44 kB / 0.7942 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2434, allocations: 0 / 0.7942 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of Templates: time 0.006549/0.25, allocations: 3.617 MB / 0.7977 GB, free: 14.09 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)