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.001207/0.001208, allocations: 100.5 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.001323/0.001323, 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.916/1.916, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.746/1.746, allocations: 251.9 MB / 0.51 GB, free: 4.879 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.0005624/0.0005625, allocations: 19.44 kB / 0.6241 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5795/0.5801, allocations: 106.3 MB / 0.728 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001561/0.5817, allocations: 1.179 MB / 0.7291 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008302/0.5826, allocations: 396.9 kB / 0.7295 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.5826, allocations: 0 / 0.7295 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/0.5827, allocations: 3.938 kB / 0.7295 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.5828, allocations: 23.95 kB / 0.7295 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000609/0.5834, allocations: 209.9 kB / 0.7297 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.5836, allocations: 155.7 kB / 0.7299 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.795e-05/0.5837, allocations: 4 kB / 0.7299 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.5839, allocations: 155.7 kB / 0.73 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.5841, allocations: 123.7 kB / 0.7301 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.5842, allocations: 12 kB / 0.7301 GB, free: 9.324 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.165e-05/0.5842, allocations: 8 kB / 0.7302 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.879e-05/0.5843, allocations: 83.78 kB / 0.7302 GB, free: 9.234 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.94e-05/0.5844, allocations: 65.58 kB / 0.7303 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.5846, allocations: 201.6 kB / 0.7305 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.5846, allocations: 0 / 0.7305 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5846, allocations: 0 / 0.7305 GB, free: 8.969 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.5846, allocations: 0 / 0.7305 GB, free: 8.969 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.001003/0.5857, allocations: 0.618 MB / 0.7311 GB, free: 8.277 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5857, allocations: 12.03 kB / 0.7311 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.878e-05/0.5858, allocations: 31.62 kB / 0.7311 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.5861, allocations: 254.5 kB / 0.7314 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.5862, allocations: 12 kB / 0.7314 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/0.5863, allocations: 19.98 kB / 0.7314 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.5865, allocations: 150.5 kB / 0.7316 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.5866, allocations: 0 / 0.7316 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.5866, allocations: 3.984 kB / 0.7316 GB, free: 7.762 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.5866, allocations: 0 / 0.7316 GB, free: 7.762 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.5867, allocations: 47.97 kB / 0.7316 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.5871, allocations: 321.3 kB / 0.7319 GB, free: 7.352 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.5874, allocations: 130.6 kB / 0.732 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.5874, allocations: 0 / 0.732 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004302/0.5878, allocations: 228.1 kB / 0.7322 GB, free: 6.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.5878, allocations: 0 / 0.7322 GB, free: 6.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005404/0.5884, allocations: 267.6 kB / 0.7325 GB, free: 6.715 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.5884, allocations: 63.41 kB / 0.7326 GB, free: 6.641 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.5887, allocations: 287 kB / 0.7328 GB, free: 6.348 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.5888, allocations: 41.7 kB / 0.7329 GB, free: 6.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.5888, allocations: 93.08 kB / 0.733 GB, free: 6.207 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.5889, allocations: 51.38 kB / 0.733 GB, free: 6.156 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.589, allocations: 11.98 kB / 0.733 GB, free: 6.145 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5891, allocations: 330.7 kB / 0.7333 GB, free: 5.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.5893, allocations: 88.19 kB / 0.7334 GB, free: 5.723 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.5895, allocations: 147.8 kB / 0.7336 GB, free: 5.559 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.5898, allocations: 148.1 kB / 0.7337 GB, free: 5.398 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5898, allocations: 0 / 0.7337 GB, free: 5.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006835/0.5905, allocations: 421.3 kB / 0.7341 GB, free: 4.973 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/0.5905, allocations: 71.39 kB / 0.7342 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.5906, allocations: 4 kB / 0.7342 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.5906, allocations: 7.984 kB / 0.7342 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.5907, allocations: 23.98 kB / 0.7342 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.5908, allocations: 7.938 kB / 0.7342 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/0.5913, allocations: 67.95 kB / 0.7343 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.86e-05/0.5914, allocations: 51.98 kB / 0.7343 GB, free: 4.73 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 ($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.0001853/0.5916, allocations: 184.7 kB / 0.7345 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.5916, allocations: 23.72 kB / 0.7345 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/0.5917, allocations: 26.25 kB / 0.7346 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.5917, allocations: 4 kB / 0.7346 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.5917, allocations: 4 kB / 0.7346 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.5917, allocations: 3.984 kB / 0.7346 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007703/0.5925, allocations: 0.5567 MB / 0.7351 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.5925, allocations: 0 / 0.7351 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.5925, allocations: 11.94 kB / 0.7351 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5925, allocations: 0 / 0.7351 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.5926, allocations: 19.97 kB / 0.7351 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5926, allocations: 0 / 0.7351 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5926, allocations: 0 / 0.7351 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.593, allocations: 321.2 kB / 0.7355 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.5932, allocations: 156.6 kB / 0.7356 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/0.5932, allocations: 15.98 kB / 0.7356 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.5935, allocations: 15.98 kB / 0.7356 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.5935, allocations: 15.97 kB / 0.7356 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.985e-05/0.5936, allocations: 31.98 kB / 0.7357 GB, free: 3.262 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000203/0.5938, allocations: 209.9 kB / 0.7359 GB, free: 3.062 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5938, allocations: 3.938 kB / 0.7359 GB, free: 3.059 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003046/0.5941, allocations: 48 kB / 0.7359 GB, free: 3.012 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 (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.0001403/0.5942, allocations: 115.5 kB / 0.736 GB, free: 2.891 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005451/0.5948, allocations: 342.8 kB / 0.7364 GB, free: 2.531 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5948, allocations: 0 / 0.7364 GB, free: 2.531 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.5949, allocations: 71.91 kB / 0.7364 GB, free: 2.461 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.5952, allocations: 35.17 kB / 0.7365 GB, free: 2.426 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007004/0.5959, allocations: 446.7 kB / 0.7369 GB, free: 1.961 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.5962, allocations: 0.7553 MB / 0.7376 GB, free: 1.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001277/0.5964, allocations: 37.44 kB / 0.7377 GB, free: 1.145 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.5965, allocations: 39.41 kB / 0.7377 GB, free: 1.105 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.5965, allocations: 0 / 0.7377 GB, free: 1.105 MB / 0.545 GB Notification: Performance of Templates: time 0.007379/0.6039, allocations: 3.91 MB / 0.7415 GB, free: 13.2 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: