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.3279/0.3279, allocations: 55 MB / 69.95 MB, free: 8.699 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.001828/0.001828, allocations: 189.8 kB / 83.98 MB, free: 10.86 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.801/1.801, allocations: 194.4 MB / 292.3 MB, free: 3.613 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001696/0.001696, allocations: 116.2 kB / 350.7 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004511/0.0004512, allocations: 12 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1482, allocations: 57.64 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5043/0.6525, allocations: 87.32 MB / 0.5506 GB, free: 2.062 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.6528, allocations: 68.95 kB / 0.5507 GB, free: 2.023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01191/0.6647, allocations: 4.121 MB / 0.5547 GB, free: 14.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.6648, allocations: 0 / 0.5547 GB, free: 14.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.6648, allocations: 7.938 kB / 0.5547 GB, free: 14.45 MB / 378.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.0009421/0.6658, allocations: 0.5742 MB / 0.5553 GB, free: 13.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.6658, allocations: 8.031 kB / 0.5553 GB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.005e-05/0.6659, allocations: 23.81 kB / 0.5553 GB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.6661, allocations: 195.6 kB / 0.5555 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.6662, allocations: 11.23 kB / 0.5555 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.6662, allocations: 19.88 kB / 0.5555 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.6665, allocations: 144.8 kB / 0.5557 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.6666, allocations: 0 / 0.5557 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.6666, allocations: 0 / 0.5557 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.6666, allocations: 15.86 kB / 0.5557 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.6667, allocations: 40.3 kB / 0.5557 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.6671, allocations: 305.5 kB / 0.556 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.6674, allocations: 127.6 kB / 0.5561 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.6675, allocations: 4 kB / 0.5561 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000377/0.6679, allocations: 203.6 kB / 0.5563 GB, free: 12.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 2.033e-06/0.6679, allocations: 0 / 0.5563 GB, free: 12.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005716/0.6685, allocations: 257.4 kB / 0.5566 GB, free: 12.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.6685, allocations: 62.16 kB / 0.5566 GB, free: 12.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.6687, allocations: 198.3 kB / 0.5568 GB, free: 12.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.763e-05/0.6688, allocations: 40.08 kB / 0.5568 GB, free: 12.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/0.6689, allocations: 92.81 kB / 0.5569 GB, free: 12.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.6689, allocations: 43.06 kB / 0.557 GB, free: 12.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.669, allocations: 7.812 kB / 0.557 GB, free: 12.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6691, allocations: 326.2 kB / 0.5573 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.6694, allocations: 100.5 kB / 0.5574 GB, free: 11.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.6696, allocations: 157.5 kB / 0.5575 GB, free: 11.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.6699, allocations: 153.8 kB / 0.5577 GB, free: 11.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6699, allocations: 0 / 0.5577 GB, free: 11.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007532/0.6707, allocations: 405.3 kB / 0.5581 GB, free: 11.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.461e-05/0.6708, allocations: 74.39 kB / 0.5581 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6708, allocations: 0 / 0.5581 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.6708, allocations: 4 kB / 0.5582 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.671, allocations: 31.91 kB / 0.5582 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.671, allocations: 12.12 kB / 0.5582 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.6714, allocations: 47.44 kB / 0.5582 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/0.6715, allocations: 47.34 kB / 0.5583 GB, free: 10.94 MB / 378.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 () * 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.0001906/0.6717, allocations: 159.1 kB / 0.5584 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.6717, allocations: 19.72 kB / 0.5585 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.859e-05/0.6718, allocations: 30.73 kB / 0.5585 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.6718, allocations: 0 / 0.5585 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.6718, allocations: 11.89 kB / 0.5585 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.6718, allocations: 0 / 0.5585 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000807/0.6726, allocations: 0.5261 MB / 0.559 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6726, allocations: 0 / 0.559 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.6727, allocations: 11.94 kB / 0.559 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.6727, allocations: 0 / 0.559 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.6727, allocations: 19.3 kB / 0.559 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6727, allocations: 4 kB / 0.559 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.6728, allocations: 8 kB / 0.559 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.6731, allocations: 301.8 kB / 0.5593 GB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.6733, allocations: 131.1 kB / 0.5595 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.6734, allocations: 11.67 kB / 0.5595 GB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.6735, allocations: 15.33 kB / 0.5595 GB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.6736, allocations: 19.66 kB / 0.5595 GB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.6737, allocations: 27.98 kB / 0.5595 GB, free: 9.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.6738, allocations: 161 kB / 0.5597 GB, free: 9.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.365e-06/0.6738, allocations: 0 / 0.5597 GB, free: 9.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003153/0.6742, allocations: 54.44 kB / 0.5597 GB, free: 9.523 MB / 378.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) * 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.0001956/0.6744, allocations: 111 kB / 0.5598 GB, free: 9.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006415/0.675, allocations: 349.1 kB / 0.5602 GB, free: 9.117 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.675, allocations: 8.312 kB / 0.5602 GB, free: 9.109 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.6752, allocations: 65.47 kB / 0.5602 GB, free: 9.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.6755, allocations: 23.2 kB / 0.5603 GB, free: 9.043 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006972/0.6762, allocations: 367.3 kB / 0.5606 GB, free: 8.684 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.6766, allocations: 0.7274 MB / 0.5613 GB, free: 7.934 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.6767, allocations: 37.06 kB / 0.5614 GB, free: 7.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.6768, allocations: 27.42 kB / 0.5614 GB, free: 7.867 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.6769, allocations: 0 / 0.5614 GB, free: 7.867 MB / 378.7 MB Notification: Performance of Templates: time 0.007674/0.6845, allocations: 3.958 MB / 0.5653 GB, free: 3.906 MB / 378.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)