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.004658/0.004658, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001113/0.001113, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.231/1.231, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.377/1.377, allocations: 251.7 MB / 0.5094 GB, free: 3.082 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.001416/0.001416, allocations: 75.89 kB / 0.7257 GB, free: 9.07 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1759, allocations: 104.7 MB / 0.828 GB, free: 268 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002322/0.1782, allocations: 1.493 MB / 0.8295 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008152/0.179, allocations: 417.8 kB / 0.8299 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.754e-05/0.1791, allocations: 0 / 0.8299 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.274e-05/0.1792, allocations: 11.92 kB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.1793, allocations: 28.22 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006678/0.18, allocations: 234 kB / 0.8301 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.1804, allocations: 327.5 kB / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.1804, allocations: 8 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.1807, allocations: 191.7 kB / 0.8306 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.1809, allocations: 112.1 kB / 0.8307 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.572e-05/0.181, allocations: 16 kB / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.042e-05/0.1811, allocations: 20 kB / 0.8308 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.1812, allocations: 79.72 kB / 0.8308 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.1813, allocations: 119.4 kB / 0.8309 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.1816, allocations: 283.1 kB / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1816, allocations: 0 / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1816, allocations: 0 / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.1816, allocations: 0 / 0.8312 GB, free: 12.95 MB / 0.6544 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.001053/0.1827, allocations: 0.7038 MB / 0.8319 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1827, allocations: 8.031 kB / 0.8319 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.345e-05/0.1828, allocations: 32.66 kB / 0.8319 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.1831, allocations: 259.6 kB / 0.8322 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.1831, allocations: 12.34 kB / 0.8322 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.1832, allocations: 23.94 kB / 0.8322 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.1834, allocations: 141.5 kB / 0.8324 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1835, allocations: 3.938 kB / 0.8324 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.1835, allocations: 7.984 kB / 0.8324 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1835, allocations: 8 kB / 0.8324 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.1836, allocations: 43.97 kB / 0.8324 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.1839, allocations: 313.3 kB / 0.8327 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.1842, allocations: 138.7 kB / 0.8329 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.1843, allocations: 56.83 kB / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1843, allocations: 0 / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003785/0.1847, allocations: 218.7 kB / 0.8331 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.1847, allocations: 3.938 kB / 0.8331 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.000525/0.1853, allocations: 277 kB / 0.8334 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.1853, allocations: 59.41 kB / 0.8334 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.1856, allocations: 291 kB / 0.8337 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.1856, allocations: 37.7 kB / 0.8338 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.1857, allocations: 89.14 kB / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.1857, allocations: 47.44 kB / 0.8339 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.1859, allocations: 109.6 kB / 0.834 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.186, allocations: 322.8 kB / 0.8343 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.1862, allocations: 96.17 kB / 0.8344 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.1864, allocations: 142.4 kB / 0.8345 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.1867, allocations: 247.1 kB / 0.8348 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1867, allocations: 0 / 0.8348 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005991/0.1873, allocations: 406.7 kB / 0.8351 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.529e-05/0.1874, allocations: 71.39 kB / 0.8352 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1874, allocations: 4.172 kB / 0.8352 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1874, allocations: 8 kB / 0.8352 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.1876, allocations: 31.92 kB / 0.8353 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1876, allocations: 4 kB / 0.8353 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004254/0.188, allocations: 59.8 kB / 0.8353 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.089e-05/0.1881, allocations: 47.98 kB / 0.8354 GB, free: 8.375 MB / 0.6544 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.0001465/0.1882, allocations: 181.7 kB / 0.8355 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.1883, allocations: 31.56 kB / 0.8356 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.1883, allocations: 26.25 kB / 0.8356 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1883, allocations: 4 kB / 0.8356 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1884, allocations: 0 / 0.8356 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1884, allocations: 7.922 kB / 0.8356 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006745/0.189, allocations: 0.5631 MB / 0.8362 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1891, allocations: 4 kB / 0.8362 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.1891, allocations: 4 kB / 0.8362 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1891, allocations: 4 kB / 0.8362 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.1891, allocations: 15.98 kB / 0.8362 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1892, allocations: 3.984 kB / 0.8362 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1892, allocations: 0 / 0.8362 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.1895, allocations: 323 kB / 0.8365 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.1897, allocations: 156.6 kB / 0.8366 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.1897, allocations: 8 kB / 0.8367 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.1899, allocations: 11.98 kB / 0.8367 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.19, allocations: 15.98 kB / 0.8367 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.19, allocations: 35.97 kB / 0.8367 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000155/0.1902, allocations: 205.9 kB / 0.8369 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1902, allocations: 0 / 0.8369 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002877/0.1905, allocations: 55.92 kB / 0.837 GB, free: 6.641 MB / 0.6544 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.000107/0.1906, allocations: 121.7 kB / 0.8371 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004745/0.1911, allocations: 342.2 kB / 0.8374 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1911, allocations: 8.062 kB / 0.8374 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.1912, allocations: 75.8 kB / 0.8375 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.1915, allocations: 32.81 kB / 0.8375 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/0.1921, allocations: 375.8 kB / 0.8379 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.1924, allocations: 0.7471 MB / 0.8386 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.901e-05/0.1925, allocations: 41.42 kB / 0.8386 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.62e-05/0.1926, allocations: 35.42 kB / 0.8387 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.1926, allocations: 0 / 0.8387 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of Templates: time 0.00696/0.1996, allocations: 4.108 MB / 0.8427 GB, free: 0.7148 MB / 0.6544 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)