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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.569/1.569, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.0009691/0.000969, allocations: 168.9 kB / 366.7 MB, free: 1.664 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.472/1.472, allocations: 205.2 MB / 0.626 GB, free: 7.203 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009249/0.000925, allocations: 86.62 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.371e-05/1.373e-05, allocations: 0 / 0.8597 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6301/0.6302, allocations: 116.3 MB / 0.9732 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.8178, allocations: 140.9 MB / 1.111 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/0.818, allocations: 67.97 kB / 1.111 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01473/0.8328, allocations: 4.531 MB / 1.115 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8328, allocations: 0 / 1.115 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.8329, allocations: 4 kB / 1.115 GB, free: 4.801 MB / 0.7136 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.0009209/0.8338, allocations: 0.6289 MB / 1.116 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.8338, allocations: 8.031 kB / 1.116 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.834, allocations: 29.12 kB / 1.116 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.8343, allocations: 258.5 kB / 1.116 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.8344, allocations: 8 kB / 1.116 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.8345, allocations: 19.98 kB / 1.116 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001211/0.8346, allocations: 39.98 kB / 1.116 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.8348, allocations: 145.5 kB / 1.116 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.8349, allocations: 4 kB / 1.116 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.8349, allocations: 3.984 kB / 1.116 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.8349, allocations: 4 kB / 1.116 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.8353, allocations: 297.9 kB / 1.117 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.8355, allocations: 114.6 kB / 1.117 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.471e-05/0.8356, allocations: 52.84 kB / 1.117 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.8356, allocations: 4 kB / 1.117 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002328/0.8359, allocations: 156.1 kB / 1.117 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.8359, allocations: 0 / 1.117 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004809/0.8364, allocations: 254.1 kB / 1.117 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.8364, allocations: 59.41 kB / 1.117 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.8367, allocations: 238.3 kB / 1.118 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.031e-05/0.8368, allocations: 37.69 kB / 1.118 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.8369, allocations: 93.45 kB / 1.118 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.8369, allocations: 35.59 kB / 1.118 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.837, allocations: 0 / 1.118 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.8371, allocations: 326.8 kB / 1.118 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.8373, allocations: 71.98 kB / 1.118 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.8375, allocations: 126 kB / 1.118 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.8377, allocations: 77.94 kB / 1.118 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.8377, allocations: 3.953 kB / 1.118 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00055/0.8382, allocations: 297.2 kB / 1.119 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.119e-05/0.8383, allocations: 76.67 kB / 1.119 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.8383, allocations: 7.938 kB / 1.119 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.8384, allocations: 4 kB / 1.119 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.8385, allocations: 19.94 kB / 1.119 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.8386, allocations: 13.05 kB / 1.119 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.8389, allocations: 35.83 kB / 1.119 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/0.839, allocations: 43.98 kB / 1.119 GB, free: 1.008 MB / 0.7136 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 () * 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.00014/0.8391, allocations: 124.1 kB / 1.119 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.8392, allocations: 23.72 kB / 1.119 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/0.8392, allocations: 26.08 kB / 1.119 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.8392, allocations: 4 kB / 1.119 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.8393, allocations: 3.953 kB / 1.119 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8393, allocations: 0 / 1.119 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000745/0.84, allocations: 0.5573 MB / 1.119 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.84, allocations: 0 / 1.119 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.8401, allocations: 11.98 kB / 1.119 GB, free: 216 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.8401, allocations: 4 kB / 1.119 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.8401, allocations: 21.28 kB / 1.12 GB, free: 192 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.8401, allocations: 3.953 kB / 1.12 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.8402, allocations: 3.938 kB / 1.12 GB, free: 184 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.8406, allocations: 332.4 kB / 1.12 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.8408, allocations: 164.6 kB / 1.12 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.627e-05/0.8408, allocations: 8 kB / 1.12 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.8413, allocations: 35.97 kB / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.8413, allocations: 11.94 kB / 1.12 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.494e-05/0.8414, allocations: 43.97 kB / 1.12 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001792/0.8416, allocations: 194 kB / 1.12 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8416, allocations: 0 / 1.12 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003383/0.8419, allocations: 44 kB / 1.12 GB, free: 15.33 MB / 0.7292 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) * 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.0001707/0.8421, allocations: 130.3 kB / 1.12 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004629/0.8426, allocations: 314.6 kB / 1.121 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8426, allocations: 5.781 kB / 1.121 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.8427, allocations: 59.92 kB / 1.121 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.843, allocations: 22.48 kB / 1.121 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.8435, allocations: 274.3 kB / 1.121 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.8438, allocations: 0.7396 MB / 1.122 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.471e-05/0.8439, allocations: 12.77 kB / 1.122 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.8439, allocations: 19.44 kB / 1.122 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.844, allocations: 0 / 1.122 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of Templates: time 0.007451/0.8514, allocations: 3.8 MB / 1.126 GB, free: 9.957 MB / 0.7292 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)