Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.266/0.266, allocations: 54.33 MB / 66.89 MB, free: 6.086 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.001021/0.001021, allocations: 188.5 kB / 80.71 MB, free: 15.39 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.274/1.274, allocations: 194.2 MB / 288.6 MB, free: 15.07 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.0017/0.0017, allocations: 121.4 kB / 346.9 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.261e-05/3.265e-05, allocations: 3.984 kB / 412.4 MB, free: 21.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1211, allocations: 57.64 MB / 470 MB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3702/0.4913, allocations: 87.26 MB / 0.5442 GB, free: 3.188 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.4916, allocations: 75.95 kB / 0.5443 GB, free: 3.113 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01199/0.5036, allocations: 4.102 MB / 0.5483 GB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5036, allocations: 4 kB / 0.5483 GB, free: 15.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.5036, allocations: 7.938 kB / 0.5483 GB, free: 15.01 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.0007609/0.5044, allocations: 0.5366 MB / 0.5488 GB, free: 14.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5045, allocations: 8.031 kB / 0.5488 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.921e-05/0.5045, allocations: 23.81 kB / 0.5489 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.5047, allocations: 195.8 kB / 0.5491 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.5047, allocations: 19.98 kB / 0.5491 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.5048, allocations: 20 kB / 0.5491 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.5051, allocations: 141.5 kB / 0.5492 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.5051, allocations: 0 / 0.5492 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.5051, allocations: 7.938 kB / 0.5492 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.5051, allocations: 0 / 0.5492 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.5052, allocations: 43.98 kB / 0.5493 GB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.5055, allocations: 301.3 kB / 0.5496 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.5057, allocations: 130.7 kB / 0.5497 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.844e-05/0.5058, allocations: 56.84 kB / 0.5497 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.5059, allocations: 0 / 0.5497 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003385/0.5062, allocations: 195.2 kB / 0.5499 GB, free: 13.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.5062, allocations: 0 / 0.5499 GB, free: 13.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004218/0.5067, allocations: 214.8 kB / 0.5501 GB, free: 12.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.5067, allocations: 59.31 kB / 0.5502 GB, free: 12.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.5069, allocations: 203 kB / 0.5504 GB, free: 12.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.507, allocations: 41.69 kB / 0.5504 GB, free: 12.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.507, allocations: 92.86 kB / 0.5505 GB, free: 12.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.5071, allocations: 43.44 kB / 0.5506 GB, free: 12.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.5071, allocations: 8 kB / 0.5506 GB, free: 12.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.5073, allocations: 322.8 kB / 0.5509 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.5075, allocations: 92.2 kB / 0.551 GB, free: 12.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.5077, allocations: 163.6 kB / 0.5511 GB, free: 11.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.5079, allocations: 144.1 kB / 0.5512 GB, free: 11.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.5079, allocations: 0 / 0.5512 GB, free: 11.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006373/0.5086, allocations: 399.1 kB / 0.5516 GB, free: 11.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.511e-05/0.5086, allocations: 71.39 kB / 0.5517 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.5086, allocations: 7.938 kB / 0.5517 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.5087, allocations: 3.953 kB / 0.5517 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.5088, allocations: 19.98 kB / 0.5517 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.5088, allocations: 11.92 kB / 0.5517 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.5092, allocations: 48.11 kB / 0.5518 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.5092, allocations: 43.97 kB / 0.5518 GB, free: 11.11 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.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 () * 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.0001081/0.5094, allocations: 131.2 kB / 0.552 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.5094, allocations: 23.72 kB / 0.552 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.5094, allocations: 21.64 kB / 0.552 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5095, allocations: 7.938 kB / 0.552 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5095, allocations: 7.953 kB / 0.552 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5095, allocations: 0 / 0.552 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006517/0.5101, allocations: 0.5308 MB / 0.5525 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5101, allocations: 3.984 kB / 0.5525 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.5102, allocations: 11.94 kB / 0.5525 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.5102, allocations: 3.953 kB / 0.5525 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.5102, allocations: 11.98 kB / 0.5526 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5102, allocations: 0 / 0.5526 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5103, allocations: 7.938 kB / 0.5526 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.5106, allocations: 307.2 kB / 0.5529 GB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.5107, allocations: 132.8 kB / 0.553 GB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.5108, allocations: 11.95 kB / 0.553 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.511, allocations: 15.98 kB / 0.553 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.511, allocations: 11.97 kB / 0.553 GB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.5111, allocations: 31.98 kB / 0.5531 GB, free: 9.754 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.5112, allocations: 161.6 kB / 0.5532 GB, free: 9.598 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5112, allocations: 4 kB / 0.5532 GB, free: 9.594 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002735/0.5115, allocations: 44 kB / 0.5533 GB, free: 9.551 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 (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) * 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.0001333/0.5116, allocations: 123.5 kB / 0.5534 GB, free: 9.422 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004822/0.5121, allocations: 342 kB / 0.5537 GB, free: 9.066 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5121, allocations: 0 / 0.5537 GB, free: 9.066 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.5122, allocations: 68.34 kB / 0.5538 GB, free: 9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.5124, allocations: 23.83 kB / 0.5538 GB, free: 8.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.5128, allocations: 222.4 kB / 0.554 GB, free: 8.738 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.5131, allocations: 0.7243 MB / 0.5547 GB, free: 7.988 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.5132, allocations: 33.2 kB / 0.5547 GB, free: 7.957 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.284e-05/0.5133, allocations: 35.42 kB / 0.5548 GB, free: 7.922 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5133, allocations: 0 / 0.5548 GB, free: 7.922 MB / 394.7 MB Notification: Performance of Templates: time 0.006267/0.5196, allocations: 3.915 MB / 0.5586 GB, free: 3.988 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)