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.007807/0.007807, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001311/0.001312, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.533/1.533, allocations: 205.1 MB / 222.6 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4392/0.4392, allocations: 54.95 MB / 324.8 MB, free: 112 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.001478/0.001478, allocations: 68.5 kB / 456.3 MB, free: 38.28 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1353, allocations: 59.59 MB / 0.5038 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonths): time 0.002825/0.1381, allocations: 1.44 MB / 0.5052 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009052/0.1391, allocations: 416.6 kB / 0.5056 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.765e-05/0.1391, allocations: 5.312 kB / 0.5056 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.833e-05/0.1392, allocations: 3.938 kB / 0.5056 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.1393, allocations: 21.36 kB / 0.5056 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000693/0.14, allocations: 243 kB / 0.5058 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.1404, allocations: 301.5 kB / 0.5061 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.1404, allocations: 9.609 kB / 0.5061 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.1407, allocations: 188.7 kB / 0.5063 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.1409, allocations: 101.7 kB / 0.5064 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.141, allocations: 17.62 kB / 0.5064 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.115e-05/0.141, allocations: 18.06 kB / 0.5064 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.1411, allocations: 59.58 kB / 0.5065 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1413, allocations: 104.1 kB / 0.5066 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.1416, allocations: 231.2 kB / 0.5068 GB, free: 7.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.1416, allocations: 0 / 0.5068 GB, free: 7.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1416, allocations: 3.938 kB / 0.5068 GB, free: 7.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1416, allocations: 5.406 kB / 0.5068 GB, free: 7.461 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.001189/0.1428, allocations: 0.6255 MB / 0.5074 GB, free: 6.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.1429, allocations: 8.062 kB / 0.5074 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.143, allocations: 29.27 kB / 0.5075 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.1433, allocations: 235.8 kB / 0.5077 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.1433, allocations: 11.25 kB / 0.5077 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-05/0.1434, allocations: 19.48 kB / 0.5077 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.1438, allocations: 146.4 kB / 0.5079 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1438, allocations: 4.125 kB / 0.5079 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.1438, allocations: 13.11 kB / 0.5079 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.1438, allocations: 1.5 kB / 0.5079 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.144, allocations: 43.31 kB / 0.5079 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.1443, allocations: 288.3 kB / 0.5082 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.1446, allocations: 124.8 kB / 0.5083 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.1448, allocations: 60.83 kB / 0.5084 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.1448, allocations: 0 / 0.5084 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004052/0.1452, allocations: 203.1 kB / 0.5086 GB, free: 5.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.1452, allocations: 0 / 0.5086 GB, free: 5.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005387/0.1458, allocations: 267.5 kB / 0.5088 GB, free: 5.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.1458, allocations: 59.41 kB / 0.5089 GB, free: 5.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.146, allocations: 228 kB / 0.5091 GB, free: 5.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.1461, allocations: 41.7 kB / 0.5091 GB, free: 5.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.1461, allocations: 93.12 kB / 0.5092 GB, free: 5.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.1462, allocations: 51.38 kB / 0.5093 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.1463, allocations: 89.81 kB / 0.5094 GB, free: 4.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.472e-05/0.1464, allocations: 318.8 kB / 0.5097 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.1466, allocations: 92.16 kB / 0.5097 GB, free: 4.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.1468, allocations: 142.4 kB / 0.5099 GB, free: 4.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.147, allocations: 249.1 kB / 0.5101 GB, free: 4.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.147, allocations: 0 / 0.5101 GB, free: 4.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005216/0.1476, allocations: 392.6 kB / 0.5105 GB, free: 3.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.369e-05/0.1476, allocations: 75.39 kB / 0.5106 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1477, allocations: 0 / 0.5106 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.1477, allocations: 4 kB / 0.5106 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.1478, allocations: 31.84 kB / 0.5106 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.1479, allocations: 4 kB / 0.5106 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/0.1484, allocations: 67.92 kB / 0.5107 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.45e-05/0.1484, allocations: 39.98 kB / 0.5107 GB, free: 3.445 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.000162/0.1486, allocations: 160 kB / 0.5109 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.1486, allocations: 19.81 kB / 0.5109 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/0.1487, allocations: 21.86 kB / 0.5109 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.1487, allocations: 11.94 kB / 0.5109 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.1487, allocations: 0 / 0.5109 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1487, allocations: 0 / 0.5109 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000694/0.1494, allocations: 0.5333 MB / 0.5114 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1494, allocations: 3.938 kB / 0.5114 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.1495, allocations: 11.98 kB / 0.5114 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1495, allocations: 4 kB / 0.5115 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.1495, allocations: 11.98 kB / 0.5115 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1495, allocations: 0 / 0.5115 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1495, allocations: 7.938 kB / 0.5115 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.1499, allocations: 313 kB / 0.5118 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.15, allocations: 140.6 kB / 0.5119 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.1501, allocations: 11.98 kB / 0.5119 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.1503, allocations: 12 kB / 0.5119 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.1504, allocations: 15.97 kB / 0.5119 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.1504, allocations: 23.98 kB / 0.512 GB, free: 2.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1505, allocations: 169.6 kB / 0.5121 GB, free: 1.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1505, allocations: 0 / 0.5121 GB, free: 1.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.1508, allocations: 43.98 kB / 0.5122 GB, free: 1.852 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.0001119/0.151, allocations: 115.2 kB / 0.5123 GB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004674/0.1514, allocations: 333 kB / 0.5126 GB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1514, allocations: 0 / 0.5126 GB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1516, allocations: 80.11 kB / 0.5127 GB, free: 1.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.1519, allocations: 32.03 kB / 0.5127 GB, free: 1.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/0.1525, allocations: 310.6 kB / 0.513 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.1527, allocations: 0.7279 MB / 0.5137 GB, free: 204 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.1528, allocations: 33.08 kB / 0.5137 GB, free: 172 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.882e-05/0.1529, allocations: 31.42 kB / 0.5138 GB, free: 140 kB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1529, allocations: 0 / 0.5138 GB, free: 140 kB / 382.1 MB Notification: Performance of Templates: time 0.007732/0.1606, allocations: 3.712 MB / 0.5174 GB, free: 12.44 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)