Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009129/0.009129, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.001927/0.001927, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.608/1.608, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3944/0.3944, allocations: 54.94 MB / 324.8 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.001506/0.001506, allocations: 71.56 kB / 456.2 MB, free: 38.14 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1507, allocations: 59.59 MB / 0.5037 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonths): time 0.002617/0.1534, allocations: 1.439 MB / 0.5051 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009623/0.1543, allocations: 415.9 kB / 0.5055 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.1544, allocations: 5.062 kB / 0.5055 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.8e-05/0.1545, allocations: 7.922 kB / 0.5055 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.1546, allocations: 13.06 kB / 0.5055 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007137/0.1553, allocations: 242.8 kB / 0.5057 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003739/0.1557, allocations: 298.8 kB / 0.506 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.1558, allocations: 8.578 kB / 0.506 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.1561, allocations: 193.4 kB / 0.5062 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.1563, allocations: 100.9 kB / 0.5063 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.99e-05/0.1563, allocations: 17.88 kB / 0.5063 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.363e-05/0.1564, allocations: 17.88 kB / 0.5063 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.241e-05/0.1565, allocations: 64.42 kB / 0.5064 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1566, allocations: 99 kB / 0.5065 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.1569, allocations: 228.2 kB / 0.5067 GB, free: 7.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1569, allocations: 0 / 0.5067 GB, free: 7.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1569, allocations: 3.938 kB / 0.5067 GB, free: 7.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.1569, allocations: 4 kB / 0.5067 GB, free: 7.359 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.001071/0.158, allocations: 0.6328 MB / 0.5073 GB, free: 6.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.158, allocations: 9.625 kB / 0.5074 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/0.1581, allocations: 23.88 kB / 0.5074 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1584, allocations: 237.2 kB / 0.5076 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.1584, allocations: 15.23 kB / 0.5076 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.443e-05/0.1585, allocations: 23.44 kB / 0.5076 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.1588, allocations: 147.5 kB / 0.5078 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1588, allocations: 1.562 kB / 0.5078 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.1588, allocations: 7.938 kB / 0.5078 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1588, allocations: 2.75 kB / 0.5078 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.159, allocations: 43.28 kB / 0.5078 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.1593, allocations: 284.9 kB / 0.5081 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.1596, allocations: 130.5 kB / 0.5082 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.1597, allocations: 52.19 kB / 0.5083 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.1597, allocations: 10 kB / 0.5083 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004143/0.1602, allocations: 204.8 kB / 0.5085 GB, free: 5.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.743e-06/0.1602, allocations: 0 / 0.5085 GB, free: 5.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005844/0.1608, allocations: 265.3 kB / 0.5087 GB, free: 5.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.1608, allocations: 55.44 kB / 0.5088 GB, free: 5.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.161, allocations: 229.8 kB / 0.509 GB, free: 5.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.161, allocations: 45.69 kB / 0.5091 GB, free: 5.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.1611, allocations: 89.14 kB / 0.5091 GB, free: 5.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.1611, allocations: 51.38 kB / 0.5092 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.1612, allocations: 85.81 kB / 0.5093 GB, free: 5.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.1613, allocations: 322.8 kB / 0.5096 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.1615, allocations: 100.2 kB / 0.5097 GB, free: 4.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.1617, allocations: 142.4 kB / 0.5098 GB, free: 4.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.1619, allocations: 245.2 kB / 0.51 GB, free: 4.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.162, allocations: 0 / 0.51 GB, free: 4.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005252/0.1625, allocations: 400.5 kB / 0.5104 GB, free: 3.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/0.1625, allocations: 75.38 kB / 0.5105 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1626, allocations: 0 / 0.5105 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1626, allocations: 4 kB / 0.5105 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.1628, allocations: 23.92 kB / 0.5105 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1628, allocations: 3.938 kB / 0.5105 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.1632, allocations: 67.92 kB / 0.5106 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.1633, allocations: 43.98 kB / 0.5106 GB, free: 3.602 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.0001335/0.1634, allocations: 156.1 kB / 0.5108 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.1634, allocations: 19.75 kB / 0.5108 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.786e-05/0.1635, allocations: 29.86 kB / 0.5108 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1635, allocations: 7.938 kB / 0.5108 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1635, allocations: 3.938 kB / 0.5108 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1635, allocations: 0 / 0.5108 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006394/0.1642, allocations: 0.5312 MB / 0.5114 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1642, allocations: 3.938 kB / 0.5114 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.1642, allocations: 7.938 kB / 0.5114 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.1642, allocations: 0 / 0.5114 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.1643, allocations: 15.98 kB / 0.5114 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1643, allocations: 0 / 0.5114 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1643, allocations: 7.984 kB / 0.5114 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.1647, allocations: 303.2 kB / 0.5117 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.1648, allocations: 144.6 kB / 0.5118 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.1648, allocations: 11.98 kB / 0.5118 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.165, allocations: 11.98 kB / 0.5118 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.1651, allocations: 15.98 kB / 0.5119 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.1651, allocations: 19.98 kB / 0.5119 GB, free: 2.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.822e-05/0.1652, allocations: 169.6 kB / 0.512 GB, free: 2.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1652, allocations: 4 kB / 0.512 GB, free: 2.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000283/0.1655, allocations: 44 kB / 0.5121 GB, free: 2.016 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 0.0001074/0.1656, allocations: 111.2 kB / 0.5122 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004336/0.1661, allocations: 340.8 kB / 0.5125 GB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1661, allocations: 384 / 0.5125 GB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.1662, allocations: 83.8 kB / 0.5126 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.1666, allocations: 32.02 kB / 0.5126 GB, free: 1.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/0.1671, allocations: 315.7 kB / 0.5129 GB, free: 1.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.1673, allocations: 0.7162 MB / 0.5136 GB, free: 368 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.721e-05/0.1674, allocations: 37.08 kB / 0.5137 GB, free: 332 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.1674, allocations: 35.42 kB / 0.5137 GB, free: 296 kB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1675, allocations: 0 / 0.5137 GB, free: 296 kB / 382.1 MB Notification: Performance of Templates: time 0.007014/0.1745, allocations: 3.69 MB / 0.5173 GB, free: 12.61 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)