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.001163/0.001163, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 186.3 kB / 16.64 MB, free: 6.594 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.329/1.329, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.761/1.761, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001408/0.001408, allocations: 64.86 kB / 0.6722 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2007, allocations: 114.6 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002451/0.2032, allocations: 1.486 MB / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008688/0.204, allocations: 423.3 kB / 0.786 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.2041, allocations: 8 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.381e-05/0.2042, allocations: 11.88 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.819e-05/0.2043, allocations: 24.22 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006192/0.2049, allocations: 246.6 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.2053, allocations: 335.4 kB / 0.7866 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.2053, allocations: 7.984 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.2056, allocations: 195.7 kB / 0.7868 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.2058, allocations: 120.1 kB / 0.7869 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.232e-05/0.2059, allocations: 20 kB / 0.7869 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.958e-05/0.2059, allocations: 20 kB / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.206, allocations: 79.72 kB / 0.787 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.2062, allocations: 127.4 kB / 0.7871 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.2064, allocations: 291.1 kB / 0.7874 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2064, allocations: 0 / 0.7874 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2064, allocations: 0 / 0.7874 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2065, allocations: 0 / 0.7874 GB, free: 9.418 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.0009893/0.2075, allocations: 0.7461 MB / 0.7881 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.2075, allocations: 12.03 kB / 0.7881 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.349e-05/0.2076, allocations: 28.66 kB / 0.7882 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.2079, allocations: 263.6 kB / 0.7884 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.2079, allocations: 12.38 kB / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.208, allocations: 19.94 kB / 0.7884 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000893/0.2089, allocations: 208.6 kB / 0.7886 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2089, allocations: 0 / 0.7886 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.2089, allocations: 8 kB / 0.7886 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2089, allocations: 0 / 0.7886 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006947/0.2096, allocations: 91.92 kB / 0.7887 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.21, allocations: 321.2 kB / 0.789 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009446/0.2109, allocations: 174.4 kB / 0.7892 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006749/0.2116, allocations: 112.8 kB / 0.7893 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.2116, allocations: 7.922 kB / 0.7893 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008359/0.2125, allocations: 207.1 kB / 0.7895 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.2125, allocations: 0 / 0.7895 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002274/0.2148, allocations: 443.9 kB / 0.7899 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.2148, allocations: 67.39 kB / 0.79 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.2151, allocations: 294.9 kB / 0.7903 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.2151, allocations: 33.7 kB / 0.7903 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.2152, allocations: 97.12 kB / 0.7904 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.2152, allocations: 43.47 kB / 0.7905 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.2154, allocations: 93.48 kB / 0.7905 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2155, allocations: 322.8 kB / 0.7909 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.2157, allocations: 83.89 kB / 0.7909 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.2159, allocations: 134 kB / 0.7911 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.2162, allocations: 237.3 kB / 0.7913 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2162, allocations: 3.938 kB / 0.7913 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006179/0.2168, allocations: 398.9 kB / 0.7917 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.764e-05/0.2169, allocations: 71.39 kB / 0.7917 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2169, allocations: 7.984 kB / 0.7917 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2169, allocations: 4 kB / 0.7917 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.2171, allocations: 24.11 kB / 0.7918 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2171, allocations: 8 kB / 0.7918 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.2175, allocations: 51.86 kB / 0.7918 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/0.2176, allocations: 39.98 kB / 0.7919 GB, free: 4.488 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.0001661/0.2178, allocations: 184.9 kB / 0.792 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.2178, allocations: 23.72 kB / 0.7921 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.627e-05/0.2179, allocations: 34.3 kB / 0.7921 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2179, allocations: 0 / 0.7921 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2179, allocations: 3.938 kB / 0.7921 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2179, allocations: 0 / 0.7921 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.2198, allocations: 0.6935 MB / 0.7928 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2198, allocations: 0 / 0.7928 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.2199, allocations: 8 kB / 0.7928 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.2199, allocations: 4 kB / 0.7928 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.2199, allocations: 15.97 kB / 0.7928 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2199, allocations: 0 / 0.7928 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2199, allocations: 0 / 0.7928 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.2215, allocations: 447.4 kB / 0.7932 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.2217, allocations: 164.6 kB / 0.7934 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.062e-05/0.2217, allocations: 8 kB / 0.7934 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/0.2222, allocations: 31.95 kB / 0.7934 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.2222, allocations: 15.94 kB / 0.7934 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.384e-05/0.2223, allocations: 43.91 kB / 0.7935 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001806/0.2225, allocations: 217.9 kB / 0.7937 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2225, allocations: 0 / 0.7937 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003043/0.2228, allocations: 48 kB / 0.7937 GB, free: 2.473 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.0001272/0.2229, allocations: 117 kB / 0.7938 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.224, allocations: 381.5 kB / 0.7942 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.224, allocations: 0 / 0.7942 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007081/0.2247, allocations: 111.9 kB / 0.7943 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.225, allocations: 32.78 kB / 0.7944 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.2262, allocations: 437 kB / 0.7948 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.2265, allocations: 0.7396 MB / 0.7955 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.879e-05/0.2266, allocations: 13.08 kB / 0.7955 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.2266, allocations: 15.44 kB / 0.7955 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of SimCode: time 1.763e-06/0.2266, allocations: 0 / 0.7955 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of Templates: time 0.006448/0.2331, allocations: 3.656 MB / 0.7991 GB, free: 12.94 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)