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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, 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.002576/0.002576, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.563/1.563, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4055/0.4055, allocations: 54.92 MB / 324.4 MB, free: 192 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.002521/0.002521, allocations: 64.52 kB / 394.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1479, allocations: 59.6 MB / 454.4 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonths): time 0.2104/0.3583, allocations: 1.504 MB / 455.9 MB, free: 39.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007658/0.3591, allocations: 406.2 kB / 456.3 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.3591, allocations: 0 / 456.3 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.828e-05/0.3593, allocations: 4 kB / 456.3 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.3594, allocations: 14.78 kB / 456.3 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006334/0.36, allocations: 218.7 kB / 456.5 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.3603, allocations: 307.5 kB / 456.9 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.3603, allocations: 4.469 kB / 456.9 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.3606, allocations: 216 kB / 457.1 MB, free: 39.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.3608, allocations: 112.7 kB / 457.2 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.98e-05/0.3608, allocations: 16.59 kB / 457.2 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.574e-05/0.3609, allocations: 19.91 kB / 457.2 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.024e-05/0.361, allocations: 61.09 kB / 457.3 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.3611, allocations: 109 kB / 457.4 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.3613, allocations: 242.3 kB / 457.6 MB, free: 39.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3613, allocations: 0 / 457.6 MB, free: 39.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3614, allocations: 0 / 457.6 MB, free: 39.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3614, allocations: 0.7188 kB / 457.6 MB, free: 39.02 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.0009788/0.3624, allocations: 0.6306 MB / 458.2 MB, free: 38.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.3624, allocations: 8.562 kB / 458.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.701e-05/0.3625, allocations: 26.66 kB / 458.3 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.3627, allocations: 237 kB / 458.5 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.3627, allocations: 14.81 kB / 458.5 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.232e-05/0.3628, allocations: 22.06 kB / 458.5 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.3631, allocations: 142.3 kB / 458.7 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3631, allocations: 4.562 kB / 458.7 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.3631, allocations: 9.406 kB / 458.7 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3631, allocations: 2.969 kB / 458.7 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.3632, allocations: 43.88 kB / 458.7 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.3635, allocations: 293.7 kB / 459 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.3638, allocations: 130.1 kB / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.3639, allocations: 58.67 kB / 459.2 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.3639, allocations: 0.5 kB / 459.2 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003578/0.3643, allocations: 201.5 kB / 459.4 MB, free: 37.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 2.375e-06/0.3643, allocations: 0 / 459.4 MB, free: 37.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005332/0.3648, allocations: 264.1 kB / 459.7 MB, free: 37.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3649, allocations: 64.38 kB / 459.7 MB, free: 37.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.3651, allocations: 224.5 kB / 460 MB, free: 37.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.3651, allocations: 35.48 kB / 460 MB, free: 37.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.3652, allocations: 89.48 kB / 460.1 MB, free: 37.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.3652, allocations: 50.66 kB / 460.1 MB, free: 37.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.3653, allocations: 95.89 kB / 460.2 MB, free: 37.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.3654, allocations: 327.9 kB / 460.5 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.3656, allocations: 85.72 kB / 460.6 MB, free: 37.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.3658, allocations: 144.1 kB / 460.8 MB, free: 37.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.3661, allocations: 240.4 kB / 461 MB, free: 37.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3661, allocations: 2.281 kB / 461 MB, free: 37.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005511/0.3666, allocations: 405.1 kB / 461.4 MB, free: 36.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.549e-05/0.3667, allocations: 69.45 kB / 461.5 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3667, allocations: 3.938 kB / 461.5 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3668, allocations: 5.312 kB / 461.5 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.3669, allocations: 33.19 kB / 461.5 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.367, allocations: 6.781 kB / 461.5 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004695/0.3674, allocations: 64.92 kB / 461.6 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.3675, allocations: 40.53 kB / 461.6 MB, free: 36.9 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.0001365/0.3676, allocations: 159.9 kB / 461.8 MB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.3677, allocations: 20.34 kB / 461.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.3677, allocations: 25.34 kB / 461.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.3677, allocations: 6.844 kB / 461.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.3678, allocations: 2.125 kB / 461.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3678, allocations: 1.219 kB / 461.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005835/0.3684, allocations: 0.5303 MB / 462.4 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3684, allocations: 4.562 kB / 462.4 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.3684, allocations: 14.48 kB / 462.4 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3684, allocations: 2.844 kB / 462.4 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.3685, allocations: 9.797 kB / 462.4 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3685, allocations: 5.344 kB / 462.4 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3685, allocations: 0.5469 kB / 462.4 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.3688, allocations: 313.1 kB / 462.7 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3689, allocations: 141.6 kB / 462.8 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/0.369, allocations: 12.12 kB / 462.8 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.3692, allocations: 12.02 kB / 462.9 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.3693, allocations: 15.66 kB / 462.9 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.3693, allocations: 28.45 kB / 462.9 MB, free: 36.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.3695, allocations: 170.8 kB / 463.1 MB, free: 36.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3695, allocations: 0 / 463.1 MB, free: 36.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.3698, allocations: 43.25 kB / 463.1 MB, free: 36.12 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.0001421/0.3699, allocations: 120.9 kB / 463.2 MB, free: 36.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005683/0.3705, allocations: 343.6 kB / 463.6 MB, free: 35.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3705, allocations: 0 / 463.6 MB, free: 35.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.3707, allocations: 72.58 kB / 463.6 MB, free: 35.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.3711, allocations: 36.42 kB / 463.7 MB, free: 35.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006772/0.3718, allocations: 376 kB / 464 MB, free: 35.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.372, allocations: 0.7234 MB / 464.8 MB, free: 34.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.3721, allocations: 36.67 kB / 464.8 MB, free: 34.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.3722, allocations: 29.17 kB / 464.8 MB, free: 34.9 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3722, allocations: 0 / 464.8 MB, free: 34.9 MB / 382.1 MB Notification: Performance of Templates: time 0.006391/0.3786, allocations: 3.762 MB / 468.6 MB, free: 34.62 MB / 382.1 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)