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.005659/0.005659, allocations: 102 kB / 15.73 MB, free: 6.035 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.001335/0.001335, allocations: 196.4 kB / 16.68 MB, free: 5.953 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.211/1.211, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.375/1.375, allocations: 251.7 MB / 0.5094 GB, free: 3.074 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.001332/0.001332, allocations: 72.45 kB / 0.7257 GB, free: 9.07 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1788, allocations: 104.7 MB / 0.828 GB, free: 256 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002366/0.1812, allocations: 1.484 MB / 0.8295 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008226/0.182, allocations: 419.3 kB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.1821, allocations: 0 / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.783e-05/0.1822, allocations: 11.88 kB / 0.8299 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.122e-05/0.1823, allocations: 28.22 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006113/0.1829, allocations: 243.5 kB / 0.8301 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.1833, allocations: 315.5 kB / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.1833, allocations: 7.984 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.1835, allocations: 191.7 kB / 0.8306 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.1837, allocations: 112.1 kB / 0.8307 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/0.1838, allocations: 16 kB / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.326e-05/0.1838, allocations: 23.94 kB / 0.8308 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.998e-05/0.1839, allocations: 75.72 kB / 0.8308 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.184, allocations: 127.4 kB / 0.831 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.1843, allocations: 275.2 kB / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1843, allocations: 0 / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1843, allocations: 0 / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.1843, 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.001038/0.1854, allocations: 0.7037 MB / 0.8319 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.1854, allocations: 8.031 kB / 0.8319 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.334e-05/0.1855, allocations: 32.66 kB / 0.8319 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1858, allocations: 267.5 kB / 0.8322 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.1858, allocations: 12.38 kB / 0.8322 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.844e-05/0.1859, allocations: 19.92 kB / 0.8322 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.1862, allocations: 152.8 kB / 0.8324 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1862, allocations: 0 / 0.8324 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.1862, allocations: 0 / 0.8324 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1862, allocations: 4 kB / 0.8324 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1863, allocations: 43.97 kB / 0.8324 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.1867, allocations: 317.3 kB / 0.8327 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.187, allocations: 142.7 kB / 0.8329 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1871, allocations: 56.83 kB / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.1871, allocations: 0 / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003879/0.1875, allocations: 223.7 kB / 0.8331 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.1875, allocations: 0 / 0.8331 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0005461/0.1881, allocations: 271.9 kB / 0.8334 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.1881, allocations: 59.39 kB / 0.8334 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1884, allocations: 287 kB / 0.8337 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.1884, allocations: 45.7 kB / 0.8338 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.1885, allocations: 89.12 kB / 0.8338 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.1886, allocations: 47.44 kB / 0.8339 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.1887, allocations: 109.6 kB / 0.834 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.1888, allocations: 322.8 kB / 0.8343 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.189, allocations: 96.17 kB / 0.8344 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.1893, allocations: 146.4 kB / 0.8345 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.1897, allocations: 235.7 kB / 0.8348 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.1897, allocations: 4 kB / 0.8348 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007265/0.1904, allocations: 408.6 kB / 0.8352 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.351e-05/0.1905, allocations: 79.38 kB / 0.8352 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1905, allocations: 0 / 0.8352 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1905, allocations: 4 kB / 0.8352 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1907, allocations: 23.92 kB / 0.8353 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.1907, allocations: 11.92 kB / 0.8353 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.1912, allocations: 63.98 kB / 0.8353 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.73e-05/0.1913, allocations: 51.98 kB / 0.8354 GB, free: 8.359 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.0001782/0.1914, allocations: 169.8 kB / 0.8355 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.1915, allocations: 31.56 kB / 0.8356 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.053e-05/0.1915, allocations: 30.25 kB / 0.8356 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1916, allocations: 7.938 kB / 0.8356 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1916, allocations: 4 kB / 0.8356 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1916, allocations: 3.984 kB / 0.8356 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007438/0.1923, allocations: 0.5567 MB / 0.8362 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1923, allocations: 4 kB / 0.8362 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.1924, allocations: 8 kB / 0.8362 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1924, allocations: 0 / 0.8362 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.1924, allocations: 15.97 kB / 0.8362 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.1924, allocations: 0 / 0.8362 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1924, allocations: 0 / 0.8362 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.1928, allocations: 325.7 kB / 0.8365 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.1931, allocations: 160.6 kB / 0.8366 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.012e-05/0.1931, allocations: 8 kB / 0.8367 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.1933, allocations: 11.92 kB / 0.8367 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.1934, allocations: 19.97 kB / 0.8367 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.1934, allocations: 27.98 kB / 0.8367 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001717/0.1936, allocations: 209.9 kB / 0.8369 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1936, allocations: 4 kB / 0.8369 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002897/0.1939, allocations: 52 kB / 0.837 GB, free: 6.633 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.000144/0.1941, allocations: 113.8 kB / 0.8371 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005164/0.1946, allocations: 346.5 kB / 0.8374 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1946, allocations: 0 / 0.8374 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.1947, allocations: 75.81 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.0003098/0.1951, allocations: 35.48 kB / 0.8375 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000589/0.1957, allocations: 375.8 kB / 0.8379 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.196, allocations: 0.751 MB / 0.8386 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.1961, allocations: 37.44 kB / 0.8386 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1962, allocations: 43.41 kB / 0.8387 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.1962, allocations: 3.938 kB / 0.8387 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of Templates: time 0.007452/0.2037, allocations: 4.102 MB / 0.8427 GB, free: 0.7109 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)