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.000931/0.000931, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0008911/0.0008911, allocations: 192.7 kB / 16.13 MB, free: 6.652 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.189/1.189, allocations: 205.1 MB / 222 MB, free: 4.723 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.333/1.333, allocations: 251.6 MB / 0.5088 GB, free: 3.328 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.001194/0.001194, allocations: 63.91 kB / 0.6215 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3723, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002235/0.3746, allocations: 1.541 MB / 0.7253 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008213/0.3754, allocations: 451.3 kB / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.3755, allocations: 3.938 kB / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.168e-05/0.3756, allocations: 0 / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.138e-05/0.3757, allocations: 24.22 kB / 0.7258 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.3762, allocations: 222.7 kB / 0.726 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.3764, allocations: 291.9 kB / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.3764, allocations: 7.984 kB / 0.7263 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.3767, allocations: 214.3 kB / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.3769, allocations: 111.6 kB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.227e-05/0.3769, allocations: 15.98 kB / 0.7266 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.714e-05/0.377, allocations: 11.94 kB / 0.7266 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.324e-05/0.3771, allocations: 75.78 kB / 0.7267 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.3772, allocations: 127.3 kB / 0.7268 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.3775, allocations: 273 kB / 0.727 GB, free: 9.801 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.3775, allocations: 4 kB / 0.727 GB, free: 9.797 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3775, allocations: 0 / 0.727 GB, free: 9.797 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.3775, allocations: 3.938 kB / 0.7271 GB, free: 9.793 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.001037/0.3786, allocations: 0.7036 MB / 0.7277 GB, free: 9.016 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.3786, allocations: 8.031 kB / 0.7277 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.763e-05/0.3787, allocations: 31.72 kB / 0.7278 GB, free: 8.977 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.3789, allocations: 258.3 kB / 0.728 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.379, allocations: 15.98 kB / 0.728 GB, free: 8.672 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.018e-05/0.379, allocations: 16 kB / 0.7281 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.3793, allocations: 146.5 kB / 0.7282 GB, free: 8.508 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3793, allocations: 3.938 kB / 0.7282 GB, free: 8.504 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.3794, allocations: 4 kB / 0.7282 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3794, allocations: 0 / 0.7282 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.3795, allocations: 47.91 kB / 0.7282 GB, free: 8.453 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.3798, allocations: 313.3 kB / 0.7285 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.38, allocations: 130.8 kB / 0.7287 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3802, allocations: 57.08 kB / 0.7287 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.3802, allocations: 11.94 kB / 0.7287 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003856/0.3806, allocations: 216 kB / 0.7289 GB, free: 7.668 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.462e-06/0.3806, allocations: 0 / 0.7289 GB, free: 7.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005123/0.3811, allocations: 279 kB / 0.7292 GB, free: 7.391 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.3812, allocations: 63.39 kB / 0.7293 GB, free: 7.316 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.3814, allocations: 283 kB / 0.7295 GB, free: 7.027 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.3814, allocations: 41.69 kB / 0.7296 GB, free: 6.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.3815, allocations: 97.14 kB / 0.7297 GB, free: 6.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.3816, allocations: 43.39 kB / 0.7297 GB, free: 6.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.3817, allocations: 109.6 kB / 0.7298 GB, free: 6.723 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.407e-05/0.3818, allocations: 322.8 kB / 0.7301 GB, free: 6.398 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.382, allocations: 100.2 kB / 0.7302 GB, free: 6.301 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.3822, allocations: 150.4 kB / 0.7304 GB, free: 6.133 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.3825, allocations: 243.7 kB / 0.7306 GB, free: 5.863 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3825, allocations: 0 / 0.7306 GB, free: 5.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006018/0.3831, allocations: 412.7 kB / 0.731 GB, free: 5.441 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.546e-05/0.3832, allocations: 75.38 kB / 0.7311 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3832, allocations: 0 / 0.7311 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3832, allocations: 7.938 kB / 0.7311 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.3834, allocations: 27.92 kB / 0.7311 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3834, allocations: 7.938 kB / 0.7311 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005003/0.3839, allocations: 64.03 kB / 0.7312 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/0.384, allocations: 47.98 kB / 0.7312 GB, free: 5.203 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.0001568/0.3841, allocations: 173.7 kB / 0.7314 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.3842, allocations: 31.61 kB / 0.7314 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.3843, allocations: 34.19 kB / 0.7314 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3843, allocations: 7.938 kB / 0.7314 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3843, allocations: 0 / 0.7314 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3843, allocations: 7.984 kB / 0.7315 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006806/0.385, allocations: 0.555 MB / 0.732 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.385, allocations: 0 / 0.732 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.385, allocations: 8 kB / 0.732 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.385, allocations: 3.984 kB / 0.732 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.3851, allocations: 15.98 kB / 0.732 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3851, allocations: 0 / 0.732 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3851, allocations: 0 / 0.732 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.3855, allocations: 330.9 kB / 0.7323 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.3856, allocations: 148.7 kB / 0.7325 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.3857, allocations: 15.98 kB / 0.7325 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.3859, allocations: 12 kB / 0.7325 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.3859, allocations: 15.97 kB / 0.7325 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.386, allocations: 31.98 kB / 0.7326 GB, free: 3.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001679/0.3861, allocations: 209.9 kB / 0.7328 GB, free: 3.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3862, allocations: 0 / 0.7328 GB, free: 3.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002908/0.3864, allocations: 48 kB / 0.7328 GB, free: 3.484 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.0001273/0.3866, allocations: 121.5 kB / 0.7329 GB, free: 3.355 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000492/0.3871, allocations: 340.7 kB / 0.7332 GB, free: 3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3871, allocations: 0 / 0.7332 GB, free: 3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.3872, allocations: 71.91 kB / 0.7333 GB, free: 2.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.3876, allocations: 27.77 kB / 0.7333 GB, free: 2.906 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006353/0.3882, allocations: 473.8 kB / 0.7338 GB, free: 2.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.3885, allocations: 0.7475 MB / 0.7345 GB, free: 1.637 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.3886, allocations: 33.42 kB / 0.7345 GB, free: 1.605 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.3888, allocations: 39.42 kB / 0.7346 GB, free: 1.566 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.3888, allocations: 0 / 0.7346 GB, free: 1.566 MB / 0.545 GB Notification: Performance of Templates: time 0.00611/0.3949, allocations: 4.041 MB / 0.7385 GB, free: 13.55 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)