Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime") translateModel(Annex60.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3164/0.3164, allocations: 54.41 MB / 61.88 MB, free: 13.73 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001239/0.001239, allocations: 180.1 kB / 75.61 MB, free: 0.7734 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.845/1.845, allocations: 194.3 MB / 283.5 MB, free: 14.86 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001602/0.001602, allocations: 109.6 kB / 341.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.146e-05/2.151e-05, allocations: 4 kB / 405.5 MB, free: 4.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4866/0.4866, allocations: 57.65 MB / 463.1 MB, free: 51.8 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.6374, allocations: 86.58 MB / 0.5368 GB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.6377, allocations: 67.97 kB / 0.5369 GB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01655/0.6543, allocations: 4.083 MB / 0.5409 GB, free: 10.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6543, allocations: 0 / 0.5409 GB, free: 10.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.6544, allocations: 4 kB / 0.5409 GB, free: 10.52 MB / 394.7 MB 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.001007/0.6554, allocations: 0.5388 MB / 0.5414 GB, free: 9.914 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.6554, allocations: 8.031 kB / 0.5414 GB, free: 9.906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.6556, allocations: 27.8 kB / 0.5414 GB, free: 9.879 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.6558, allocations: 197.2 kB / 0.5416 GB, free: 9.645 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.6558, allocations: 0 / 0.5416 GB, free: 9.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/0.6559, allocations: 19.78 kB / 0.5417 GB, free: 9.629 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001557/0.6561, allocations: 39.98 kB / 0.5417 GB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.6564, allocations: 135.4 kB / 0.5418 GB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.6564, allocations: 0 / 0.5418 GB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.6564, allocations: 7.984 kB / 0.5418 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.6565, allocations: 7.938 kB / 0.5418 GB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.6569, allocations: 273.9 kB / 0.5421 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.6572, allocations: 118.7 kB / 0.5422 GB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.6573, allocations: 53.78 kB / 0.5423 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.6574, allocations: 0 / 0.5423 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004477/0.6578, allocations: 191.6 kB / 0.5424 GB, free: 8.754 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.884e-06/0.6578, allocations: 0 / 0.5424 GB, free: 8.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.000539/0.6584, allocations: 205.3 kB / 0.5426 GB, free: 8.547 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.6585, allocations: 59.41 kB / 0.5427 GB, free: 8.477 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.6587, allocations: 198.9 kB / 0.5429 GB, free: 8.277 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.73e-05/0.6588, allocations: 33.69 kB / 0.5429 GB, free: 8.238 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.6589, allocations: 88.92 kB / 0.543 GB, free: 8.148 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.388e-05/0.659, allocations: 43.45 kB / 0.543 GB, free: 8.105 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.659, allocations: 4 kB / 0.543 GB, free: 8.102 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.6592, allocations: 318.8 kB / 0.5434 GB, free: 7.781 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.6595, allocations: 88.14 kB / 0.5434 GB, free: 7.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.6598, allocations: 134.2 kB / 0.5436 GB, free: 7.543 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.66, allocations: 74.14 kB / 0.5436 GB, free: 7.469 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.66, allocations: 0 / 0.5436 GB, free: 7.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007993/0.6608, allocations: 309.1 kB / 0.5439 GB, free: 7.164 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.963e-05/0.6609, allocations: 67.39 kB / 0.544 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.661, allocations: 4 kB / 0.544 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.661, allocations: 4 kB / 0.544 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.6612, allocations: 27.91 kB / 0.544 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.6612, allocations: 7.078 kB / 0.544 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.6617, allocations: 50.25 kB / 0.5441 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.6618, allocations: 39.98 kB / 0.5441 GB, free: 6.961 MB / 394.7 MB 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 () * 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.000189/0.662, allocations: 128 kB / 0.5442 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.6621, allocations: 19.72 kB / 0.5443 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-05/0.6622, allocations: 25.95 kB / 0.5443 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.6622, allocations: 4 kB / 0.5443 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6622, allocations: 0 / 0.5443 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.6622, allocations: 7.938 kB / 0.5443 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008731/0.6631, allocations: 0.501 MB / 0.5448 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6631, allocations: 0 / 0.5448 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/0.6632, allocations: 8 kB / 0.5448 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.6632, allocations: 0 / 0.5448 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.6632, allocations: 12.84 kB / 0.5448 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.6633, allocations: 4 kB / 0.5448 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.6633, allocations: 3.953 kB / 0.5448 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004598/0.6637, allocations: 297.8 kB / 0.5451 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.6639, allocations: 128.9 kB / 0.5452 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-05/0.664, allocations: 11.98 kB / 0.5452 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.6642, allocations: 10.44 kB / 0.5452 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.6643, allocations: 23.92 kB / 0.5453 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/0.6644, allocations: 19.98 kB / 0.5453 GB, free: 5.695 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002057/0.6646, allocations: 157.6 kB / 0.5454 GB, free: 5.543 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6646, allocations: 3.938 kB / 0.5454 GB, free: 5.539 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005432/0.6652, allocations: 44 kB / 0.5455 GB, free: 5.496 MB / 394.7 MB 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) * 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.0002454/0.6654, allocations: 113 kB / 0.5456 GB, free: 5.375 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000688/0.6661, allocations: 322.7 kB / 0.5459 GB, free: 5.035 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6662, allocations: 0.6562 kB / 0.5459 GB, free: 5.035 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.6663, allocations: 63.97 kB / 0.546 GB, free: 4.973 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.6666, allocations: 16.61 kB / 0.546 GB, free: 4.957 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.6673, allocations: 217.3 kB / 0.5462 GB, free: 4.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.6678, allocations: 0.7326 MB / 0.5469 GB, free: 3.973 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.668, allocations: 33.16 kB / 0.5469 GB, free: 3.941 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.6682, allocations: 31.41 kB / 0.547 GB, free: 3.91 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6682, allocations: 0 / 0.547 GB, free: 3.91 MB / 394.7 MB Notification: Performance of Templates: time 0.009784/0.678, allocations: 3.776 MB / 0.5506 GB, free: 184 kB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe 2>&1)