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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006819/0.006824, allocations: 99.92 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 193.3 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4771/0.4771, allocations: 54.94 MB / 324.9 MB, free: 15.96 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 69.58 kB / 456.2 MB, free: 38.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1585, allocations: 59.59 MB / 0.5037 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002938/0.1615, allocations: 1.452 MB / 0.5051 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1626, allocations: 412.4 kB / 0.5055 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.022e-05/0.1627, allocations: 1.344 kB / 0.5055 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.889e-05/0.1628, allocations: 3.938 kB / 0.5055 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.1629, allocations: 12.78 kB / 0.5055 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008222/0.1638, allocations: 246.5 kB / 0.5058 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004674/0.1642, allocations: 301.9 kB / 0.506 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.255e-05/0.1643, allocations: 9.719 kB / 0.506 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003774/0.1647, allocations: 179.7 kB / 0.5062 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.165, allocations: 110.2 kB / 0.5063 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.309e-05/0.1651, allocations: 17.88 kB / 0.5063 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.194e-05/0.1651, allocations: 20.44 kB / 0.5064 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1652, allocations: 60.42 kB / 0.5064 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.1654, allocations: 95.06 kB / 0.5065 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.1657, allocations: 236 kB / 0.5067 GB, free: 7.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1657, allocations: 0 / 0.5067 GB, free: 7.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1657, allocations: 1.375 kB / 0.5067 GB, free: 7.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1657, allocations: 0 / 0.5067 GB, free: 7.672 MB / 382.1 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.001103/0.1669, allocations: 0.6489 MB / 0.5074 GB, free: 7.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1669, allocations: 8.125 kB / 0.5074 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.167, allocations: 28.52 kB / 0.5074 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1673, allocations: 236.8 kB / 0.5076 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.1673, allocations: 12.52 kB / 0.5076 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.917e-05/0.1674, allocations: 18.06 kB / 0.5077 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.1677, allocations: 148.9 kB / 0.5078 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.1677, allocations: 192 / 0.5078 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.1677, allocations: 9.125 kB / 0.5078 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1677, allocations: 5.281 kB / 0.5078 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.1679, allocations: 49.53 kB / 0.5079 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.1682, allocations: 283.5 kB / 0.5081 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.1685, allocations: 138.3 kB / 0.5083 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1686, allocations: 56.83 kB / 0.5083 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.1686, allocations: 8 kB / 0.5083 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003762/0.169, allocations: 195.2 kB / 0.5085 GB, free: 5.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.694e-06/0.169, allocations: 0 / 0.5085 GB, free: 5.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005161/0.1695, allocations: 267.4 kB / 0.5088 GB, free: 5.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.1696, allocations: 63.39 kB / 0.5088 GB, free: 5.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.1697, allocations: 220.1 kB / 0.509 GB, free: 5.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.1698, allocations: 37.69 kB / 0.5091 GB, free: 5.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.1698, allocations: 97.09 kB / 0.5092 GB, free: 5.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.1699, allocations: 47.67 kB / 0.5092 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.17, allocations: 93.84 kB / 0.5093 GB, free: 5.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.695e-05/0.1701, allocations: 322.8 kB / 0.5096 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.1702, allocations: 96.16 kB / 0.5097 GB, free: 4.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.1704, allocations: 142.3 kB / 0.5098 GB, free: 4.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.1707, allocations: 237.2 kB / 0.5101 GB, free: 4.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.1707, allocations: 4 kB / 0.5101 GB, free: 4.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000574/0.1713, allocations: 400.6 kB / 0.5104 GB, free: 3.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.1714, allocations: 75.38 kB / 0.5105 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1714, allocations: 4 kB / 0.5105 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1714, allocations: 0 / 0.5105 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.1715, allocations: 31.86 kB / 0.5106 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1716, allocations: 4 kB / 0.5106 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/0.172, allocations: 71.95 kB / 0.5106 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.1721, allocations: 39.98 kB / 0.5107 GB, free: 3.594 MB / 382.1 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.1722, allocations: 152.1 kB / 0.5108 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.1723, allocations: 23.84 kB / 0.5108 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.503e-05/0.1723, allocations: 21.88 kB / 0.5109 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1723, allocations: 3.938 kB / 0.5109 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.1723, allocations: 0 / 0.5109 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1724, allocations: 11.92 kB / 0.5109 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.173, allocations: 0.5275 MB / 0.5114 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.173, allocations: 3.938 kB / 0.5114 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.1731, allocations: 15.94 kB / 0.5114 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1731, allocations: 0 / 0.5114 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.1731, allocations: 11.97 kB / 0.5114 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1731, allocations: 4 kB / 0.5114 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1731, allocations: 0 / 0.5114 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.1735, allocations: 307.3 kB / 0.5117 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.1736, allocations: 148.8 kB / 0.5119 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.1736, allocations: 8 kB / 0.5119 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.1738, allocations: 15.92 kB / 0.5119 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.1739, allocations: 15.98 kB / 0.5119 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.1739, allocations: 23.98 kB / 0.5119 GB, free: 2.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.174, allocations: 169.6 kB / 0.5121 GB, free: 2.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.174, allocations: 0 / 0.5121 GB, free: 2.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.1743, allocations: 44 kB / 0.5121 GB, free: 2.008 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.519e-05/0.1744, allocations: 119.2 kB / 0.5122 GB, free: 1.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004444/0.1749, allocations: 344.7 kB / 0.5126 GB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1749, allocations: 0 / 0.5126 GB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.175, allocations: 67.95 kB / 0.5126 GB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.1753, allocations: 28.03 kB / 0.5127 GB, free: 1.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.1758, allocations: 323.7 kB / 0.513 GB, free: 1.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.176, allocations: 0.7201 MB / 0.5137 GB, free: 356 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.248e-05/0.1761, allocations: 29.09 kB / 0.5137 GB, free: 328 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/0.1762, allocations: 39.41 kB / 0.5137 GB, free: 288 kB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1762, allocations: 0 / 0.5137 GB, free: 288 kB / 382.1 MB Notification: Performance of Templates: time 0.00763/0.1838, allocations: 3.698 MB / 0.5173 GB, free: 12.6 MB / 398.1 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)