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.001102/0.001101, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009559/0.000956, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3916/0.3916, allocations: 54.98 MB / 325.4 MB, free: 0.8125 MB / 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.0005761/0.0005762, allocations: 20 kB / 396.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2992, allocations: 60.71 MB / 457.3 MB, free: 39.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001231/0.3005, allocations: 1.146 MB / 458.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006597/0.3012, allocations: 381.4 kB / 458.8 MB, free: 39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.3012, allocations: 0 / 458.8 MB, free: 39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.3013, allocations: 7.219 kB / 458.8 MB, free: 38.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.901e-05/0.3014, allocations: 13.59 kB / 458.8 MB, free: 38.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005682/0.3019, allocations: 215.5 kB / 459 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.3021, allocations: 144.4 kB / 459.2 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.3022, allocations: 7.797 kB / 459.2 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.3024, allocations: 151.6 kB / 459.3 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.3025, allocations: 118.8 kB / 459.5 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.3026, allocations: 8.719 kB / 459.5 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.873e-05/0.3026, allocations: 8.781 kB / 459.5 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.3027, allocations: 53.88 kB / 459.5 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.3028, allocations: 58.83 kB / 459.6 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.3029, allocations: 162.9 kB / 459.7 MB, free: 38.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.3029, allocations: 0.5625 kB / 459.7 MB, free: 38.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3029, allocations: 7.312 kB / 459.7 MB, free: 38.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.3029, allocations: 2.625 kB / 459.8 MB, free: 38.91 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.0007956/0.3037, allocations: 0.5607 MB / 460.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.3038, allocations: 8.562 kB / 460.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.3039, allocations: 26.62 kB / 460.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.3041, allocations: 234.2 kB / 460.6 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.3041, allocations: 14.08 kB / 460.6 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.3042, allocations: 18.28 kB / 460.6 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.3044, allocations: 144 kB / 460.7 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3045, allocations: 1.688 kB / 460.7 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.3045, allocations: 0 / 460.7 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3045, allocations: 3.781 kB / 460.8 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.3046, allocations: 43.92 kB / 460.8 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.3049, allocations: 292.1 kB / 461.1 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.3051, allocations: 130.2 kB / 461.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3052, allocations: 4.594 kB / 461.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003599/0.3055, allocations: 206.2 kB / 461.4 MB, free: 37.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.452e-06/0.3055, allocations: 0 / 461.4 MB, free: 37.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004988/0.306, allocations: 256.4 kB / 461.7 MB, free: 37.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.3061, allocations: 64.98 kB / 461.7 MB, free: 37.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.3063, allocations: 230.8 kB / 462 MB, free: 37.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.3063, allocations: 40.55 kB / 462 MB, free: 37.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.3064, allocations: 91.19 kB / 462.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.3064, allocations: 44.67 kB / 462.1 MB, free: 37.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.3064, allocations: 10.22 kB / 462.1 MB, free: 37.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.3065, allocations: 322 kB / 462.5 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.3067, allocations: 91.11 kB / 462.5 MB, free: 37.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.3069, allocations: 142.3 kB / 462.7 MB, free: 37.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.3071, allocations: 151.1 kB / 462.8 MB, free: 37.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3071, allocations: 0 / 462.8 MB, free: 37.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006058/0.3077, allocations: 395.5 kB / 463.2 MB, free: 36.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.004e-05/0.3078, allocations: 80.66 kB / 463.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3078, allocations: 2.984 kB / 463.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3078, allocations: 2.781 kB / 463.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.308, allocations: 31.61 kB / 463.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.308, allocations: 0.75 kB / 463.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/0.3085, allocations: 77.73 kB / 463.4 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/0.3086, allocations: 45.42 kB / 463.4 MB, free: 36.87 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 ($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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.3088, allocations: 162 kB / 463.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.3088, allocations: 21.23 kB / 463.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.3089, allocations: 25.7 kB / 463.7 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3089, allocations: 0 / 463.7 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3089, allocations: 0 / 463.7 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.3089, allocations: 3.625 kB / 463.7 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007131/0.3096, allocations: 0.5434 MB / 464.2 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3096, allocations: 3.812 kB / 464.2 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.3097, allocations: 4.531 kB / 464.2 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3097, allocations: 0 / 464.2 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.3097, allocations: 12.05 kB / 464.2 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3097, allocations: 2.969 kB / 464.2 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3097, allocations: 3.953 kB / 464.2 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.3101, allocations: 316.1 kB / 464.5 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.3102, allocations: 134.7 kB / 464.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.3103, allocations: 7.969 kB / 464.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.3105, allocations: 16.27 kB / 464.7 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.3105, allocations: 14.03 kB / 464.7 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.3106, allocations: 28.77 kB / 464.7 MB, free: 36.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.3107, allocations: 161.6 kB / 464.9 MB, free: 36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3107, allocations: 0 / 464.9 MB, free: 36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003044/0.311, allocations: 45.25 kB / 464.9 MB, free: 36 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 (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.0001099/0.3111, allocations: 128.3 kB / 465.1 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004397/0.3116, allocations: 332.6 kB / 465.4 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3116, allocations: 0 / 465.4 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.3117, allocations: 71.8 kB / 465.5 MB, free: 35.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.312, allocations: 24.55 kB / 465.5 MB, free: 35.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.3125, allocations: 363.1 kB / 465.8 MB, free: 35.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.3127, allocations: 0.7263 MB / 466.6 MB, free: 34.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.3128, allocations: 30.98 kB / 466.6 MB, free: 34.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-05/0.3129, allocations: 37.11 kB / 466.6 MB, free: 34.7 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3129, allocations: 0 / 466.6 MB, free: 34.7 MB / 382.1 MB Notification: Performance of Templates: time 0.005924/0.3188, allocations: 3.521 MB / 470.1 MB, free: 34.42 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: