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.008831/0.008831, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001524/0.001524, allocations: 195.8 kB / 16.68 MB, free: 5.957 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.587/1.587, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4034/0.4034, allocations: 54.94 MB / 324.8 MB, free: 15.93 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.00165/0.00165, allocations: 67.69 kB / 456.2 MB, free: 38.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1381, allocations: 59.59 MB / 0.5037 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002183/0.1404, allocations: 1.445 MB / 0.5051 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007792/0.1412, allocations: 403.4 kB / 0.5055 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.1412, allocations: 1.531 kB / 0.5055 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.453e-05/0.1413, allocations: 11.92 kB / 0.5055 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.1414, allocations: 13.03 kB / 0.5055 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000634/0.142, allocations: 249.5 kB / 0.5057 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.1423, allocations: 298.2 kB / 0.506 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.1424, allocations: 9.719 kB / 0.506 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.1426, allocations: 193.2 kB / 0.5062 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.1428, allocations: 100.9 kB / 0.5063 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.1428, allocations: 17.88 kB / 0.5063 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.27e-05/0.1429, allocations: 17.88 kB / 0.5064 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.832e-05/0.143, allocations: 63.05 kB / 0.5064 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.1431, allocations: 100.4 kB / 0.5065 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.1434, allocations: 230.7 kB / 0.5067 GB, free: 7.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1434, allocations: 1.375 kB / 0.5067 GB, free: 7.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1434, allocations: 0 / 0.5067 GB, free: 7.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.1434, allocations: 4 kB / 0.5067 GB, free: 7.355 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.001022/0.1444, allocations: 0.6366 MB / 0.5074 GB, free: 6.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1445, allocations: 9.438 kB / 0.5074 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.532e-05/0.1446, allocations: 23.81 kB / 0.5074 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1448, allocations: 236.7 kB / 0.5076 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.1448, allocations: 15.95 kB / 0.5076 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.1449, allocations: 14.59 kB / 0.5076 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.1451, allocations: 148.8 kB / 0.5078 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.1452, allocations: 4.172 kB / 0.5078 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.1452, allocations: 5.875 kB / 0.5078 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1452, allocations: 1.156 kB / 0.5078 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.1453, allocations: 45.19 kB / 0.5078 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.1456, allocations: 287 kB / 0.5081 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1458, allocations: 134.5 kB / 0.5082 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.1459, allocations: 57.16 kB / 0.5083 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.146, allocations: 5.547 kB / 0.5083 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003168/0.1463, allocations: 197.5 kB / 0.5085 GB, free: 5.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.1463, allocations: 0 / 0.5085 GB, free: 5.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004854/0.1468, allocations: 270 kB / 0.5087 GB, free: 5.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.1468, allocations: 59.41 kB / 0.5088 GB, free: 5.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.147, allocations: 228 kB / 0.509 GB, free: 5.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.147, allocations: 41.7 kB / 0.5091 GB, free: 5.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.1471, allocations: 93.12 kB / 0.5091 GB, free: 5.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.1471, allocations: 47.44 kB / 0.5092 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.1473, allocations: 89.81 kB / 0.5093 GB, free: 5.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.342e-05/0.1473, allocations: 318.8 kB / 0.5096 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.1475, allocations: 96.09 kB / 0.5097 GB, free: 4.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.1477, allocations: 142.4 kB / 0.5098 GB, free: 4.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.1479, allocations: 249.1 kB / 0.51 GB, free: 4.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1479, allocations: 4 kB / 0.5101 GB, free: 4.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004952/0.1484, allocations: 392.6 kB / 0.5104 GB, free: 3.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/0.1485, allocations: 75.39 kB / 0.5105 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1485, allocations: 3.984 kB / 0.5105 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1485, allocations: 4 kB / 0.5105 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.1487, allocations: 27.86 kB / 0.5105 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.1487, allocations: 8.172 kB / 0.5105 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.1492, allocations: 63.8 kB / 0.5106 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.1492, allocations: 39.98 kB / 0.5106 GB, free: 3.547 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.0001272/0.1494, allocations: 160 kB / 0.5108 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.1494, allocations: 15.81 kB / 0.5108 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.1495, allocations: 29.86 kB / 0.5108 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1495, allocations: 7.938 kB / 0.5108 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1495, allocations: 0 / 0.5108 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1495, allocations: 0 / 0.5108 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005848/0.1501, allocations: 0.539 MB / 0.5114 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1501, allocations: 7.922 kB / 0.5114 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.1501, allocations: 4 kB / 0.5114 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1501, allocations: 0 / 0.5114 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.1502, allocations: 15.98 kB / 0.5114 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1502, allocations: 0 / 0.5114 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1502, allocations: 7.938 kB / 0.5114 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.1505, allocations: 307.2 kB / 0.5117 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1506, allocations: 140.6 kB / 0.5118 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.1507, allocations: 11.98 kB / 0.5118 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.1509, allocations: 15.98 kB / 0.5119 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.1509, allocations: 11.98 kB / 0.5119 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.151, allocations: 27.92 kB / 0.5119 GB, free: 2.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.1511, allocations: 173.6 kB / 0.5121 GB, free: 1.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1511, allocations: 0 / 0.5121 GB, free: 1.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.1514, allocations: 44 kB / 0.5121 GB, free: 1.949 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.000112/0.1515, allocations: 111.2 kB / 0.5122 GB, free: 1.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004378/0.152, allocations: 336.8 kB / 0.5125 GB, free: 1.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.152, allocations: 384 / 0.5125 GB, free: 1.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.1521, allocations: 75.81 kB / 0.5126 GB, free: 1.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.1524, allocations: 28.03 kB / 0.5126 GB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.1529, allocations: 311.3 kB / 0.5129 GB, free: 1.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.153, allocations: 0.724 MB / 0.5136 GB, free: 312 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.138e-05/0.1531, allocations: 33.08 kB / 0.5137 GB, free: 280 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/0.1532, allocations: 31.42 kB / 0.5137 GB, free: 248 kB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1532, allocations: 3.938 kB / 0.5137 GB, free: 244 kB / 382.1 MB Notification: Performance of Templates: time 0.00687/0.1601, allocations: 3.784 MB / 0.5174 GB, free: 12.46 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)