Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3037/0.3037, allocations: 55.01 MB / 69.95 MB, free: 8.652 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.001206/0.001206, allocations: 182.1 kB / 83.97 MB, free: 10.83 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.89/1.89, allocations: 194.4 MB / 292.3 MB, free: 3.598 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.001744/0.001744, allocations: 123.3 kB / 350.7 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003633, allocations: 19.98 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1624, allocations: 57.64 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4557/0.6181, allocations: 87.35 MB / 0.5506 GB, free: 2.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.6184, allocations: 75.33 kB / 0.5507 GB, free: 1.977 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0116/0.63, allocations: 4.124 MB / 0.5547 GB, free: 14.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.6301, allocations: 0 / 0.5547 GB, free: 14.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.6301, allocations: 0 / 0.5547 GB, free: 14.4 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.0009217/0.631, allocations: 0.5793 MB / 0.5553 GB, free: 13.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.6311, allocations: 16.02 kB / 0.5553 GB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.6312, allocations: 23.81 kB / 0.5553 GB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.6314, allocations: 191.6 kB / 0.5555 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.6314, allocations: 8 kB / 0.5555 GB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.6315, allocations: 19.92 kB / 0.5556 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.6318, allocations: 145.3 kB / 0.5557 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.6318, allocations: 0 / 0.5557 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.6318, allocations: 7.938 kB / 0.5557 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.6319, allocations: 4 kB / 0.5557 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.632, allocations: 43.84 kB / 0.5557 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.6323, allocations: 305.3 kB / 0.556 GB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.6326, allocations: 131.8 kB / 0.5562 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.6326, allocations: 0 / 0.5562 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003647/0.633, allocations: 207.7 kB / 0.5564 GB, free: 12.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.633, allocations: 0 / 0.5564 GB, free: 12.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005652/0.6335, allocations: 258.8 kB / 0.5566 GB, free: 12.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.6336, allocations: 62.77 kB / 0.5567 GB, free: 12.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.6338, allocations: 200.2 kB / 0.5569 GB, free: 12.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.6339, allocations: 37.2 kB / 0.5569 GB, free: 12.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.6339, allocations: 92.83 kB / 0.557 GB, free: 12.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.634, allocations: 38.94 kB / 0.557 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.634, allocations: 15.8 kB / 0.557 GB, free: 12.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6342, allocations: 322.3 kB / 0.5573 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.6344, allocations: 101 kB / 0.5574 GB, free: 11.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.6347, allocations: 158.4 kB / 0.5576 GB, free: 11.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.6349, allocations: 151.5 kB / 0.5577 GB, free: 11.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6349, allocations: 4 kB / 0.5577 GB, free: 11.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006941/0.6356, allocations: 396.7 kB / 0.5581 GB, free: 11.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.099e-05/0.6357, allocations: 78.12 kB / 0.5582 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.6358, allocations: 4 kB / 0.5582 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.6358, allocations: 4.188 kB / 0.5582 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.6359, allocations: 31.69 kB / 0.5582 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.636, allocations: 3.938 kB / 0.5582 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.6363, allocations: 51.12 kB / 0.5583 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.301e-05/0.6364, allocations: 43.97 kB / 0.5583 GB, free: 10.89 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.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.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.0001706/0.6366, allocations: 156.6 kB / 0.5585 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.6366, allocations: 27.7 kB / 0.5585 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.6367, allocations: 16.25 kB / 0.5585 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.6367, allocations: 7.984 kB / 0.5585 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.6367, allocations: 3.953 kB / 0.5585 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.6367, allocations: 7.922 kB / 0.5585 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007723/0.6375, allocations: 0.5295 MB / 0.559 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6375, allocations: 0 / 0.559 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.6376, allocations: 11.94 kB / 0.5591 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6376, allocations: 0 / 0.5591 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.6376, allocations: 19.94 kB / 0.5591 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.6376, allocations: 3.984 kB / 0.5591 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6376, allocations: 0 / 0.5591 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.638, allocations: 309.1 kB / 0.5594 GB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.6382, allocations: 130.9 kB / 0.5595 GB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.6382, allocations: 10.86 kB / 0.5595 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.6384, allocations: 18.33 kB / 0.5595 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.6385, allocations: 18.09 kB / 0.5595 GB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.6385, allocations: 23.98 kB / 0.5596 GB, free: 9.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001285/0.6386, allocations: 163.3 kB / 0.5597 GB, free: 9.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6387, allocations: 0 / 0.5597 GB, free: 9.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003116/0.639, allocations: 51.36 kB / 0.5598 GB, free: 9.48 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 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.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.0001422/0.6391, allocations: 118.2 kB / 0.5599 GB, free: 9.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005767/0.6397, allocations: 357.3 kB / 0.5602 GB, free: 9.055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6397, allocations: 0 / 0.5602 GB, free: 9.055 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.6399, allocations: 70.33 kB / 0.5603 GB, free: 9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.6401, allocations: 19.78 kB / 0.5603 GB, free: 8.988 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.6407, allocations: 361.8 kB / 0.5607 GB, free: 8.637 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.641, allocations: 0.7321 MB / 0.5614 GB, free: 7.879 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.6411, allocations: 33.08 kB / 0.5614 GB, free: 7.844 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.976e-05/0.6412, allocations: 30.67 kB / 0.5614 GB, free: 7.816 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6413, allocations: 0 / 0.5614 GB, free: 7.816 MB / 378.7 MB Notification: Performance of Templates: time 0.007031/0.6483, allocations: 3.922 MB / 0.5653 GB, free: 3.891 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)