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.008446/0.008446, allocations: 105.9 kB / 15.73 MB, free: 6 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.001335/0.001335, allocations: 189 kB / 16.67 MB, free: 5.926 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.561/1.561, allocations: 205.1 MB / 222.6 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.4255/0.4255, allocations: 54.95 MB / 324.9 MB, free: 15.99 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.00149/0.00149, allocations: 68.95 kB / 456.2 MB, free: 38.58 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1323, allocations: 59.58 MB / 0.5037 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002393/0.1347, allocations: 1.453 MB / 0.5051 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1357, allocations: 408.6 kB / 0.5055 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.1358, allocations: 0 / 0.5055 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.054e-05/0.1359, allocations: 5.031 kB / 0.5055 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.1361, allocations: 20.56 kB / 0.5055 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007303/0.1368, allocations: 245.1 kB / 0.5057 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.1372, allocations: 307.5 kB / 0.506 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.418e-05/0.1372, allocations: 8.062 kB / 0.506 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.1376, allocations: 189.5 kB / 0.5062 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.1378, allocations: 104.7 kB / 0.5063 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.04e-05/0.1379, allocations: 17.88 kB / 0.5063 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.414e-05/0.1379, allocations: 17.88 kB / 0.5064 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.1381, allocations: 56.44 kB / 0.5064 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1382, allocations: 107 kB / 0.5065 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.1385, allocations: 228.1 kB / 0.5067 GB, free: 7.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.1385, allocations: 3.984 kB / 0.5067 GB, free: 7.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.1385, allocations: 0 / 0.5067 GB, free: 7.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1385, allocations: 4 kB / 0.5067 GB, free: 7.719 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.001246/0.1398, allocations: 0.6336 MB / 0.5074 GB, free: 7.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.1399, allocations: 8.75 kB / 0.5074 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.14, allocations: 24.44 kB / 0.5074 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.1403, allocations: 240.7 kB / 0.5076 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.1403, allocations: 11.5 kB / 0.5076 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/0.1404, allocations: 14.69 kB / 0.5076 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.1407, allocations: 151.2 kB / 0.5078 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1407, allocations: 8.109 kB / 0.5078 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.1407, allocations: 3.938 kB / 0.5078 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.1407, allocations: 4 kB / 0.5078 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.1409, allocations: 43.97 kB / 0.5078 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.1412, allocations: 285.5 kB / 0.5081 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.1414, allocations: 130.8 kB / 0.5082 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.1415, allocations: 56.83 kB / 0.5083 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.1416, allocations: 4 kB / 0.5083 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004159/0.142, allocations: 203.1 kB / 0.5085 GB, free: 5.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.142, allocations: 0 / 0.5085 GB, free: 5.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005122/0.1425, allocations: 267.7 kB / 0.5088 GB, free: 5.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1426, allocations: 63.39 kB / 0.5088 GB, free: 5.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.1427, allocations: 224 kB / 0.509 GB, free: 5.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.1428, allocations: 45.7 kB / 0.5091 GB, free: 5.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.1428, allocations: 85.14 kB / 0.5091 GB, free: 5.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.1429, allocations: 43.45 kB / 0.5092 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.143, allocations: 97.78 kB / 0.5093 GB, free: 5.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.695e-05/0.143, allocations: 322.8 kB / 0.5096 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.1432, allocations: 88.17 kB / 0.5097 GB, free: 4.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.1434, allocations: 150.3 kB / 0.5098 GB, free: 4.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.1437, allocations: 245.1 kB / 0.5101 GB, free: 4.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1437, allocations: 0 / 0.5101 GB, free: 4.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005352/0.1442, allocations: 392.6 kB / 0.5104 GB, free: 3.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/0.1443, allocations: 75.39 kB / 0.5105 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1443, allocations: 4 kB / 0.5105 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.1443, allocations: 8 kB / 0.5105 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.1445, allocations: 31.84 kB / 0.5105 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1445, allocations: 0 / 0.5105 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.145, allocations: 63.98 kB / 0.5106 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/0.1451, allocations: 43.98 kB / 0.5106 GB, free: 3.586 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.0001574/0.1452, allocations: 156 kB / 0.5108 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.1453, allocations: 15.81 kB / 0.5108 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.707e-05/0.1453, allocations: 25.88 kB / 0.5108 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.1453, allocations: 7.922 kB / 0.5108 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1453, allocations: 0 / 0.5108 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1454, allocations: 4 kB / 0.5108 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006886/0.1461, allocations: 0.5333 MB / 0.5114 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1461, allocations: 3.938 kB / 0.5114 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.1461, allocations: 8 kB / 0.5114 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1461, allocations: 7.969 kB / 0.5114 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.1461, allocations: 15.92 kB / 0.5114 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1462, allocations: 4 kB / 0.5114 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1462, allocations: 4 kB / 0.5114 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.1465, allocations: 308.8 kB / 0.5117 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.1466, allocations: 144.6 kB / 0.5118 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.1467, allocations: 8 kB / 0.5118 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.1469, allocations: 11.98 kB / 0.5119 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.1469, allocations: 11.98 kB / 0.5119 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.147, allocations: 31.97 kB / 0.5119 GB, free: 2.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.355e-05/0.1471, allocations: 165.6 kB / 0.5121 GB, free: 2.039 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1471, allocations: 0 / 0.5121 GB, free: 2.039 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002842/0.1474, allocations: 44 kB / 0.5121 GB, free: 1.996 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.0001114/0.1475, allocations: 115.2 kB / 0.5122 GB, free: 1.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000436/0.1479, allocations: 330.6 kB / 0.5125 GB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1479, allocations: 384 / 0.5125 GB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.1481, allocations: 77.84 kB / 0.5126 GB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.1484, allocations: 36.02 kB / 0.5126 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004942/0.1489, allocations: 303.4 kB / 0.5129 GB, free: 1.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.1491, allocations: 0.724 MB / 0.5136 GB, free: 360 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.101e-05/0.1492, allocations: 37.08 kB / 0.5137 GB, free: 324 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.652e-05/0.1493, allocations: 27.42 kB / 0.5137 GB, free: 296 kB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1493, allocations: 4 kB / 0.5137 GB, free: 292 kB / 382.1 MB Notification: Performance of Templates: time 0.006839/0.1561, allocations: 3.705 MB / 0.5173 GB, free: 12.6 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)