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.688/1.688, allocations: 287.5 MB / 302.6 MB, free: 8.32 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.001068/0.001068, allocations: 176.5 kB / 371.2 MB, free: 10.84 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.603/1.603, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0009308/0.0009309, allocations: 97.3 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.000454, allocations: 10.66 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2825, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.00189/0.2844, allocations: 1.186 MB / 0.9798 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009763/0.2854, allocations: 407.2 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.947e-05/0.2856, allocations: 4 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.2857, allocations: 7.922 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.2858, allocations: 15.88 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008423/0.2867, allocations: 210.4 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.2871, allocations: 239.5 kB / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.101e-05/0.2871, allocations: 15.98 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003911/0.2875, allocations: 211.6 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.2878, allocations: 135.7 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.2879, allocations: 12 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.262e-05/0.288, allocations: 8 kB / 0.981 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.2881, allocations: 75.78 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.478e-05/0.2882, allocations: 69.58 kB / 0.9812 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.2884, allocations: 199.9 kB / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.2885, allocations: 0 / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2885, allocations: 0 / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.2885, allocations: 4 kB / 0.9814 GB, free: 25.43 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.001177/0.2897, allocations: 0.6104 MB / 0.982 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.2897, allocations: 12.03 kB / 0.982 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.2899, allocations: 32.64 kB / 0.982 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.2903, allocations: 263.5 kB / 0.9823 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.2903, allocations: 12.36 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/0.2904, allocations: 24.38 kB / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.2907, allocations: 143.6 kB / 0.9824 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2907, allocations: 192 / 0.9824 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.2908, allocations: 11.92 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2908, allocations: 0 / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.2909, allocations: 47.91 kB / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.2912, allocations: 313.3 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.2915, allocations: 130.8 kB / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.2916, allocations: 57.08 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.2917, allocations: 4 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004743/0.2922, allocations: 230.7 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.2922, allocations: 0 / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.000534/0.2927, allocations: 273.1 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.2928, allocations: 59.34 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.293, allocations: 290.9 kB / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.2931, allocations: 37.7 kB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.2931, allocations: 89.14 kB / 0.9839 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.2932, allocations: 51.44 kB / 0.9839 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.2932, allocations: 11.98 kB / 0.984 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.197e-05/0.2933, allocations: 322.8 kB / 0.9843 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.2935, allocations: 92.17 kB / 0.9844 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.2937, allocations: 146.4 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.294, allocations: 242.6 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.294, allocations: 0 / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006144/0.2946, allocations: 419.6 kB / 0.9851 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.512e-05/0.2947, allocations: 71.39 kB / 0.9852 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.2947, allocations: 7.984 kB / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.2947, allocations: 4 kB / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.2949, allocations: 35.84 kB / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.2949, allocations: 4 kB / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.2954, allocations: 71.98 kB / 0.9853 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.149e-05/0.2955, allocations: 51.98 kB / 0.9854 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.0001699/0.2957, allocations: 175 kB / 0.9855 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.2957, allocations: 27.66 kB / 0.9856 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.2958, allocations: 30.25 kB / 0.9856 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2958, allocations: 7.938 kB / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2958, allocations: 0 / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2958, allocations: 0 / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007309/0.2965, allocations: 0.5666 MB / 0.9861 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2966, allocations: 3.938 kB / 0.9861 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.2966, allocations: 4 kB / 0.9862 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2966, allocations: 4 kB / 0.9862 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.2966, allocations: 11.98 kB / 0.9862 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.2967, allocations: 3.984 kB / 0.9862 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2967, allocations: 4 kB / 0.9862 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.297, allocations: 319 kB / 0.9865 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.2972, allocations: 156.6 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.2973, allocations: 12 kB / 0.9866 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.2975, allocations: 11.98 kB / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.2976, allocations: 23.95 kB / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-05/0.2976, allocations: 31.98 kB / 0.9867 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002046/0.2978, allocations: 209.9 kB / 0.9869 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2978, allocations: 0 / 0.9869 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003085/0.2982, allocations: 47.94 kB / 0.987 GB, free: 19.29 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.0001458/0.2983, allocations: 121 kB / 0.9871 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005312/0.2988, allocations: 340.3 kB / 0.9874 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2989, allocations: 384 / 0.9874 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.299, allocations: 71.91 kB / 0.9875 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.2994, allocations: 32.73 kB / 0.9875 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007248/0.3001, allocations: 458.8 kB / 0.9879 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.3003, allocations: 0.736 MB / 0.9886 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.3005, allocations: 37.42 kB / 0.9887 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.3006, allocations: 39.42 kB / 0.9887 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of SimCode: time 3.3e-07/0.3006, allocations: 0 / 0.9887 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.007784/0.3084, allocations: 3.927 MB / 0.9926 GB, free: 13.48 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)