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.001111/0.001111, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001324/0.001325, allocations: 193.5 kB / 16.13 MB, free: 6.609 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.637/1.637, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4406/0.4406, allocations: 54.94 MB / 324.3 MB, free: 140 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.001575/0.001575, allocations: 68.47 kB / 394.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1427, allocations: 59.59 MB / 454.3 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.2453/0.388, allocations: 1.516 MB / 455.8 MB, free: 39.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009632/0.389, allocations: 423.3 kB / 456.2 MB, free: 39.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.394e-05/0.3891, allocations: 0 / 456.2 MB, free: 39.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.161e-05/0.3892, allocations: 8.828 kB / 456.2 MB, free: 39.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.3893, allocations: 11.62 kB / 456.2 MB, free: 39.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.3899, allocations: 224.9 kB / 456.5 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.3902, allocations: 266.7 kB / 456.7 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.3902, allocations: 4.562 kB / 456.7 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.3904, allocations: 195.3 kB / 456.9 MB, free: 39.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.3906, allocations: 110.9 kB / 457 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.3907, allocations: 10.31 kB / 457 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.719e-05/0.3907, allocations: 8.406 kB / 457 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.3908, allocations: 54.45 kB / 457.1 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.391, allocations: 101.2 kB / 457.2 MB, free: 39.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.3912, allocations: 232.4 kB / 457.4 MB, free: 39.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3912, allocations: 0.9688 kB / 457.4 MB, free: 39.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3913, allocations: 0 / 457.4 MB, free: 39.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.3913, allocations: 2.531 kB / 457.4 MB, free: 39.31 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.001014/0.3923, allocations: 0.6297 MB / 458.1 MB, free: 38.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3923, allocations: 11.34 kB / 458.1 MB, free: 38.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.912e-05/0.3924, allocations: 30.84 kB / 458.1 MB, free: 38.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.3926, allocations: 234.4 kB / 458.3 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.3927, allocations: 13.27 kB / 458.3 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.3927, allocations: 15.12 kB / 458.4 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.393, allocations: 150.9 kB / 458.5 MB, free: 38.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3931, allocations: 4.156 kB / 458.5 MB, free: 38.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.3931, allocations: 15.19 kB / 458.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3931, allocations: 3.062 kB / 458.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.3932, allocations: 46.67 kB / 458.6 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.3935, allocations: 293.7 kB / 458.9 MB, free: 38.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.3938, allocations: 124.9 kB / 459 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.3939, allocations: 55.88 kB / 459 MB, free: 38.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.3939, allocations: 1.125 kB / 459 MB, free: 38.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004113/0.3943, allocations: 201.5 kB / 459.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.3943, allocations: 0 / 459.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005162/0.3949, allocations: 265.4 kB / 459.5 MB, free: 38.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.3949, allocations: 60.33 kB / 459.5 MB, free: 38.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3951, allocations: 226.3 kB / 459.8 MB, free: 38.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.3951, allocations: 36.67 kB / 459.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.3952, allocations: 88.8 kB / 459.9 MB, free: 37.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.3952, allocations: 52.92 kB / 459.9 MB, free: 37.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.3954, allocations: 97.64 kB / 460 MB, free: 37.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.835e-05/0.3954, allocations: 317.6 kB / 460.3 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.3956, allocations: 91.67 kB / 460.4 MB, free: 37.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.3958, allocations: 144.6 kB / 460.6 MB, free: 37.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.3961, allocations: 243.9 kB / 460.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3961, allocations: 0 / 460.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005843/0.3967, allocations: 398.7 kB / 461.2 MB, free: 37.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.071e-05/0.3968, allocations: 75.92 kB / 461.3 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3968, allocations: 0 / 461.3 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3968, allocations: 3.406 kB / 461.3 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.397, allocations: 34.58 kB / 461.3 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.397, allocations: 4.156 kB / 461.3 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/0.3975, allocations: 58.48 kB / 461.4 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/0.3976, allocations: 39.83 kB / 461.4 MB, free: 37.19 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.0001326/0.3977, allocations: 163 kB / 461.6 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.3978, allocations: 23.41 kB / 461.6 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.3978, allocations: 23.81 kB / 461.6 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3978, allocations: 7.625 kB / 461.6 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3978, allocations: 0.6875 kB / 461.6 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3979, allocations: 6.766 kB / 461.6 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006111/0.3985, allocations: 0.5282 MB / 462.2 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3985, allocations: 3.938 kB / 462.2 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.3985, allocations: 10.67 kB / 462.2 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3985, allocations: 6.047 kB / 462.2 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.3986, allocations: 18.8 kB / 462.2 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3986, allocations: 2.781 kB / 462.2 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3986, allocations: 0 / 462.2 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.3989, allocations: 308.7 kB / 462.5 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.399, allocations: 145.3 kB / 462.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.3991, allocations: 7.656 kB / 462.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.3993, allocations: 9.531 kB / 462.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.3993, allocations: 16.31 kB / 462.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.3994, allocations: 29.47 kB / 462.7 MB, free: 36.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.951e-05/0.3995, allocations: 166 kB / 462.9 MB, free: 36.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3995, allocations: 2.625 kB / 462.9 MB, free: 36.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.3998, allocations: 45.56 kB / 462.9 MB, free: 36.26 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 9.254e-05/0.3999, allocations: 110.1 kB / 463 MB, free: 36.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004362/0.4003, allocations: 337.8 kB / 463.4 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4003, allocations: 1.688 kB / 463.4 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.4005, allocations: 76.03 kB / 463.4 MB, free: 35.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.4008, allocations: 30.34 kB / 463.5 MB, free: 35.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.4013, allocations: 379.3 kB / 463.8 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.4015, allocations: 0.7308 MB / 464.6 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.4016, allocations: 31.19 kB / 464.6 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.857e-05/0.4017, allocations: 28.97 kB / 464.6 MB, free: 34.96 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4017, allocations: 0 / 464.6 MB, free: 34.96 MB / 382.1 MB Notification: Performance of Templates: time 0.005622/0.4073, allocations: 3.632 MB / 468.3 MB, free: 34.7 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (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)