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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.3775/0.3775, allocations: 54.42 MB / 61.89 MB, free: 13.75 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001212/0.001212, allocations: 183.6 kB / 75.61 MB, free: 0.7617 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.731/1.731, allocations: 194.3 MB / 283.5 MB, free: 14.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001681/0.001681, allocations: 118.5 kB / 341.6 MB, free: 4.008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.871e-05, allocations: 8.203 kB / 405.5 MB, free: 4.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3889, allocations: 57.64 MB / 463.1 MB, free: 51.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.5257, allocations: 86.55 MB / 0.5368 GB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.526, allocations: 73.94 kB / 0.5369 GB, free: 14.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0127/0.5387, allocations: 4.082 MB / 0.5409 GB, free: 10.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5387, allocations: 0 / 0.5409 GB, free: 10.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.5388, allocations: 0 / 0.5409 GB, free: 10.52 MB / 394.7 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.0009071/0.5397, allocations: 0.5438 MB / 0.5414 GB, free: 9.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.5398, allocations: 12.81 kB / 0.5414 GB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.647e-05/0.5399, allocations: 21.5 kB / 0.5414 GB, free: 9.879 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.5401, allocations: 194.5 kB / 0.5416 GB, free: 9.648 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.5401, allocations: 7.984 kB / 0.5416 GB, free: 9.641 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.5402, allocations: 12 kB / 0.5416 GB, free: 9.629 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001339/0.5403, allocations: 43.98 kB / 0.5417 GB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.5406, allocations: 141.5 kB / 0.5418 GB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.5406, allocations: 7.938 kB / 0.5418 GB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.5406, allocations: 0 / 0.5418 GB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.5407, allocations: 0 / 0.5418 GB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.5411, allocations: 281.9 kB / 0.5421 GB, free: 9.121 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.5413, allocations: 114.7 kB / 0.5422 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.5414, allocations: 49.61 kB / 0.5422 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.5415, allocations: 7.984 kB / 0.5422 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003645/0.5418, allocations: 187.2 kB / 0.5424 GB, free: 8.746 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.5418, allocations: 4 kB / 0.5424 GB, free: 8.742 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004838/0.5423, allocations: 197.3 kB / 0.5426 GB, free: 8.543 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.5424, allocations: 59.41 kB / 0.5427 GB, free: 8.473 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.5426, allocations: 194.9 kB / 0.5429 GB, free: 8.277 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.721e-05/0.5427, allocations: 37.7 kB / 0.5429 GB, free: 8.234 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.758e-05/0.5428, allocations: 84.92 kB / 0.543 GB, free: 8.148 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.5429, allocations: 47.44 kB / 0.543 GB, free: 8.102 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.5429, allocations: 11.92 kB / 0.543 GB, free: 8.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5431, allocations: 322.8 kB / 0.5433 GB, free: 7.766 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.5432, allocations: 80.22 kB / 0.5434 GB, free: 7.688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.5434, allocations: 134.2 kB / 0.5435 GB, free: 7.535 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.5436, allocations: 72.62 kB / 0.5436 GB, free: 7.461 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5436, allocations: 0 / 0.5436 GB, free: 7.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005205/0.5441, allocations: 301.2 kB / 0.5439 GB, free: 7.164 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.072e-05/0.5442, allocations: 74.52 kB / 0.544 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5442, allocations: 0 / 0.544 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.5442, allocations: 7.984 kB / 0.544 GB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.5444, allocations: 27.92 kB / 0.544 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.5444, allocations: 9.703 kB / 0.544 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.5448, allocations: 44.62 kB / 0.5441 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.5449, allocations: 39.98 kB / 0.5441 GB, free: 6.957 MB / 394.7 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.545, allocations: 123.2 kB / 0.5442 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.5451, allocations: 23.72 kB / 0.5442 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/0.5451, allocations: 21.95 kB / 0.5443 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5451, allocations: 4 kB / 0.5443 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5451, allocations: 3.938 kB / 0.5443 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.5451, allocations: 7.047 kB / 0.5443 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/0.5458, allocations: 0.4987 MB / 0.5448 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5459, allocations: 0 / 0.5448 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/0.5459, allocations: 7.984 kB / 0.5448 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.5459, allocations: 3.984 kB / 0.5448 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.5459, allocations: 15.98 kB / 0.5448 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.546, allocations: 3.75 kB / 0.5448 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.546, allocations: 3.953 kB / 0.5448 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.5463, allocations: 295.2 kB / 0.5451 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.5464, allocations: 136.8 kB / 0.5452 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.5465, allocations: 4 kB / 0.5452 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.5467, allocations: 11.98 kB / 0.5452 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.5467, allocations: 15.94 kB / 0.5452 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.5468, allocations: 23.98 kB / 0.5453 GB, free: 5.691 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.5469, allocations: 157.6 kB / 0.5454 GB, free: 5.539 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5469, allocations: 3.938 kB / 0.5454 GB, free: 5.535 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003055/0.5472, allocations: 43.98 kB / 0.5455 GB, free: 5.492 MB / 394.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001483/0.5474, allocations: 114.2 kB / 0.5456 GB, free: 5.371 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004598/0.5478, allocations: 326.7 kB / 0.5459 GB, free: 5.027 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5478, allocations: 3.938 kB / 0.5459 GB, free: 5.023 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.548, allocations: 62.48 kB / 0.5459 GB, free: 4.965 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.5482, allocations: 16.66 kB / 0.546 GB, free: 4.949 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.5486, allocations: 213.3 kB / 0.5462 GB, free: 4.727 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.549, allocations: 0.7318 MB / 0.5469 GB, free: 3.969 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.5491, allocations: 33.14 kB / 0.5469 GB, free: 3.938 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.632e-05/0.5492, allocations: 31.42 kB / 0.5469 GB, free: 3.906 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5492, allocations: 0 / 0.5469 GB, free: 3.906 MB / 394.7 MB Notification: Performance of Templates: time 0.006903/0.5561, allocations: 3.753 MB / 0.5506 GB, free: 204 kB / 394.7 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)