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.789/1.789, allocations: 288.4 MB / 303.4 MB, free: 8.168 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.0009915/0.0009915, allocations: 180.5 kB / 372 MB, free: 10.25 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.773/1.773, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0008394/0.0008395, allocations: 89.8 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007206/0.0007207, allocations: 11.59 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3038, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001754/0.3056, allocations: 1.183 MB / 0.9807 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008981/0.3066, allocations: 404 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.034e-05/0.3067, allocations: 0 / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.3068, allocations: 3.984 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.3069, allocations: 23.86 kB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000809/0.3078, allocations: 205 kB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.3081, allocations: 243.5 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.266e-05/0.3082, allocations: 8 kB / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.3085, allocations: 211.7 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.3087, allocations: 135.7 kB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.094e-05/0.3088, allocations: 12 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.361e-05/0.3089, allocations: 8 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.958e-05/0.309, allocations: 83.72 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.591e-05/0.3091, allocations: 65.64 kB / 0.9821 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.3093, allocations: 207.8 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3093, allocations: 3.938 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3093, allocations: 0 / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.3093, allocations: 0 / 0.9823 GB, free: 24.88 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.001026/0.3103, allocations: 0.6142 MB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.3104, allocations: 12.02 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.3105, allocations: 35.72 kB / 0.9829 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.3109, allocations: 254.4 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.3109, allocations: 15.98 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.311, allocations: 16 kB / 0.9832 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.3113, allocations: 143.1 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3113, allocations: 0 / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.3113, allocations: 7.984 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.3113, allocations: 7.938 kB / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.3115, allocations: 43.97 kB / 0.9834 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.3118, allocations: 317.4 kB / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.312, allocations: 126.7 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.3122, allocations: 65.14 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3122, allocations: 0 / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004207/0.3126, allocations: 224.1 kB / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.3126, allocations: 0 / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005226/0.3132, allocations: 266.7 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.3132, allocations: 67.39 kB / 0.9844 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.3134, allocations: 294.8 kB / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.3135, allocations: 41.64 kB / 0.9847 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.3135, allocations: 93.12 kB / 0.9848 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.3136, allocations: 43.5 kB / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.3136, allocations: 8 kB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.3137, allocations: 322.8 kB / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.3139, allocations: 96.17 kB / 0.9853 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.3141, allocations: 144.3 kB / 0.9854 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.3143, allocations: 156 kB / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3143, allocations: 4 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006229/0.3149, allocations: 410 kB / 0.9859 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.92e-05/0.315, allocations: 76.47 kB / 0.986 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.315, allocations: 0 / 0.986 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.315, allocations: 4 kB / 0.986 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.3152, allocations: 27.92 kB / 0.986 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3152, allocations: 4 kB / 0.9861 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/0.3157, allocations: 83.84 kB / 0.9861 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.818e-05/0.3158, allocations: 51.98 kB / 0.9862 GB, free: 20.58 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.000162/0.316, allocations: 173.7 kB / 0.9863 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.316, allocations: 27.62 kB / 0.9864 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.3161, allocations: 26.25 kB / 0.9864 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3161, allocations: 15.92 kB / 0.9864 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3161, allocations: 0 / 0.9864 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3161, allocations: 0 / 0.9864 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006583/0.3168, allocations: 0.5606 MB / 0.987 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3168, allocations: 0 / 0.987 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.3168, allocations: 11.98 kB / 0.987 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.3169, allocations: 0 / 0.987 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.3169, allocations: 15.98 kB / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3169, allocations: 0 / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3169, allocations: 4 kB / 0.987 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.3172, allocations: 324.4 kB / 0.9873 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3174, allocations: 152.7 kB / 0.9874 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/0.3174, allocations: 19.98 kB / 0.9875 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.3176, allocations: 11.98 kB / 0.9875 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.3177, allocations: 11.98 kB / 0.9875 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.3177, allocations: 35.97 kB / 0.9875 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000143/0.3179, allocations: 205.9 kB / 0.9877 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3179, allocations: 0 / 0.9877 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002717/0.3182, allocations: 51.98 kB / 0.9878 GB, free: 18.85 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.0001252/0.3183, allocations: 113 kB / 0.9879 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004666/0.3188, allocations: 344.2 kB / 0.9882 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3188, allocations: 0 / 0.9882 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.3189, allocations: 76.27 kB / 0.9883 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.3192, allocations: 32.81 kB / 0.9883 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006091/0.3199, allocations: 454.9 kB / 0.9887 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.3201, allocations: 0.7399 MB / 0.9895 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001293/0.3202, allocations: 37.42 kB / 0.9895 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.3203, allocations: 31.42 kB / 0.9895 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.3203, allocations: 0 / 0.9895 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.006122/0.3264, allocations: 3.936 MB / 0.9934 GB, free: 13.05 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)