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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009234/0.009234, allocations: 104.2 kB / 15.73 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.001835/0.001835, allocations: 190.2 kB / 16.67 MB, free: 5.871 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.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 4.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4671/0.4671, allocations: 54.95 MB / 324.9 MB, free: 56 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.001505/0.001505, allocations: 69.53 kB / 456.3 MB, free: 38.62 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1581, allocations: 59.59 MB / 0.5038 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002476/0.1607, allocations: 1.445 MB / 0.5052 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1618, allocations: 412.5 kB / 0.5056 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.655e-05/0.1619, allocations: 5.656 kB / 0.5056 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.507e-05/0.1619, allocations: 7.938 kB / 0.5056 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.1621, allocations: 21.03 kB / 0.5056 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007559/0.1629, allocations: 234.2 kB / 0.5059 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.1632, allocations: 303.2 kB / 0.5061 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.629e-05/0.1633, allocations: 8.422 kB / 0.5061 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.1636, allocations: 188 kB / 0.5063 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.1638, allocations: 102.2 kB / 0.5064 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.759e-05/0.1639, allocations: 17.88 kB / 0.5064 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.965e-05/0.164, allocations: 20.44 kB / 0.5065 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.189e-05/0.1641, allocations: 56.5 kB / 0.5065 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.1642, allocations: 107 kB / 0.5066 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.1645, allocations: 228 kB / 0.5068 GB, free: 7.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1645, allocations: 3.938 kB / 0.5068 GB, free: 7.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1645, allocations: 0.9375 kB / 0.5068 GB, free: 7.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1645, allocations: 0 / 0.5068 GB, free: 7.629 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.001034/0.1656, allocations: 0.6327 MB / 0.5075 GB, free: 7.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.1656, allocations: 10.31 kB / 0.5075 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.643e-05/0.1657, allocations: 32.03 kB / 0.5075 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.1659, allocations: 240 kB / 0.5077 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.166, allocations: 12.44 kB / 0.5077 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.166, allocations: 20.36 kB / 0.5078 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.1663, allocations: 138.1 kB / 0.5079 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1663, allocations: 4.188 kB / 0.5079 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.1663, allocations: 7.922 kB / 0.5079 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1663, allocations: 4 kB / 0.5079 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.1665, allocations: 47.92 kB / 0.508 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.1668, allocations: 293.3 kB / 0.5082 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.167, allocations: 126.7 kB / 0.5084 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1672, allocations: 56.83 kB / 0.5084 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1672, allocations: 7.938 kB / 0.5084 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003766/0.1676, allocations: 199.1 kB / 0.5086 GB, free: 5.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.1676, allocations: 0 / 0.5086 GB, free: 5.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005374/0.1681, allocations: 271.8 kB / 0.5089 GB, free: 5.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.1682, allocations: 71.33 kB / 0.5089 GB, free: 5.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.1683, allocations: 224.1 kB / 0.5091 GB, free: 5.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.1684, allocations: 33.7 kB / 0.5092 GB, free: 5.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.1684, allocations: 101 kB / 0.5093 GB, free: 5.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.1685, allocations: 39.75 kB / 0.5093 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.1686, allocations: 89.86 kB / 0.5094 GB, free: 4.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.388e-05/0.1687, allocations: 326.8 kB / 0.5097 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.1689, allocations: 92.16 kB / 0.5098 GB, free: 4.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.1691, allocations: 134.4 kB / 0.5099 GB, free: 4.344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.1693, allocations: 249.1 kB / 0.5102 GB, free: 4.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1693, allocations: 0 / 0.5102 GB, free: 4.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000529/0.1699, allocations: 400.6 kB / 0.5105 GB, free: 3.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.064e-05/0.1699, allocations: 75.39 kB / 0.5106 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.17, allocations: 8.188 kB / 0.5106 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.17, allocations: 0 / 0.5106 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.1702, allocations: 31.84 kB / 0.5107 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1702, allocations: 4 kB / 0.5107 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/0.1706, allocations: 63.78 kB / 0.5107 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.1707, allocations: 43.98 kB / 0.5108 GB, free: 3.422 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.0001385/0.1708, allocations: 160 kB / 0.5109 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.1709, allocations: 19.86 kB / 0.5109 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.1709, allocations: 25.86 kB / 0.511 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.1709, allocations: 3.938 kB / 0.511 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1709, allocations: 0 / 0.511 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.171, allocations: 0 / 0.511 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006029/0.1716, allocations: 0.5334 MB / 0.5115 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1716, allocations: 3.938 kB / 0.5115 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.1716, allocations: 15.98 kB / 0.5115 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1716, allocations: 0 / 0.5115 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.1717, allocations: 11.98 kB / 0.5115 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1717, allocations: 0 / 0.5115 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1717, allocations: 4 kB / 0.5115 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.172, allocations: 312.9 kB / 0.5118 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.1721, allocations: 136.8 kB / 0.5119 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.313e-05/0.1722, allocations: 12 kB / 0.512 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.1724, allocations: 15.98 kB / 0.512 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.1725, allocations: 15.97 kB / 0.512 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.1725, allocations: 27.98 kB / 0.512 GB, free: 2.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.1726, allocations: 165.5 kB / 0.5122 GB, free: 1.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1726, allocations: 0 / 0.5122 GB, free: 1.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.1729, allocations: 51.98 kB / 0.5122 GB, free: 1.828 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.0001229/0.173, allocations: 111.2 kB / 0.5123 GB, free: 1.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004413/0.1735, allocations: 342.5 kB / 0.5127 GB, free: 1.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1735, allocations: 3.938 kB / 0.5127 GB, free: 1.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.1736, allocations: 69.92 kB / 0.5127 GB, free: 1.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.174, allocations: 28.03 kB / 0.5128 GB, free: 1.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.1745, 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.0001482/0.1746, allocations: 0.7279 MB / 0.5138 GB, free: 180 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.116e-05/0.1747, allocations: 29.08 kB / 0.5138 GB, free: 152 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.644e-05/0.1748, allocations: 31.42 kB / 0.5138 GB, free: 120 kB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1748, allocations: 0 / 0.5138 GB, free: 120 kB / 382.1 MB Notification: Performance of Templates: time 0.007075/0.1819, allocations: 3.709 MB / 0.5174 GB, free: 12.43 MB / 398.1 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)