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.001167/0.001166, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001254/0.001254, allocations: 194.3 kB / 16.25 MB, free: 6.625 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.469/1.469, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3677/0.3677, allocations: 54.92 MB / 324.4 MB, free: 72 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.001347/0.001347, allocations: 67.91 kB / 394.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.14, allocations: 59.6 MB / 454.4 MB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.2173/0.3573, allocations: 1.496 MB / 455.9 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000986/0.3583, allocations: 413 kB / 456.3 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.3584, allocations: 1.188 kB / 456.3 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.952e-05/0.3586, allocations: 1.875 kB / 456.3 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.3587, allocations: 15.14 kB / 456.4 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006415/0.3593, allocations: 225.2 kB / 456.6 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.3596, allocations: 303.2 kB / 456.9 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.3597, allocations: 4.047 kB / 456.9 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.36, allocations: 214.9 kB / 457.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.3602, allocations: 112.7 kB / 457.2 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.782e-05/0.3602, allocations: 18.78 kB / 457.2 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.273e-05/0.3603, allocations: 18.56 kB / 457.2 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.387e-05/0.3603, allocations: 63.42 kB / 457.3 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.3605, allocations: 104.8 kB / 457.4 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.3607, allocations: 238.5 kB / 457.6 MB, free: 38.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/0.3608, allocations: 1.281 kB / 457.6 MB, free: 38.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3608, allocations: 0 / 457.6 MB, free: 38.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.3608, allocations: 0 / 457.6 MB, free: 38.57 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.001085/0.3619, allocations: 0.6372 MB / 458.3 MB, free: 38.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3619, allocations: 9.375 kB / 458.3 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.929e-05/0.362, allocations: 26.75 kB / 458.3 MB, free: 38.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.3622, allocations: 237.4 kB / 458.5 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.3623, allocations: 11.84 kB / 458.5 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/0.3623, allocations: 22.14 kB / 458.6 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.3626, allocations: 142.7 kB / 458.7 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3626, allocations: 0.8438 kB / 458.7 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.3627, allocations: 11.84 kB / 458.7 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3627, allocations: 0.8438 kB / 458.7 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.3628, allocations: 46.8 kB / 458.8 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.363, allocations: 290.9 kB / 459 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.3633, allocations: 132.2 kB / 459.2 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.3634, allocations: 55.39 kB / 459.2 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.3634, allocations: 4.281 kB / 459.2 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003408/0.3638, allocations: 203.2 kB / 459.4 MB, free: 37.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.823e-06/0.3638, allocations: 0 / 459.4 MB, free: 37.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004887/0.3643, allocations: 268.2 kB / 459.7 MB, free: 37.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.3643, allocations: 58.12 kB / 459.8 MB, free: 37.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3645, allocations: 228.3 kB / 460 MB, free: 37.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.3645, allocations: 37.17 kB / 460 MB, free: 37.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.3646, allocations: 86.95 kB / 460.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.3646, allocations: 49.69 kB / 460.1 MB, free: 37.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.3648, allocations: 96.97 kB / 460.2 MB, free: 37.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.029e-05/0.3648, allocations: 321 kB / 460.6 MB, free: 36.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.365, allocations: 91.84 kB / 460.6 MB, free: 36.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.3652, allocations: 142 kB / 460.8 MB, free: 36.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.3655, allocations: 242.9 kB / 461 MB, free: 36.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3655, allocations: 0 / 461 MB, free: 36.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005539/0.366, allocations: 398.8 kB / 461.4 MB, free: 36.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/0.3661, allocations: 78.5 kB / 461.5 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3661, allocations: 3.938 kB / 461.5 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3661, allocations: 3.938 kB / 461.5 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.3663, allocations: 27.81 kB / 461.5 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.3663, allocations: 5.469 kB / 461.5 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004625/0.3668, allocations: 66.97 kB / 461.6 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.999e-05/0.3668, allocations: 38.88 kB / 461.6 MB, free: 36.45 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.0001347/0.367, allocations: 165.2 kB / 461.8 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.367, allocations: 23.44 kB / 461.8 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.3671, allocations: 20.5 kB / 461.8 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3671, allocations: 3.938 kB / 461.8 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3671, allocations: 8.078 kB / 461.8 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3671, allocations: 0 / 461.8 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/0.3677, allocations: 0.5318 MB / 462.4 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3677, allocations: 6.781 kB / 462.4 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.3678, allocations: 10.7 kB / 462.4 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3678, allocations: 0 / 462.4 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.3678, allocations: 18.88 kB / 462.4 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3678, allocations: 0 / 462.4 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3678, allocations: 0 / 462.4 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.3681, allocations: 308.1 kB / 462.7 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.74e-05/0.3682, allocations: 148.8 kB / 462.9 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.3683, allocations: 13.3 kB / 462.9 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.3685, allocations: 11.88 kB / 462.9 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.3685, allocations: 15.77 kB / 462.9 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.3686, allocations: 22.23 kB / 462.9 MB, free: 35.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.084e-05/0.3687, allocations: 168.8 kB / 463.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3687, allocations: 0 / 463.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.369, allocations: 45.16 kB / 463.1 MB, free: 35.67 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.000105/0.3691, allocations: 115.3 kB / 463.2 MB, free: 35.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004782/0.3696, allocations: 347 kB / 463.6 MB, free: 35.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3696, allocations: 0 / 463.6 MB, free: 35.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.3697, allocations: 70.47 kB / 463.6 MB, free: 35.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.37, allocations: 31.39 kB / 463.7 MB, free: 35.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.3706, allocations: 379.3 kB / 464.1 MB, free: 35.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.3708, allocations: 0.7277 MB / 464.8 MB, free: 34.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.3709, allocations: 29.94 kB / 464.8 MB, free: 34.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.371, allocations: 33.02 kB / 464.8 MB, free: 34.46 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.371, allocations: 0 / 464.8 MB, free: 34.46 MB / 382.1 MB Notification: Performance of Templates: time 0.005653/0.3767, allocations: 3.764 MB / 468.6 MB, free: 34.18 MB / 382.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)