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.001024/0.001025, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001116/0.001116, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.799/1.799, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.001107/0.001107, allocations: 16 kB / 0.6735 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2952, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002031/0.2973, allocations: 1.183 MB / 0.7883 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009761/0.2983, allocations: 404.3 kB / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.2984, allocations: 0 / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.382e-05/0.2984, allocations: 3.938 kB / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.2986, allocations: 27.89 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.2992, allocations: 204.7 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.2995, allocations: 159.7 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.532e-05/0.2995, allocations: 11.98 kB / 0.789 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.2998, allocations: 171.6 kB / 0.7892 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.3, allocations: 131.7 kB / 0.7893 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.3001, allocations: 8 kB / 0.7893 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.827e-05/0.3001, allocations: 12 kB / 0.7893 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.3003, allocations: 75.78 kB / 0.7894 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.3003, allocations: 69.58 kB / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.3006, allocations: 215.7 kB / 0.7897 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3007, allocations: 4 kB / 0.7897 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.977e-06/0.3007, allocations: 0 / 0.7897 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.3007, allocations: 0 / 0.7897 GB, free: 9.316 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.001226/0.3019, allocations: 0.6565 MB / 0.7903 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.302, allocations: 8.031 kB / 0.7903 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.3021, allocations: 31.72 kB / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.3026, allocations: 250.5 kB / 0.7906 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.873e-05/0.3026, allocations: 19.94 kB / 0.7906 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.418e-05/0.3027, allocations: 19.98 kB / 0.7906 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009922/0.3037, allocations: 209.5 kB / 0.7908 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3037, allocations: 0 / 0.7908 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.3038, allocations: 4 kB / 0.7908 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3038, allocations: 4 kB / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007307/0.3045, allocations: 113.3 kB / 0.791 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.305, allocations: 317.3 kB / 0.7913 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.306, allocations: 194.4 kB / 0.7914 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.3061, allocations: 4 kB / 0.7915 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009314/0.307, allocations: 223.1 kB / 0.7917 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.307, allocations: 0 / 0.7917 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002406/0.3094, allocations: 480 kB / 0.7921 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.3095, allocations: 59.41 kB / 0.7922 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.3099, allocations: 294.8 kB / 0.7925 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.3099, allocations: 37.69 kB / 0.7925 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/0.31, allocations: 89.14 kB / 0.7926 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.3101, allocations: 39.53 kB / 0.7926 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.3101, allocations: 8 kB / 0.7926 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3103, allocations: 326.8 kB / 0.7929 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.3105, allocations: 87.94 kB / 0.793 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.3108, allocations: 132.8 kB / 0.7931 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.311, allocations: 150 kB / 0.7933 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.311, allocations: 0 / 0.7933 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006034/0.3116, allocations: 392.6 kB / 0.7937 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.72e-05/0.3117, allocations: 79.38 kB / 0.7937 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3117, allocations: 4 kB / 0.7937 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3117, allocations: 0 / 0.7937 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3119, allocations: 23.92 kB / 0.7938 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.3119, allocations: 7.938 kB / 0.7938 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/0.3124, allocations: 64.05 kB / 0.7938 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.41e-05/0.3125, allocations: 43.98 kB / 0.7939 GB, free: 4.715 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 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0002062/0.3127, allocations: 173.7 kB / 0.794 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.3127, allocations: 43.5 kB / 0.7941 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/0.3128, allocations: 26.3 kB / 0.7941 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.3128, allocations: 4 kB / 0.7941 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.3128, allocations: 0 / 0.7941 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3128, allocations: 0 / 0.7941 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.3149, allocations: 0.7013 MB / 0.7948 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3149, allocations: 0 / 0.7948 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.3149, allocations: 19.92 kB / 0.7948 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3149, allocations: 0 / 0.7948 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.315, allocations: 15.97 kB / 0.7948 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.315, allocations: 0 / 0.7948 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.315, allocations: 0 / 0.7948 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.3166, allocations: 469.4 kB / 0.7953 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.3168, allocations: 168.7 kB / 0.7954 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.138e-05/0.3169, allocations: 8 kB / 0.7954 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/0.3173, allocations: 35.97 kB / 0.7955 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.3173, allocations: 11.92 kB / 0.7955 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.3174, allocations: 47.97 kB / 0.7955 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001803/0.3176, allocations: 205.9 kB / 0.7957 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.242e-06/0.3176, allocations: 4 kB / 0.7957 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003278/0.3179, allocations: 51.94 kB / 0.7958 GB, free: 2.66 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 (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.0001603/0.3181, allocations: 113 kB / 0.7959 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.3192, allocations: 390.5 kB / 0.7963 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3192, allocations: 0 / 0.7963 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006973/0.3199, allocations: 116.3 kB / 0.7964 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.3201, allocations: 28.58 kB / 0.7964 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.3214, allocations: 498.8 kB / 0.7969 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.3217, allocations: 0.7515 MB / 0.7976 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.522e-05/0.3217, allocations: 13.09 kB / 0.7976 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.3218, allocations: 19.42 kB / 0.7976 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.3218, allocations: 0 / 0.7976 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of Templates: time 0.006346/0.3282, allocations: 3.524 MB / 0.8011 GB, free: 13.16 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: