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.3848/0.3848, allocations: 54.41 MB / 61.89 MB, free: 13.76 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.001249/0.001249, allocations: 176.1 kB / 75.61 MB, free: 0.7773 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.691/1.691, 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.001728/0.001728, allocations: 100.8 kB / 341.6 MB, free: 4.047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.707e-05, allocations: 0 / 405.5 MB, free: 4.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4102, allocations: 57.65 MB / 463.1 MB, free: 51.78 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.5385, allocations: 86.6 MB / 0.5369 GB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5389, allocations: 71.95 kB / 0.5369 GB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01256/0.5514, allocations: 4.087 MB / 0.5409 GB, free: 10.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5515, allocations: 0 / 0.5409 GB, free: 10.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.5515, allocations: 8 kB / 0.5409 GB, free: 10.49 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.0009792/0.5525, allocations: 0.5405 MB / 0.5415 GB, free: 9.879 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.5526, allocations: 8.031 kB / 0.5415 GB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.5527, allocations: 27.8 kB / 0.5415 GB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.5529, allocations: 189.2 kB / 0.5417 GB, free: 9.617 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.5529, allocations: 4 kB / 0.5417 GB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.553, allocations: 18.17 kB / 0.5417 GB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001669/0.5532, allocations: 40 kB / 0.5417 GB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.5535, allocations: 143.2 kB / 0.5419 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.5535, allocations: 0 / 0.5419 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.5535, allocations: 7.922 kB / 0.5419 GB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.5535, allocations: 0 / 0.5419 GB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.554, allocations: 281.8 kB / 0.5421 GB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.5542, allocations: 115.3 kB / 0.5423 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.728e-05/0.5543, allocations: 44.84 kB / 0.5423 GB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.5544, allocations: 4 kB / 0.5423 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003765/0.5547, allocations: 199.2 kB / 0.5425 GB, free: 8.715 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.5547, allocations: 0 / 0.5425 GB, free: 8.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004489/0.5552, allocations: 202.5 kB / 0.5427 GB, free: 8.512 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.5553, allocations: 59.39 kB / 0.5427 GB, free: 8.441 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.5555, allocations: 194.9 kB / 0.5429 GB, free: 8.246 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/0.5555, allocations: 41.69 kB / 0.543 GB, free: 8.199 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.5556, allocations: 88.92 kB / 0.543 GB, free: 8.109 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.276e-05/0.5557, allocations: 39.45 kB / 0.5431 GB, free: 8.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.5557, allocations: 4 kB / 0.5431 GB, free: 8.066 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.5559, allocations: 330 kB / 0.5434 GB, free: 7.738 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.5561, allocations: 88.2 kB / 0.5435 GB, free: 7.652 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.5564, allocations: 134.2 kB / 0.5436 GB, free: 7.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.5565, allocations: 64.7 kB / 0.5437 GB, free: 7.434 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5566, allocations: 0 / 0.5437 GB, free: 7.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006874/0.5572, allocations: 305.2 kB / 0.544 GB, free: 7.133 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.783e-05/0.5573, allocations: 74.2 kB / 0.544 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.5574, allocations: 0 / 0.544 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.5574, allocations: 4 kB / 0.544 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.5576, allocations: 31.91 kB / 0.5441 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.5576, allocations: 7.953 kB / 0.5441 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.558, allocations: 39.94 kB / 0.5441 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.5582, allocations: 45.47 kB / 0.5442 GB, free: 6.926 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.0001877/0.5583, allocations: 127.2 kB / 0.5443 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.5584, allocations: 23.7 kB / 0.5443 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.5585, allocations: 21.97 kB / 0.5443 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5585, allocations: 0 / 0.5443 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.5585, allocations: 0 / 0.5443 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.5585, allocations: 12.94 kB / 0.5443 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009001/0.5594, allocations: 0.4987 MB / 0.5448 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.5595, allocations: 0 / 0.5448 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.5595, allocations: 4 kB / 0.5448 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.5595, allocations: 4 kB / 0.5448 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.5596, allocations: 15.97 kB / 0.5448 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5596, allocations: 0 / 0.5448 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.5596, allocations: 4.828 kB / 0.5449 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.5601, allocations: 295.2 kB / 0.5451 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.5603, allocations: 132.9 kB / 0.5453 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.5603, allocations: 7.984 kB / 0.5453 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.5605, allocations: 8 kB / 0.5453 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.5606, allocations: 23.86 kB / 0.5453 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/0.5607, allocations: 23.98 kB / 0.5453 GB, free: 5.656 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001889/0.5608, allocations: 157.6 kB / 0.5455 GB, free: 5.504 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5609, allocations: 0 / 0.5455 GB, free: 5.504 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004411/0.5613, allocations: 41.5 kB / 0.5455 GB, free: 5.465 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.0002478/0.5616, allocations: 118.2 kB / 0.5456 GB, free: 5.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005788/0.5622, allocations: 326.2 kB / 0.5459 GB, free: 5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5622, allocations: 0 / 0.5459 GB, free: 5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.5623, allocations: 67.91 kB / 0.546 GB, free: 4.934 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.5626, allocations: 19.09 kB / 0.546 GB, free: 4.918 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005628/0.5632, allocations: 217.2 kB / 0.5462 GB, free: 4.691 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.5636, allocations: 0.7318 MB / 0.5469 GB, free: 3.934 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001303/0.5637, allocations: 37.19 kB / 0.547 GB, free: 3.898 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.5639, allocations: 27.42 kB / 0.547 GB, free: 3.871 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5639, allocations: 0 / 0.547 GB, free: 3.871 MB / 394.7 MB Notification: Performance of Templates: time 0.008549/0.5724, allocations: 3.739 MB / 0.5507 GB, free: 172 kB / 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)