Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.166/2.166, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001463, allocations: 180.7 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.443/2.443, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001236/0.001235, allocations: 105.5 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005044/0.0005044, allocations: 9.469 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2077, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2258/0.4336, allocations: 133.4 MB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.4339, allocations: 67.97 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02317/0.4571, allocations: 4.455 MB / 1.034 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4572, allocations: 4 kB / 1.034 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.839e-05/0.4572, allocations: 4 kB / 1.034 GB, free: 7.391 MB / 0.6823 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.001393/0.4586, allocations: 0.6259 MB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.4587, allocations: 8.031 kB / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.4588, allocations: 35.7 kB / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.4593, allocations: 254.4 kB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.806e-05/0.4594, allocations: 8 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.4595, allocations: 20 kB / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/0.46, allocations: 145.5 kB / 1.035 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.46, allocations: 0 / 1.035 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.4601, allocations: 7.984 kB / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4601, allocations: 0 / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.4603, allocations: 43.97 kB / 1.035 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.4609, allocations: 341.2 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.4614, allocations: 138.6 kB / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.4615, allocations: 4 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006414/0.4621, allocations: 212.1 kB / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 3.306e-06/0.4621, allocations: 4 kB / 1.035 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.001031/0.4632, allocations: 263.5 kB / 1.036 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.4633, allocations: 67.31 kB / 1.036 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.4637, allocations: 250.1 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.4638, allocations: 41.7 kB / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.517e-05/0.4639, allocations: 89.12 kB / 1.036 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/0.464, allocations: 51.44 kB / 1.036 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.4641, allocations: 4 kB / 1.036 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.4643, allocations: 330.8 kB / 1.036 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/0.4648, allocations: 100.2 kB / 1.036 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.4653, allocations: 158.3 kB / 1.037 GB, free: 3.988 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004531/0.4658, allocations: 152.1 kB / 1.037 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.4658, allocations: 0 / 1.037 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001366/0.4672, allocations: 425.1 kB / 1.037 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.4673, allocations: 75.38 kB / 1.037 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.4673, allocations: 0 / 1.037 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.4674, allocations: 4 kB / 1.037 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.4676, allocations: 23.92 kB / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.4677, allocations: 4.188 kB / 1.037 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006558/0.4683, allocations: 51.81 kB / 1.037 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.4685, allocations: 55.98 kB / 1.037 GB, free: 3.172 MB / 0.6823 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.0003442/0.4688, allocations: 177.6 kB / 1.038 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.4689, allocations: 23.72 kB / 1.038 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.963e-05/0.469, allocations: 38.25 kB / 1.038 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.469, allocations: 0 / 1.038 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.469, allocations: 0 / 1.038 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.469, allocations: 0 / 1.038 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.4703, allocations: 0.5581 MB / 1.038 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4703, allocations: 4 kB / 1.038 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.714e-05/0.4704, allocations: 11.98 kB / 1.038 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.4705, allocations: 3.938 kB / 1.038 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.4705, allocations: 11.98 kB / 1.038 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.4705, allocations: 4 kB / 1.038 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.4705, allocations: 0 / 1.038 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007165/0.4713, allocations: 324.6 kB / 1.038 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.4716, allocations: 148.8 kB / 1.039 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.08e-05/0.4717, allocations: 15.97 kB / 1.039 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.472, allocations: 8 kB / 1.039 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.57e-05/0.4721, allocations: 23.91 kB / 1.039 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.565e-05/0.4722, allocations: 31.98 kB / 1.039 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003255/0.4725, allocations: 209.9 kB / 1.039 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4725, allocations: 0 / 1.039 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005742/0.4731, allocations: 59.98 kB / 1.039 GB, free: 1.441 MB / 0.6823 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.0002259/0.4733, allocations: 111.5 kB / 1.039 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.4745, allocations: 354.7 kB / 1.039 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.4745, allocations: 384 / 1.039 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.4748, allocations: 79.89 kB / 1.039 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.4752, allocations: 25.77 kB / 1.039 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.4764, allocations: 439.4 kB / 1.04 GB, free: 400 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.4769, allocations: 0.7515 MB / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002673/0.4772, allocations: 41.08 kB / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.4774, allocations: 31.42 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/0.4774, allocations: 0 / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of Templates: time 0.01334/0.4907, allocations: 4.351 MB / 1.045 GB, free: 11.2 MB / 0.698 GB