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.2715/0.2715, allocations: 54.34 MB / 66.9 MB, free: 6.09 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.001114/0.001114, allocations: 183.3 kB / 80.71 MB, free: 15.41 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.402/1.402, 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.001677/0.001677, allocations: 119.6 kB / 346.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.749e-05/2.753e-05, allocations: 4 kB / 412.4 MB, free: 21.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1003, allocations: 57.65 MB / 470 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3413/0.4417, allocations: 87.26 MB / 0.5442 GB, free: 3.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.4419, allocations: 71.95 kB / 0.5443 GB, free: 3.109 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01192/0.4539, allocations: 4.106 MB / 0.5483 GB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4539, allocations: 0 / 0.5483 GB, free: 15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.4539, allocations: 4 kB / 0.5483 GB, free: 15 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.0006978/0.4546, allocations: 0.5444 MB / 0.5488 GB, free: 14.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.4547, allocations: 8.031 kB / 0.5488 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.901e-05/0.4547, allocations: 27.8 kB / 0.5489 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.4549, allocations: 195.7 kB / 0.5491 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.4549, allocations: 12 kB / 0.5491 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.126e-05/0.455, allocations: 15.98 kB / 0.5491 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.4552, allocations: 141.5 kB / 0.5492 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4553, allocations: 4 kB / 0.5492 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.4553, allocations: 4 kB / 0.5492 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.4553, allocations: 0 / 0.5492 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.4554, allocations: 47.92 kB / 0.5493 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.4558, allocations: 305.3 kB / 0.5496 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.456, allocations: 114.7 kB / 0.5497 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.4561, allocations: 60.84 kB / 0.5497 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.4561, allocations: 0 / 0.5497 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003475/0.4565, allocations: 209.6 kB / 0.5499 GB, free: 13.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.4565, allocations: 0 / 0.5499 GB, free: 13.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004012/0.4569, allocations: 205.3 kB / 0.5501 GB, free: 12.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.4569, allocations: 67.3 kB / 0.5502 GB, free: 12.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.4571, allocations: 199 kB / 0.5504 GB, free: 12.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.4572, allocations: 41.7 kB / 0.5504 GB, free: 12.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.4573, allocations: 88.92 kB / 0.5505 GB, free: 12.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.829e-05/0.4573, allocations: 51.36 kB / 0.5506 GB, free: 12.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.4574, allocations: 8 kB / 0.5506 GB, free: 12.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4575, allocations: 322.8 kB / 0.5509 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.4577, allocations: 92.22 kB / 0.551 GB, free: 12.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.4579, allocations: 147.7 kB / 0.5511 GB, free: 11.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.4581, allocations: 148.1 kB / 0.5512 GB, free: 11.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4581, allocations: 4 kB / 0.5512 GB, free: 11.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006035/0.4588, allocations: 395.2 kB / 0.5516 GB, free: 11.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/0.4588, allocations: 83.41 kB / 0.5517 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4589, allocations: 4 kB / 0.5517 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.4589, allocations: 7.891 kB / 0.5517 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.459, allocations: 23.92 kB / 0.5517 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.459, allocations: 4 kB / 0.5517 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.4594, allocations: 47.91 kB / 0.5518 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/0.4595, allocations: 43.98 kB / 0.5518 GB, free: 11.1 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.0001153/0.4596, allocations: 135.3 kB / 0.552 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.4596, allocations: 27.7 kB / 0.552 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.4597, allocations: 21.64 kB / 0.552 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4597, allocations: 4 kB / 0.552 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.4597, allocations: 3.953 kB / 0.552 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4597, allocations: 0 / 0.552 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006926/0.4604, allocations: 0.5365 MB / 0.5525 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4604, allocations: 0 / 0.5525 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/0.4605, allocations: 11.98 kB / 0.5525 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.4605, allocations: 3.953 kB / 0.5525 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.4605, allocations: 11.98 kB / 0.5526 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4605, allocations: 0 / 0.5526 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.4605, allocations: 8 kB / 0.5526 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.4609, allocations: 295.2 kB / 0.5528 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.461, allocations: 144.8 kB / 0.553 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.4611, allocations: 11.95 kB / 0.553 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.4612, allocations: 11.98 kB / 0.553 GB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.4613, allocations: 15.92 kB / 0.553 GB, free: 9.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.4613, allocations: 27.97 kB / 0.5531 GB, free: 9.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001209/0.4615, allocations: 161.6 kB / 0.5532 GB, free: 9.594 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4615, allocations: 0 / 0.5532 GB, free: 9.594 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002786/0.4617, allocations: 47.98 kB / 0.5533 GB, free: 9.547 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.0001382/0.4619, allocations: 123.5 kB / 0.5534 GB, free: 9.418 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004727/0.4624, allocations: 342.7 kB / 0.5537 GB, free: 9.059 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4624, allocations: 0 / 0.5537 GB, free: 9.059 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.4625, allocations: 65.95 kB / 0.5538 GB, free: 8.996 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.4627, allocations: 23.83 kB / 0.5538 GB, free: 8.977 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.4631, allocations: 222.8 kB / 0.554 GB, free: 8.734 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.4634, allocations: 0.7282 MB / 0.5547 GB, free: 7.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.4635, allocations: 29.22 kB / 0.5547 GB, free: 7.953 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.655e-05/0.4637, allocations: 35.41 kB / 0.5548 GB, free: 7.918 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4637, allocations: 0 / 0.5548 GB, free: 7.918 MB / 394.7 MB Notification: Performance of Templates: time 0.006467/0.4701, allocations: 3.931 MB / 0.5586 GB, free: 3.973 MB / 394.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)