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.001048/0.001048, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001352/0.001353, allocations: 168.7 kB / 15.95 MB, free: 204 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.683/1.683, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4411/0.4411, allocations: 55.01 MB / 325.4 MB, free: 0.6797 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.0005388/0.0005388, allocations: 12 kB / 396.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4971/0.4977, allocations: 60.71 MB / 457.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001581/0.4993, allocations: 1.156 MB / 458.5 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008085/0.5001, allocations: 399.2 kB / 458.9 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.5002, allocations: 0.5625 kB / 458.9 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.5002, allocations: 0 / 458.9 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.5004, allocations: 21.17 kB / 458.9 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006489/0.501, allocations: 204.3 kB / 459.1 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.5013, allocations: 231.8 kB / 459.4 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.776e-05/0.5013, allocations: 4.047 kB / 459.4 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.5016, allocations: 202.5 kB / 459.6 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.5018, allocations: 110.9 kB / 459.7 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/0.5019, allocations: 12.09 kB / 459.7 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.061e-05/0.5019, allocations: 8.719 kB / 459.7 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.738e-05/0.502, allocations: 64.77 kB / 459.7 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.5021, allocations: 54.45 kB / 459.8 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.5023, allocations: 165.2 kB / 460 MB, free: 38.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5023, allocations: 0 / 460 MB, free: 38.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5023, allocations: 0.75 kB / 460 MB, free: 38.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.5023, allocations: 0 / 460 MB, free: 38.24 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.0008989/0.5032, allocations: 0.5657 MB / 460.5 MB, free: 37.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.5033, allocations: 12.56 kB / 460.5 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.53e-05/0.5034, allocations: 26.88 kB / 460.6 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.5037, allocations: 240.3 kB / 460.8 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/0.5037, allocations: 15.47 kB / 460.8 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/0.5038, allocations: 13.97 kB / 460.8 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.5041, allocations: 138.1 kB / 461 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.5041, allocations: 0.9375 kB / 461 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.5041, allocations: 3.031 kB / 461 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5041, allocations: 0.5312 kB / 461 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.5043, allocations: 49.92 kB / 461 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.5046, allocations: 288.4 kB / 461.3 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.505, allocations: 127.4 kB / 461.4 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.5051, allocations: 59.86 kB / 461.5 MB, free: 37.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.5052, allocations: 5.781 kB / 461.5 MB, free: 37.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005198/0.5057, allocations: 206.8 kB / 461.7 MB, free: 37.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.5057, allocations: 0 / 461.7 MB, free: 37.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007232/0.5065, allocations: 252.5 kB / 461.9 MB, free: 37.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.5065, allocations: 66.19 kB / 462 MB, free: 37.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.5068, allocations: 235.2 kB / 462.2 MB, free: 36.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.5069, allocations: 41.12 kB / 462.3 MB, free: 36.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.507, allocations: 85.48 kB / 462.4 MB, free: 36.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.017e-05/0.507, allocations: 52.78 kB / 462.4 MB, free: 36.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.5071, allocations: 5.656 kB / 462.4 MB, free: 36.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5072, allocations: 323.8 kB / 462.7 MB, free: 36.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.5074, allocations: 87.91 kB / 462.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.5077, allocations: 140.6 kB / 462.9 MB, free: 36.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.508, allocations: 149.6 kB / 463.1 MB, free: 36.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.508, allocations: 3.188 kB / 463.1 MB, free: 36.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006924/0.5087, allocations: 396.6 kB / 463.5 MB, free: 36.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.606e-05/0.5088, allocations: 75.58 kB / 463.6 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.5088, allocations: 4.312 kB / 463.6 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.5088, allocations: 3 kB / 463.6 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.509, allocations: 30.64 kB / 463.6 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.5091, allocations: 3.906 kB / 463.6 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004547/0.5095, allocations: 80.17 kB / 463.7 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/0.5096, allocations: 46.09 kB / 463.7 MB, free: 36.18 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.0001761/0.5098, allocations: 163.1 kB / 463.9 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.5098, allocations: 16.72 kB / 463.9 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.814e-05/0.5099, allocations: 23.67 kB / 463.9 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5099, allocations: 2.969 kB / 463.9 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5099, allocations: 2.156 kB / 463.9 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.5099, allocations: 1.453 kB / 463.9 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006945/0.5106, allocations: 0.5385 MB / 464.5 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5106, allocations: 3.938 kB / 464.5 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.5107, allocations: 11.14 kB / 464.5 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5107, allocations: 4.188 kB / 464.5 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.5107, allocations: 11.59 kB / 464.5 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5107, allocations: 0 / 464.5 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5107, allocations: 6.547 kB / 464.5 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.5111, allocations: 303 kB / 464.8 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.5112, allocations: 140.1 kB / 464.9 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.5112, allocations: 8.984 kB / 464.9 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.5114, allocations: 19.08 kB / 465 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.5115, allocations: 19.84 kB / 465 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.5115, allocations: 26.64 kB / 465 MB, free: 35.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.5117, allocations: 164.2 kB / 465.2 MB, free: 35.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5117, allocations: 0 / 465.2 MB, free: 35.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.512, allocations: 44.22 kB / 465.2 MB, free: 35.4 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.000114/0.5121, allocations: 114.1 kB / 465.3 MB, free: 35.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004927/0.5126, allocations: 342.2 kB / 465.7 MB, free: 35.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5126, allocations: 3.938 kB / 465.7 MB, free: 35.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.5127, allocations: 72.56 kB / 465.7 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.513, allocations: 25.98 kB / 465.8 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005508/0.5136, allocations: 360.9 kB / 466.1 MB, free: 34.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.5138, allocations: 0.7273 MB / 466.8 MB, free: 34.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.5139, allocations: 29.77 kB / 466.9 MB, free: 34.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.423e-05/0.514, allocations: 31.2 kB / 466.9 MB, free: 34.23 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.514, allocations: 0 / 466.9 MB, free: 34.23 MB / 382.1 MB Notification: Performance of Templates: time 0.00651/0.5205, allocations: 3.531 MB / 470.4 MB, free: 33.95 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: