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.001068/0.001068, allocations: 99.7 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.001377/0.001377, allocations: 177.3 kB / 15.95 MB, free: 216 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.424/1.424, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3925/0.3925, allocations: 54.98 MB / 325.3 MB, free: 0.7266 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.0005377/0.0005378, allocations: 12 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3051, allocations: 60.72 MB / 457.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001358/0.3065, allocations: 1.147 MB / 458.5 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007199/0.3072, allocations: 376.7 kB / 458.8 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.3073, allocations: 0.8438 kB / 458.8 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.3073, allocations: 3.938 kB / 458.8 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.96e-05/0.3074, allocations: 19.78 kB / 458.8 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.308, allocations: 204.4 kB / 459 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3082, allocations: 143.9 kB / 459.2 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.441e-05/0.3082, allocations: 6.047 kB / 459.2 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.3085, allocations: 156.1 kB / 459.3 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.3086, allocations: 110.5 kB / 459.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.3087, allocations: 8.781 kB / 459.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.12e-05/0.3087, allocations: 12.88 kB / 459.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.3088, allocations: 63.5 kB / 459.5 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.3089, allocations: 53.64 kB / 459.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.3091, allocations: 163.6 kB / 459.7 MB, free: 38.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.3091, allocations: 0 / 459.7 MB, free: 38.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3091, allocations: 1.375 kB / 459.7 MB, free: 38.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3091, allocations: 0 / 459.7 MB, free: 38.27 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.0008889/0.31, allocations: 0.5699 MB / 460.3 MB, free: 37.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.31, allocations: 8.688 kB / 460.3 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.371e-05/0.3101, allocations: 27.56 kB / 460.4 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.3104, allocations: 240.8 kB / 460.6 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.3104, allocations: 15.33 kB / 460.6 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/0.3105, allocations: 19.5 kB / 460.6 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.3107, allocations: 134.3 kB / 460.8 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3108, allocations: 0 / 460.8 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.3108, allocations: 3.781 kB / 460.8 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3108, allocations: 4.797 kB / 460.8 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3109, allocations: 41.73 kB / 460.8 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.3112, allocations: 295.6 kB / 461.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.3114, allocations: 131.9 kB / 461.2 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.3115, allocations: 6.594 kB / 461.2 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003847/0.3119, allocations: 206.9 kB / 461.4 MB, free: 37.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.3119, allocations: 2.75 kB / 461.4 MB, free: 37.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005062/0.3124, allocations: 256.2 kB / 461.7 MB, free: 37.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.3124, allocations: 54.47 kB / 461.7 MB, free: 37.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.3126, allocations: 231.2 kB / 462 MB, free: 36.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.3127, allocations: 43.14 kB / 462 MB, free: 36.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.3127, allocations: 84.05 kB / 462.1 MB, free: 36.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.3128, allocations: 47.81 kB / 462.1 MB, free: 36.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.3128, allocations: 9.828 kB / 462.1 MB, free: 36.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.9e-05/0.3129, allocations: 322.2 kB / 462.5 MB, free: 36.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.3131, allocations: 91.17 kB / 462.5 MB, free: 36.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.3132, allocations: 145.4 kB / 462.7 MB, free: 36.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.3134, allocations: 153.6 kB / 462.8 MB, free: 36.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.3134, allocations: 0 / 462.8 MB, free: 36.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005943/0.314, allocations: 393.6 kB / 463.2 MB, free: 36.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.385e-05/0.3141, allocations: 72.62 kB / 463.3 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3141, allocations: 3.938 kB / 463.3 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.3142, allocations: 7.234 kB / 463.3 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.3143, allocations: 21.33 kB / 463.3 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3144, allocations: 11.28 kB / 463.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/0.3149, allocations: 79.83 kB / 463.4 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/0.3149, allocations: 46.39 kB / 463.5 MB, free: 36.22 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.0001724/0.3151, allocations: 157.6 kB / 463.6 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.3152, allocations: 16.25 kB / 463.6 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/0.3152, allocations: 26.73 kB / 463.7 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3152, allocations: 5.016 kB / 463.7 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3153, allocations: 2.906 kB / 463.7 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3153, allocations: 4 kB / 463.7 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007965/0.3161, allocations: 0.5357 MB / 464.2 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3161, allocations: 1.188 kB / 464.2 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.3162, allocations: 13.81 kB / 464.2 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3162, allocations: 0 / 464.2 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.3162, allocations: 14.89 kB / 464.2 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3162, allocations: 0 / 464.2 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3162, allocations: 3.953 kB / 464.2 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000475/0.3167, allocations: 313.9 kB / 464.5 MB, free: 35.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.3169, allocations: 139.7 kB / 464.7 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/0.3169, allocations: 9.281 kB / 464.7 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.3171, allocations: 16.31 kB / 464.7 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.3172, allocations: 12.84 kB / 464.7 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.3173, allocations: 30.83 kB / 464.7 MB, free: 35.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.3175, allocations: 158.2 kB / 464.9 MB, free: 35.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3175, allocations: 4 kB / 464.9 MB, free: 35.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003275/0.3178, allocations: 48.12 kB / 465 MB, free: 35.44 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.0001587/0.318, allocations: 119.9 kB / 465.1 MB, free: 35.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005699/0.3185, allocations: 335.7 kB / 465.4 MB, free: 35.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3186, allocations: 0 / 465.4 MB, free: 35.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.3187, allocations: 67.91 kB / 465.5 MB, free: 35.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.319, allocations: 24.8 kB / 465.5 MB, free: 35.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006358/0.3196, allocations: 357.2 kB / 465.8 MB, free: 34.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.3198, allocations: 0.7289 MB / 466.6 MB, free: 34.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.32, allocations: 34.14 kB / 466.6 MB, free: 34.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.7e-05/0.3201, allocations: 35.84 kB / 466.6 MB, free: 34.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3201, allocations: 0 / 466.6 MB, free: 34.27 MB / 382.1 MB Notification: Performance of Templates: time 0.006065/0.3261, allocations: 3.514 MB / 470.1 MB, free: 34 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: