Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001082, allocations: 174.8 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009009/0.0009014, allocations: 89.56 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003996, allocations: 8.281 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2738, allocations: 106.3 MB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001694/0.2756, allocations: 1.214 MB / 0.9026 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009675/0.2766, allocations: 437.2 kB / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.2766, allocations: 0 / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.2767, allocations: 7.922 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.2769, allocations: 24.28 kB / 0.9031 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.2775, allocations: 226.5 kB / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.2778, allocations: 283.9 kB / 0.9036 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.518e-05/0.2779, allocations: 15.94 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.2781, allocations: 210.3 kB / 0.9038 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.2783, allocations: 115.6 kB / 0.9039 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.191e-05/0.2784, allocations: 8 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.809e-05/0.2785, allocations: 12 kB / 0.9039 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.2786, allocations: 79.7 kB / 0.904 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.2787, allocations: 145.1 kB / 0.9041 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.279, allocations: 195.9 kB / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.279, allocations: 4 kB / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.387e-06/0.279, allocations: 0 / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.361e-06/0.279, allocations: 3.938 kB / 0.9043 GB, free: 60.4 MB / 0.6042 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.00101/0.28, allocations: 0.6165 MB / 0.9049 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2801, allocations: 8.031 kB / 0.9049 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.254e-05/0.2802, allocations: 35.62 kB / 0.905 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.2805, allocations: 274.1 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.2805, allocations: 8 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.2806, allocations: 23.98 kB / 0.9052 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.2808, allocations: 141.5 kB / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.2809, allocations: 0 / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.2809, allocations: 4 kB / 0.9054 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2809, allocations: 7.984 kB / 0.9054 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.281, allocations: 43.97 kB / 0.9054 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.2814, allocations: 317.4 kB / 0.9057 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.2816, allocations: 126.7 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.2818, allocations: 60.83 kB / 0.9059 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.2818, allocations: 0 / 0.9059 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000427/0.2822, allocations: 231 kB / 0.9061 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.694e-06/0.2822, allocations: 0 / 0.9061 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005622/0.2828, allocations: 261.2 kB / 0.9064 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.2828, allocations: 63.39 kB / 0.9064 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.2831, allocations: 294.8 kB / 0.9067 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.2831, allocations: 37.7 kB / 0.9068 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.2832, allocations: 101.1 kB / 0.9069 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.2832, allocations: 47.39 kB / 0.9069 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.2833, allocations: 8 kB / 0.9069 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.2834, allocations: 322.8 kB / 0.9072 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.2836, allocations: 100.1 kB / 0.9073 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.2838, allocations: 146.4 kB / 0.9075 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.2841, allocations: 244.5 kB / 0.9077 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2841, allocations: 7.938 kB / 0.9077 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005803/0.2847, allocations: 408.6 kB / 0.9081 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.967e-05/0.2847, allocations: 75.38 kB / 0.9082 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2848, allocations: 4 kB / 0.9082 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.2848, allocations: 4 kB / 0.9082 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.285, allocations: 27.92 kB / 0.9082 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.285, allocations: 0 / 0.9082 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005054/0.2855, allocations: 79.97 kB / 0.9083 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.22e-05/0.2856, allocations: 47.98 kB / 0.9083 GB, free: 55.98 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.2858, allocations: 177.6 kB / 0.9085 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.2858, allocations: 27.62 kB / 0.9085 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.2858, allocations: 34.25 kB / 0.9085 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2859, allocations: 4 kB / 0.9085 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.2859, allocations: 3.984 kB / 0.9085 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2859, allocations: 0 / 0.9085 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000689/0.2866, allocations: 0.5556 MB / 0.9091 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2866, allocations: 0 / 0.9091 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.2866, allocations: 11.98 kB / 0.9091 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2867, allocations: 0 / 0.9091 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.2867, allocations: 19.98 kB / 0.9091 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2867, allocations: 3.938 kB / 0.9091 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2867, allocations: 0 / 0.9091 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.2871, allocations: 319 kB / 0.9094 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.2872, allocations: 152.7 kB / 0.9096 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.2873, allocations: 11.98 kB / 0.9096 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.2875, allocations: 15.94 kB / 0.9096 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.2876, allocations: 27.89 kB / 0.9096 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.2876, allocations: 31.98 kB / 0.9097 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002061/0.2878, allocations: 209.9 kB / 0.9099 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2878, allocations: 0 / 0.9099 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003007/0.2881, allocations: 48 kB / 0.9099 GB, free: 54.25 MB / 0.6042 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 (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.0001404/0.2883, allocations: 109.5 kB / 0.91 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004948/0.2888, allocations: 350.8 kB / 0.9103 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2888, allocations: 4.062 kB / 0.9103 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.2889, allocations: 77.94 kB / 0.9104 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.2893, allocations: 27.86 kB / 0.9104 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007256/0.2901, allocations: 0.4888 MB / 0.9109 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.2903, allocations: 0.7437 MB / 0.9116 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.2904, allocations: 39.42 kB / 0.9117 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of SimCode: time 7.72e-07/0.2904, allocations: 0 / 0.9117 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.004376/0.2948, allocations: 2.993 MB / 0.9146 GB, free: 49.35 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)