Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009279/0.009278, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002243/0.002243, allocations: 197.3 kB / 16.68 MB, free: 5.93 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.591/1.591, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.404/0.404, allocations: 54.94 MB / 324.8 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.001529/0.001529, allocations: 78.03 kB / 456.2 MB, free: 38.3 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1277, allocations: 59.58 MB / 0.5037 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003021/0.1307, allocations: 1.452 MB / 0.5051 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009029/0.1317, allocations: 403.9 kB / 0.5055 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.1317, allocations: 1.656 kB / 0.5055 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.404e-05/0.1318, allocations: 7.875 kB / 0.5055 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.132, allocations: 21.61 kB / 0.5055 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007853/0.1328, allocations: 245.4 kB / 0.5058 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.1331, allocations: 295.1 kB / 0.506 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.298e-05/0.1331, allocations: 12.34 kB / 0.506 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.1334, allocations: 189.2 kB / 0.5062 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.1336, allocations: 110.2 kB / 0.5063 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.1336, allocations: 17.88 kB / 0.5063 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.31e-05/0.1337, allocations: 16.5 kB / 0.5064 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.313e-05/0.1338, allocations: 60.44 kB / 0.5064 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.1339, allocations: 99.05 kB / 0.5065 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.1341, allocations: 228.2 kB / 0.5067 GB, free: 7.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1342, allocations: 0 / 0.5067 GB, free: 7.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1342, allocations: 0 / 0.5067 GB, free: 7.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1342, allocations: 1.375 kB / 0.5067 GB, free: 7.523 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.001052/0.1352, allocations: 0.6398 MB / 0.5074 GB, free: 6.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1353, allocations: 10.03 kB / 0.5074 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.655e-05/0.1354, allocations: 24.25 kB / 0.5074 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.1356, allocations: 240.6 kB / 0.5076 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.1357, allocations: 11 kB / 0.5076 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.1357, allocations: 19.33 kB / 0.5077 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.136, allocations: 141 kB / 0.5078 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.136, allocations: 192 / 0.5078 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.1361, allocations: 13.53 kB / 0.5078 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1361, allocations: 1.5 kB / 0.5078 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.1362, allocations: 44.12 kB / 0.5078 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.1365, allocations: 291.8 kB / 0.5081 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.1368, allocations: 126.2 kB / 0.5082 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.1369, allocations: 61.61 kB / 0.5083 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.137, allocations: 1.375 kB / 0.5083 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000418/0.1374, allocations: 210.4 kB / 0.5085 GB, free: 5.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.1374, allocations: 0 / 0.5085 GB, free: 5.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004787/0.1379, allocations: 255.4 kB / 0.5087 GB, free: 5.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.1379, allocations: 63.39 kB / 0.5088 GB, free: 5.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.1381, allocations: 232 kB / 0.509 GB, free: 5.328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.1381, allocations: 33.7 kB / 0.5091 GB, free: 5.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.1382, allocations: 93.14 kB / 0.5091 GB, free: 5.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.1382, allocations: 47.44 kB / 0.5092 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.1384, allocations: 97.73 kB / 0.5093 GB, free: 5.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.1384, allocations: 326.8 kB / 0.5096 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.1386, allocations: 84.17 kB / 0.5097 GB, free: 4.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.1388, allocations: 146.4 kB / 0.5098 GB, free: 4.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.1391, allocations: 241.2 kB / 0.51 GB, free: 4.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1391, allocations: 0 / 0.51 GB, free: 4.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000503/0.1396, allocations: 400.5 kB / 0.5104 GB, free: 3.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/0.1396, allocations: 75.39 kB / 0.5105 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1396, allocations: 0 / 0.5105 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1397, allocations: 4 kB / 0.5105 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.1398, allocations: 31.84 kB / 0.5105 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1398, allocations: 4 kB / 0.5105 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/0.1403, allocations: 63.98 kB / 0.5106 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.1404, allocations: 43.98 kB / 0.5106 GB, free: 3.562 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.0001308/0.1405, allocations: 152 kB / 0.5108 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.1406, allocations: 23.8 kB / 0.5108 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.1406, allocations: 25.86 kB / 0.5108 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1406, allocations: 7.938 kB / 0.5108 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1406, allocations: 4 kB / 0.5108 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1406, allocations: 0 / 0.5108 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005869/0.1412, allocations: 0.5351 MB / 0.5114 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1412, allocations: 7.938 kB / 0.5114 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.1413, allocations: 11.98 kB / 0.5114 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1413, allocations: 0 / 0.5114 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.1413, allocations: 11.98 kB / 0.5114 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1413, allocations: 0 / 0.5114 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1413, allocations: 3.938 kB / 0.5114 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.1417, allocations: 311.2 kB / 0.5117 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.965e-05/0.1418, allocations: 144.6 kB / 0.5118 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.1418, allocations: 11.94 kB / 0.5118 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.142, allocations: 11.98 kB / 0.5119 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.1421, allocations: 15.97 kB / 0.5119 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.1421, allocations: 27.98 kB / 0.5119 GB, free: 2.172 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.562e-05/0.1422, allocations: 161.6 kB / 0.5121 GB, free: 2.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1422, allocations: 4 kB / 0.5121 GB, free: 2.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.1425, allocations: 47.98 kB / 0.5121 GB, free: 1.965 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.0001159/0.1427, allocations: 107.2 kB / 0.5122 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004497/0.1431, allocations: 336.8 kB / 0.5125 GB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1431, allocations: 4 kB / 0.5125 GB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.1433, allocations: 75.8 kB / 0.5126 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.1436, allocations: 32.39 kB / 0.5126 GB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/0.1442, allocations: 306.3 kB / 0.5129 GB, free: 1.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.1443, allocations: 0.7318 MB / 0.5136 GB, free: 324 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.253e-05/0.1444, allocations: 37.08 kB / 0.5137 GB, free: 288 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.813e-05/0.1445, allocations: 31.42 kB / 0.5137 GB, free: 256 kB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1445, allocations: 0 / 0.5137 GB, free: 256 kB / 382.1 MB Notification: Performance of Templates: time 0.007558/0.1521, allocations: 3.69 MB / 0.5173 GB, free: 12.57 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)