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.735/1.735, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001412/0.001413, allocations: 184.8 kB / 361.4 MB, free: 6.855 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.847/1.847, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0009005/0.0009005, allocations: 91.28 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.084e-05, allocations: 4 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6374/0.6374, allocations: 115.3 MB / 0.9644 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.8271, allocations: 139.1 MB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.8274, allocations: 67.97 kB / 1.1 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01368/0.8411, allocations: 4.419 MB / 1.105 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8411, allocations: 0 / 1.105 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.8411, allocations: 4 kB / 1.105 GB, free: 12.34 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.0009203/0.8421, allocations: 0.5827 MB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.8421, allocations: 8.031 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.8422, allocations: 32.75 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.8426, allocations: 250.6 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/0.8427, allocations: 5.578 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/0.8428, allocations: 20 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001345/0.8429, allocations: 39.98 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.8432, allocations: 133.5 kB / 1.106 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.8432, allocations: 0 / 1.106 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.8432, allocations: 7.984 kB / 1.106 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.8432, allocations: 4 kB / 1.106 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.8436, allocations: 311.9 kB / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.8438, allocations: 118.7 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.528e-05/0.8439, allocations: 48.84 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.8439, allocations: 4 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003917/0.8443, allocations: 217.3 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.8443, allocations: 0 / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0004191/0.8448, allocations: 209.2 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.8448, allocations: 59.41 kB / 1.107 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.8451, allocations: 242.3 kB / 1.107 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.771e-05/0.8452, allocations: 41.27 kB / 1.107 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.8453, allocations: 85.45 kB / 1.107 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/0.8453, allocations: 39.52 kB / 1.107 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.8454, allocations: 3.984 kB / 1.107 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.8456, allocations: 330.8 kB / 1.107 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.8457, allocations: 80.22 kB / 1.107 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.846, allocations: 138.2 kB / 1.107 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.8461, allocations: 75.69 kB / 1.108 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8462, allocations: 0 / 1.108 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005872/0.8467, allocations: 328.2 kB / 1.108 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-05/0.8468, allocations: 79.38 kB / 1.108 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.8469, allocations: 0 / 1.108 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.8469, allocations: 4 kB / 1.108 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.8471, allocations: 23.92 kB / 1.108 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.8471, allocations: 4 kB / 1.108 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.8475, allocations: 44.06 kB / 1.108 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-05/0.8475, allocations: 59.97 kB / 1.108 GB, free: 8.52 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: 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 () * 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.0001381/0.8477, allocations: 128 kB / 1.108 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.8477, allocations: 27.67 kB / 1.108 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/0.8478, allocations: 26.03 kB / 1.108 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.8478, allocations: 4 kB / 1.108 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.8478, allocations: 2.688 kB / 1.108 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.8478, allocations: 7.984 kB / 1.108 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007006/0.8485, allocations: 0.5158 MB / 1.109 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.8486, allocations: 3.953 kB / 1.109 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.8486, allocations: 8 kB / 1.109 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.8486, allocations: 3.984 kB / 1.109 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.8486, allocations: 11.98 kB / 1.109 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.8487, allocations: 4 kB / 1.109 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.8487, allocations: 0 / 1.109 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.849, allocations: 308.6 kB / 1.109 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.8492, allocations: 160.7 kB / 1.109 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.8492, allocations: 4 kB / 1.109 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.8494, allocations: 11.98 kB / 1.109 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.8495, allocations: 11.98 kB / 1.109 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.8495, allocations: 31.97 kB / 1.109 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001617/0.8497, allocations: 190 kB / 1.109 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8497, allocations: 0 / 1.109 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003177/0.85, allocations: 53.31 kB / 1.11 GB, free: 6.945 MB / 0.7136 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) * 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.0001798/0.8502, allocations: 117.1 kB / 1.11 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004908/0.8507, allocations: 334.7 kB / 1.11 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8507, allocations: 0 / 1.11 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.8508, allocations: 67.92 kB / 1.11 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.8511, allocations: 16.14 kB / 1.11 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005025/0.8516, allocations: 283.9 kB / 1.11 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.8519, allocations: 0.7435 MB / 1.111 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001435/0.8521, allocations: 45.19 kB / 1.111 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.8522, allocations: 31.42 kB / 1.111 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.8522, allocations: 0 / 1.111 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of Templates: time 0.007283/0.8595, allocations: 4.166 MB / 1.115 GB, free: 1.152 MB / 0.7136 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)