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.005442/0.005442, allocations: 99.86 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.001181/0.001181, allocations: 202.8 kB / 16.68 MB, free: 5.965 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.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 4.293 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4666/0.4666, allocations: 54.94 MB / 324.8 MB, free: 156 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.001447/0.001447, allocations: 71.55 kB / 456.2 MB, free: 38.3 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1421, allocations: 59.59 MB / 0.5037 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonths): time 0.002568/0.1447, allocations: 1.424 MB / 0.5051 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00086/0.1456, allocations: 416.6 kB / 0.5055 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.296e-05/0.1457, allocations: 7.938 kB / 0.5055 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.627e-05/0.1457, allocations: 11.86 kB / 0.5055 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.1459, allocations: 13.38 kB / 0.5055 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006915/0.1466, allocations: 250.4 kB / 0.5058 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.1469, allocations: 291.1 kB / 0.506 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.945e-05/0.147, allocations: 15.77 kB / 0.506 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.1472, allocations: 184.9 kB / 0.5062 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.1475, allocations: 102 kB / 0.5063 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.251e-05/0.1475, allocations: 16.62 kB / 0.5063 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.779e-05/0.1476, allocations: 18.59 kB / 0.5064 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.616e-05/0.1477, allocations: 62.98 kB / 0.5064 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.1478, allocations: 103.4 kB / 0.5065 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1481, allocations: 228.5 kB / 0.5067 GB, free: 7.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1481, allocations: 0 / 0.5067 GB, free: 7.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1481, allocations: 3.938 kB / 0.5067 GB, free: 7.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1481, allocations: 0 / 0.5067 GB, free: 7.691 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.001016/0.1492, allocations: 0.6371 MB / 0.5074 GB, free: 7.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1492, allocations: 9.375 kB / 0.5074 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.085e-05/0.1493, allocations: 28.58 kB / 0.5074 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1495, allocations: 245 kB / 0.5076 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.1496, allocations: 11.33 kB / 0.5076 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.1496, allocations: 18.28 kB / 0.5077 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.1499, allocations: 140.3 kB / 0.5078 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1499, allocations: 192 / 0.5078 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.1499, allocations: 7.938 kB / 0.5078 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1499, allocations: 4 kB / 0.5078 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.1501, allocations: 47.97 kB / 0.5078 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.1503, allocations: 289.3 kB / 0.5081 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.1505, allocations: 134.6 kB / 0.5082 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.1507, allocations: 56.83 kB / 0.5083 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.1507, allocations: 4 kB / 0.5083 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003462/0.151, allocations: 203.1 kB / 0.5085 GB, free: 5.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.1511, allocations: 0 / 0.5085 GB, free: 5.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004869/0.1515, allocations: 267.5 kB / 0.5088 GB, free: 5.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.1516, allocations: 59.41 kB / 0.5088 GB, free: 5.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1517, allocations: 224.1 kB / 0.509 GB, free: 5.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.1518, allocations: 37.69 kB / 0.5091 GB, free: 5.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.1518, allocations: 97.09 kB / 0.5092 GB, free: 5.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.1519, allocations: 43.67 kB / 0.5092 GB, free: 5.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.152, allocations: 93.8 kB / 0.5093 GB, free: 5.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.1521, allocations: 322.8 kB / 0.5096 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.1523, allocations: 104.1 kB / 0.5097 GB, free: 4.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.1525, allocations: 138.4 kB / 0.5098 GB, free: 4.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.1528, allocations: 237.2 kB / 0.5101 GB, free: 4.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1528, allocations: 4 kB / 0.5101 GB, free: 4.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005281/0.1533, allocations: 400.5 kB / 0.5104 GB, free: 3.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.1534, allocations: 75.38 kB / 0.5105 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1534, allocations: 8.188 kB / 0.5105 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1534, allocations: 0 / 0.5105 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1536, allocations: 27.86 kB / 0.5105 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1536, allocations: 4 kB / 0.5105 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/0.154, allocations: 63.78 kB / 0.5106 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-05/0.1541, allocations: 43.98 kB / 0.5107 GB, free: 3.551 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.0001233/0.1542, allocations: 168 kB / 0.5108 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.1543, allocations: 19.86 kB / 0.5108 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.1543, allocations: 25.86 kB / 0.5109 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1543, allocations: 3.938 kB / 0.5109 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1543, allocations: 0 / 0.5109 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1543, allocations: 3.984 kB / 0.5109 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.1549, allocations: 0.5313 MB / 0.5114 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1549, allocations: 3.938 kB / 0.5114 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.155, allocations: 16 kB / 0.5114 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.155, allocations: 0 / 0.5114 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.155, allocations: 11.97 kB / 0.5114 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.155, allocations: 4 kB / 0.5114 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.155, allocations: 0 / 0.5114 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.1554, allocations: 303.3 kB / 0.5117 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.1555, allocations: 140.8 kB / 0.5118 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.1555, allocations: 11.98 kB / 0.5118 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.1557, allocations: 11.98 kB / 0.5119 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.1558, allocations: 19.92 kB / 0.5119 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.1558, allocations: 23.98 kB / 0.5119 GB, free: 2.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.1559, allocations: 165.6 kB / 0.5121 GB, free: 2.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1559, allocations: 0 / 0.5121 GB, free: 2.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.1562, allocations: 48 kB / 0.5121 GB, free: 1.961 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.478e-05/0.1563, allocations: 107.2 kB / 0.5122 GB, free: 1.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004486/0.1568, allocations: 348.7 kB / 0.5125 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1568, allocations: 0 / 0.5125 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.1569, allocations: 71.84 kB / 0.5126 GB, free: 1.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.1573, allocations: 39.34 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.0004912/0.1578, allocations: 315.8 kB / 0.5129 GB, free: 1.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.1579, allocations: 0.7201 MB / 0.5137 GB, free: 312 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.578e-05/0.158, allocations: 29.08 kB / 0.5137 GB, free: 284 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.86e-05/0.1581, allocations: 39.41 kB / 0.5137 GB, free: 244 kB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1581, allocations: 0 / 0.5137 GB, free: 244 kB / 382.1 MB Notification: Performance of Templates: time 0.006706/0.1648, allocations: 3.698 MB / 0.5173 GB, free: 12.55 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)