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.006472/0.006473, allocations: 103.7 kB / 15.74 MB, free: 5.953 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.001165/0.001165, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.548/1.548, allocations: 205.1 MB / 222.6 MB, free: 4.367 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4233/0.4233, allocations: 54.94 MB / 324.8 MB, free: 96 kB / 254.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.00172/0.00172, allocations: 69 kB / 456.3 MB, free: 38.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.152, allocations: 59.59 MB / 0.5038 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonths): time 0.002681/0.1548, allocations: 1.443 MB / 0.5052 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008978/0.1557, allocations: 416.4 kB / 0.5056 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.1558, allocations: 1.062 kB / 0.5056 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.365e-05/0.1558, allocations: 7.875 kB / 0.5056 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.1559, allocations: 21.8 kB / 0.5056 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.1566, allocations: 238.5 kB / 0.5058 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003772/0.157, allocations: 298.5 kB / 0.5061 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.535e-05/0.157, allocations: 9.047 kB / 0.5061 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.1573, allocations: 184.1 kB / 0.5063 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.1576, allocations: 106.2 kB / 0.5064 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.1576, allocations: 17.09 kB / 0.5064 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.44e-05/0.1577, allocations: 18.09 kB / 0.5064 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.1578, allocations: 59.53 kB / 0.5065 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1579, allocations: 99.22 kB / 0.5066 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.1582, allocations: 227.7 kB / 0.5068 GB, free: 7.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.1582, allocations: 5.375 kB / 0.5068 GB, free: 7.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.1583, allocations: 7.922 kB / 0.5068 GB, free: 7.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1583, allocations: 3.938 kB / 0.5068 GB, free: 7.281 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.001093/0.1594, allocations: 0.629 MB / 0.5074 GB, free: 6.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1594, allocations: 9.625 kB / 0.5074 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.952e-05/0.1595, allocations: 23.88 kB / 0.5075 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.1597, allocations: 237.2 kB / 0.5077 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.1598, allocations: 11.25 kB / 0.5077 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.378e-05/0.1599, allocations: 22.12 kB / 0.5077 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.1601, allocations: 142.1 kB / 0.5079 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.1602, allocations: 192 / 0.5079 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.1602, allocations: 9.312 kB / 0.5079 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1602, allocations: 5.359 kB / 0.5079 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.1603, allocations: 48.59 kB / 0.5079 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.1606, allocations: 288.3 kB / 0.5082 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.1609, allocations: 122.2 kB / 0.5083 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.1611, allocations: 57.64 kB / 0.5084 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.1611, allocations: 9.281 kB / 0.5084 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004302/0.1615, allocations: 208.9 kB / 0.5086 GB, free: 5.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.813e-06/0.1615, allocations: 0 / 0.5086 GB, free: 5.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005381/0.1621, allocations: 265.5 kB / 0.5088 GB, free: 5.496 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.1621, allocations: 63.39 kB / 0.5089 GB, free: 5.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1623, allocations: 228 kB / 0.5091 GB, free: 5.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.1623, allocations: 37.7 kB / 0.5091 GB, free: 5.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.1624, allocations: 89.14 kB / 0.5092 GB, free: 5.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.1624, allocations: 51.38 kB / 0.5093 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.1626, allocations: 93.8 kB / 0.5094 GB, free: 4.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.935e-05/0.1626, allocations: 318.8 kB / 0.5097 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.1628, allocations: 92.17 kB / 0.5098 GB, free: 4.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.163, allocations: 142.4 kB / 0.5099 GB, free: 4.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.1633, allocations: 249.1 kB / 0.5101 GB, free: 4.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1633, allocations: 0 / 0.5101 GB, free: 4.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005313/0.1638, allocations: 396.6 kB / 0.5105 GB, free: 3.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.962e-05/0.1639, allocations: 71.39 kB / 0.5106 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1639, allocations: 0 / 0.5106 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1639, allocations: 4 kB / 0.5106 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.1641, allocations: 36.03 kB / 0.5106 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1641, allocations: 4 kB / 0.5106 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.1646, allocations: 63.73 kB / 0.5107 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.1646, allocations: 39.98 kB / 0.5107 GB, free: 3.426 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.0001342/0.1648, allocations: 156 kB / 0.5109 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.1648, allocations: 27.81 kB / 0.5109 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.1649, allocations: 17.88 kB / 0.5109 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1649, allocations: 7.938 kB / 0.5109 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1649, allocations: 3.984 kB / 0.5109 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1649, allocations: 0 / 0.5109 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006131/0.1655, allocations: 0.5294 MB / 0.5114 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.1655, allocations: 3.938 kB / 0.5114 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.1656, allocations: 4 kB / 0.5114 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1656, allocations: 7.984 kB / 0.5115 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.1656, allocations: 15.98 kB / 0.5115 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1656, allocations: 0 / 0.5115 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1656, allocations: 0 / 0.5115 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.166, allocations: 308.8 kB / 0.5118 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.1661, allocations: 152.6 kB / 0.5119 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.1661, allocations: 8 kB / 0.5119 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.1663, allocations: 11.98 kB / 0.5119 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.1664, allocations: 19.98 kB / 0.5119 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.1664, allocations: 23.97 kB / 0.512 GB, free: 2.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.647e-05/0.1666, allocations: 169.5 kB / 0.5121 GB, free: 1.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1666, allocations: 0 / 0.5121 GB, free: 1.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.1669, allocations: 44 kB / 0.5122 GB, free: 1.836 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.842e-05/0.167, allocations: 115.2 kB / 0.5123 GB, free: 1.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004516/0.1674, allocations: 333.1 kB / 0.5126 GB, free: 1.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1674, allocations: 4.125 kB / 0.5126 GB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.1676, allocations: 79.8 kB / 0.5127 GB, free: 1.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1679, allocations: 31.95 kB / 0.5127 GB, free: 1.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.1684, allocations: 311.8 kB / 0.513 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.1686, allocations: 0.7279 MB / 0.5137 GB, free: 180 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.597e-05/0.1687, allocations: 33.08 kB / 0.5138 GB, free: 148 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.075e-05/0.1688, allocations: 35.42 kB / 0.5138 GB, free: 112 kB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1688, allocations: 0 / 0.5138 GB, free: 112 kB / 382.1 MB Notification: Performance of Templates: time 0.007175/0.176, allocations: 3.697 MB / 0.5174 GB, free: 12.43 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)