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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009353/0.0009353, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.209/1.209, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.374/1.374, allocations: 251.7 MB / 0.5092 GB, free: 3.141 MB / 414.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.001296/0.001296, allocations: 75.89 kB / 0.6223 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3696, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002361/0.3719, allocations: 1.495 MB / 0.726 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008061/0.3728, allocations: 415.3 kB / 0.7264 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.3728, allocations: 0 / 0.7264 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.606e-05/0.3729, allocations: 11.86 kB / 0.7264 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.345e-05/0.373, allocations: 24.23 kB / 0.7264 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005635/0.3736, allocations: 239.5 kB / 0.7266 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.3739, allocations: 307.5 kB / 0.7269 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.3739, allocations: 7.984 kB / 0.7269 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.3741, allocations: 195.7 kB / 0.7271 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.3743, allocations: 100.1 kB / 0.7272 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.794e-05/0.3744, allocations: 16 kB / 0.7272 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.547e-05/0.3745, allocations: 24 kB / 0.7272 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.3746, allocations: 79.72 kB / 0.7273 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.3747, allocations: 127.4 kB / 0.7274 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.375, allocations: 285.1 kB / 0.7277 GB, free: 9.625 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.375, allocations: 3.984 kB / 0.7277 GB, free: 9.621 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.375, allocations: 0 / 0.7277 GB, free: 9.621 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.375, allocations: 4 kB / 0.7277 GB, free: 9.617 MB / 0.545 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.00103/0.376, allocations: 0.692 MB / 0.7284 GB, free: 8.852 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.3761, allocations: 12.03 kB / 0.7284 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.776e-05/0.3762, allocations: 36.62 kB / 0.7284 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.3764, allocations: 259.5 kB / 0.7287 GB, free: 8.516 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.3765, allocations: 16.36 kB / 0.7287 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-05/0.3765, allocations: 31.88 kB / 0.7287 GB, free: 8.469 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.3768, allocations: 142.5 kB / 0.7289 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3768, allocations: 0 / 0.7289 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.3769, allocations: 7.984 kB / 0.7289 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3769, allocations: 0 / 0.7289 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.377, allocations: 47.98 kB / 0.7289 GB, free: 8.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.3773, allocations: 317.3 kB / 0.7292 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.3776, allocations: 130.6 kB / 0.7293 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.3777, allocations: 60.83 kB / 0.7294 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.3777, allocations: 0 / 0.7294 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004048/0.3781, allocations: 226.1 kB / 0.7296 GB, free: 7.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.3781, allocations: 0 / 0.7296 GB, free: 7.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005319/0.3787, allocations: 265.2 kB / 0.7299 GB, free: 7.215 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.3787, allocations: 63.41 kB / 0.7299 GB, free: 7.141 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.379, allocations: 291 kB / 0.7302 GB, free: 6.844 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.379, allocations: 37.7 kB / 0.7302 GB, free: 6.801 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.3791, allocations: 89.14 kB / 0.7303 GB, free: 6.711 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.3791, allocations: 47.44 kB / 0.7304 GB, free: 6.664 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.3793, allocations: 109.6 kB / 0.7305 GB, free: 6.547 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3794, allocations: 326.8 kB / 0.7308 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.3796, allocations: 92.17 kB / 0.7309 GB, free: 6.129 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.3798, allocations: 150.4 kB / 0.731 GB, free: 5.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.3802, allocations: 247.8 kB / 0.7313 GB, free: 5.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3802, allocations: 0 / 0.7313 GB, free: 5.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006406/0.3808, allocations: 414.9 kB / 0.7317 GB, free: 5.266 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.187e-05/0.3809, allocations: 80 kB / 0.7317 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.3809, allocations: 0 / 0.7317 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3809, allocations: 4 kB / 0.7317 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.3811, allocations: 28.11 kB / 0.7318 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.3811, allocations: 7.984 kB / 0.7318 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/0.3816, allocations: 59.8 kB / 0.7318 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.3817, allocations: 55.98 kB / 0.7319 GB, free: 5.023 MB / 0.545 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.year,$whenCondition3,$whenCondition4) * 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.0001982/0.3819, allocations: 169.7 kB / 0.732 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.3819, allocations: 39.55 kB / 0.7321 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.382, allocations: 26.25 kB / 0.7321 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.382, allocations: 7.984 kB / 0.7321 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.382, allocations: 0 / 0.7321 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.382, allocations: 0 / 0.7321 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006988/0.3827, allocations: 0.5629 MB / 0.7327 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3827, allocations: 4 kB / 0.7327 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.3828, allocations: 15.92 kB / 0.7327 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.3828, allocations: 4 kB / 0.7327 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.3828, allocations: 11.98 kB / 0.7327 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3828, allocations: 0 / 0.7327 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3828, allocations: 4 kB / 0.7327 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.3832, allocations: 318.9 kB / 0.733 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.3834, allocations: 156.7 kB / 0.7332 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.363e-05/0.3834, allocations: 11.98 kB / 0.7332 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.3836, allocations: 11.92 kB / 0.7332 GB, free: 3.598 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.3837, allocations: 23.98 kB / 0.7332 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.3837, allocations: 23.98 kB / 0.7332 GB, free: 3.551 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001624/0.3839, allocations: 209.9 kB / 0.7334 GB, free: 3.348 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3839, allocations: 0 / 0.7334 GB, free: 3.348 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002824/0.3842, allocations: 52 kB / 0.7335 GB, free: 3.297 MB / 0.545 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.0001172/0.3843, allocations: 121.5 kB / 0.7336 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005247/0.3848, allocations: 352.3 kB / 0.7339 GB, free: 2.805 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3848, allocations: 4.375 kB / 0.7339 GB, free: 2.801 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.385, allocations: 79.88 kB / 0.734 GB, free: 2.723 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.3853, allocations: 24.14 kB / 0.734 GB, free: 2.703 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006178/0.3859, allocations: 396 kB / 0.7344 GB, free: 2.285 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.3862, allocations: 0.7395 MB / 0.7351 GB, free: 1.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001216/0.3864, allocations: 37.42 kB / 0.7352 GB, free: 1.484 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.3865, allocations: 35.42 kB / 0.7352 GB, free: 1.449 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.3865, allocations: 0 / 0.7352 GB, free: 1.449 MB / 0.545 GB Notification: Performance of Templates: time 0.006774/0.3933, allocations: 4.114 MB / 0.7392 GB, free: 13.36 MB / 0.5606 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)