Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime") translateModel(Annex60.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005668/0.005668, allocations: 102 kB / 15.73 MB, free: 6.438 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.001296/0.001296, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.567/1.567, allocations: 205.1 MB / 222.5 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.429/0.429, allocations: 54.94 MB / 324.8 MB, free: 44 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.001749/0.001749, allocations: 68.92 kB / 456.3 MB, free: 38.06 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1425, allocations: 59.59 MB / 0.5038 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Examples.CalendarTime): time 0.002668/0.1452, allocations: 1.447 MB / 0.5052 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008476/0.146, allocations: 413.1 kB / 0.5056 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.1461, allocations: 0 / 0.5056 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.216e-05/0.1462, allocations: 7.922 kB / 0.5056 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.1463, allocations: 17.3 kB / 0.5056 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006653/0.147, allocations: 239 kB / 0.5058 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.1473, allocations: 309.3 kB / 0.5061 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.1474, allocations: 14 kB / 0.5061 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.1476, allocations: 188.3 kB / 0.5063 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.1478, allocations: 106.5 kB / 0.5064 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.1478, allocations: 17.62 kB / 0.5064 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.385e-05/0.1479, allocations: 17 kB / 0.5065 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.148, allocations: 56.14 kB / 0.5065 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.904e-05/0.1481, allocations: 98.7 kB / 0.5066 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.1483, allocations: 236.2 kB / 0.5068 GB, free: 7.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1483, allocations: 3.938 kB / 0.5068 GB, free: 7.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1483, allocations: 5.375 kB / 0.5068 GB, free: 7.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1483, allocations: 0 / 0.5068 GB, free: 7.234 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.0009796/0.1493, allocations: 0.629 MB / 0.5075 GB, free: 6.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1494, allocations: 9.625 kB / 0.5075 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.558e-05/0.1495, allocations: 23.88 kB / 0.5075 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.1497, allocations: 235.8 kB / 0.5077 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.1497, allocations: 16.61 kB / 0.5077 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/0.1498, allocations: 18.12 kB / 0.5077 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.1501, allocations: 145.6 kB / 0.5079 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1501, allocations: 4.172 kB / 0.5079 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.1501, allocations: 5.312 kB / 0.5079 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1501, allocations: 5.312 kB / 0.5079 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.1502, allocations: 44.47 kB / 0.5079 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.1505, allocations: 284.7 kB / 0.5082 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.1508, allocations: 129.3 kB / 0.5083 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.1509, allocations: 57.12 kB / 0.5084 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.1509, allocations: 6.453 kB / 0.5084 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003742/0.1513, allocations: 197.3 kB / 0.5086 GB, free: 5.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 2.134e-06/0.1513, allocations: 0 / 0.5086 GB, free: 5.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005128/0.1519, allocations: 275.4 kB / 0.5088 GB, free: 5.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.1519, allocations: 63.39 kB / 0.5089 GB, free: 5.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.152, allocations: 228 kB / 0.5091 GB, free: 5.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.1521, allocations: 37.7 kB / 0.5092 GB, free: 5.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.1521, allocations: 93.12 kB / 0.5092 GB, free: 5.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.1522, allocations: 43.45 kB / 0.5093 GB, free: 5.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.1523, allocations: 89.81 kB / 0.5094 GB, free: 4.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.074e-05/0.1524, allocations: 322.8 kB / 0.5097 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.1525, allocations: 92.16 kB / 0.5098 GB, free: 4.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.1527, allocations: 142.4 kB / 0.5099 GB, free: 4.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.153, allocations: 241.1 kB / 0.5101 GB, free: 4.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.153, allocations: 4 kB / 0.5101 GB, free: 4.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005087/0.1535, allocations: 396.6 kB / 0.5105 GB, free: 3.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/0.1536, allocations: 75.39 kB / 0.5106 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1536, allocations: 7.984 kB / 0.5106 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1536, allocations: 0 / 0.5106 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.1537, allocations: 32.05 kB / 0.5106 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1538, allocations: 4 kB / 0.5106 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.1542, allocations: 63.73 kB / 0.5107 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.1543, allocations: 43.98 kB / 0.5107 GB, free: 3.441 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0001457/0.1545, allocations: 157.8 kB / 0.5109 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.1545, allocations: 19.81 kB / 0.5109 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.1546, allocations: 33.84 kB / 0.5109 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1546, allocations: 3.938 kB / 0.5109 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1546, allocations: 0 / 0.5109 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1546, allocations: 0 / 0.5109 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/0.1552, allocations: 0.5333 MB / 0.5115 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.1552, allocations: 7.922 kB / 0.5115 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.1552, allocations: 8 kB / 0.5115 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1552, allocations: 0 / 0.5115 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.1553, allocations: 11.98 kB / 0.5115 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1553, allocations: 4 kB / 0.5115 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1553, allocations: 4 kB / 0.5115 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.1556, allocations: 312.8 kB / 0.5118 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.1557, allocations: 140.6 kB / 0.5119 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/0.1558, allocations: 11.98 kB / 0.5119 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.156, allocations: 11.98 kB / 0.5119 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.1561, allocations: 15.92 kB / 0.512 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.1561, allocations: 27.98 kB / 0.512 GB, free: 2.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.527e-05/0.1562, allocations: 169.6 kB / 0.5122 GB, free: 1.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1562, allocations: 3.938 kB / 0.5122 GB, free: 1.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.1565, allocations: 44 kB / 0.5122 GB, free: 1.84 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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.0001012/0.1566, allocations: 125.1 kB / 0.5123 GB, free: 1.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004474/0.1571, allocations: 328.8 kB / 0.5126 GB, free: 1.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1571, allocations: 4 kB / 0.5126 GB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1572, allocations: 72.19 kB / 0.5127 GB, free: 1.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.1575, allocations: 28.59 kB / 0.5127 GB, free: 1.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.158, allocations: 311.7 kB / 0.513 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.1582, allocations: 0.724 MB / 0.5137 GB, free: 188 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.795e-05/0.1583, allocations: 33.08 kB / 0.5138 GB, free: 156 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.836e-05/0.1584, allocations: 31.42 kB / 0.5138 GB, free: 124 kB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1584, allocations: 0 / 0.5138 GB, free: 124 kB / 382.1 MB Notification: Performance of Templates: time 0.007301/0.1657, allocations: 3.732 MB / 0.5174 GB, free: 12.41 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe 2>&1)