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.001413/0.001412, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001711/0.001711, allocations: 187.6 kB / 16.14 MB, free: 6.703 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.607/1.607, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4213/0.4213, allocations: 54.94 MB / 324.3 MB, free: 168 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.001741/0.001741, allocations: 63.91 kB / 394.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1464, allocations: 59.58 MB / 454.2 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonths): time 0.2472/0.3937, allocations: 1.512 MB / 455.7 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3947, allocations: 428.2 kB / 456.2 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.3948, allocations: 3.656 kB / 456.2 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.548e-05/0.3949, allocations: 2.625 kB / 456.2 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.395, allocations: 18.17 kB / 456.2 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006155/0.3957, allocations: 216.9 kB / 456.4 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.3959, allocations: 265.4 kB / 456.7 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.297e-05/0.396, allocations: 8.031 kB / 456.7 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.3962, allocations: 191.6 kB / 456.9 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.3964, allocations: 112 kB / 457 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.27e-05/0.3965, allocations: 8.812 kB / 457 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.749e-05/0.3965, allocations: 13.06 kB / 457 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.677e-05/0.3966, allocations: 53.41 kB / 457 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.3968, allocations: 102.2 kB / 457.1 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.397, allocations: 230.2 kB / 457.4 MB, free: 38.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.397, allocations: 3.312 kB / 457.4 MB, free: 38.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.397, allocations: 2.25 kB / 457.4 MB, free: 38.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.397, allocations: 0 / 457.4 MB, free: 38.71 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.001049/0.3981, allocations: 0.633 MB / 458 MB, free: 38.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3981, allocations: 8.812 kB / 458 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.514e-05/0.3982, allocations: 30.47 kB / 458 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.3985, allocations: 239.1 kB / 458.3 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.3986, allocations: 11.81 kB / 458.3 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.349e-05/0.3987, allocations: 19.3 kB / 458.3 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.399, allocations: 145.4 kB / 458.4 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.399, allocations: 0.8125 kB / 458.4 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.399, allocations: 8.312 kB / 458.5 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.3991, allocations: 0.6562 kB / 458.5 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.3992, allocations: 45.23 kB / 458.5 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.3996, allocations: 297.1 kB / 458.8 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.3999, allocations: 129 kB / 458.9 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.4, allocations: 53.53 kB / 459 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.4001, allocations: 6.797 kB / 459 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005396/0.4006, allocations: 198.9 kB / 459.2 MB, free: 37.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 2.895e-06/0.4006, allocations: 2.594 kB / 459.2 MB, free: 37.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005799/0.4012, allocations: 266.9 kB / 459.4 MB, free: 37.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.4013, allocations: 64.48 kB / 459.5 MB, free: 37.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.4015, allocations: 223.8 kB / 459.7 MB, free: 37.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.4015, allocations: 37.83 kB / 459.8 MB, free: 37.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.4016, allocations: 90.64 kB / 459.8 MB, free: 37.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/0.4016, allocations: 47.72 kB / 459.9 MB, free: 37.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.4018, allocations: 95.22 kB / 460 MB, free: 37.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.4019, allocations: 320.8 kB / 460.3 MB, free: 36.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.4021, allocations: 95.31 kB / 460.4 MB, free: 36.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.4023, allocations: 143.8 kB / 460.5 MB, free: 36.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.4027, allocations: 242.1 kB / 460.8 MB, free: 36.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4027, allocations: 2.875 kB / 460.8 MB, free: 36.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007043/0.4034, allocations: 397 kB / 461.2 MB, free: 36.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/0.4035, allocations: 78.72 kB / 461.2 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4035, allocations: 0 / 461.2 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.4035, allocations: 2.938 kB / 461.2 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.4037, allocations: 30.61 kB / 461.3 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.4038, allocations: 4.375 kB / 461.3 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000511/0.4043, allocations: 61.22 kB / 461.3 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/0.4044, allocations: 43.3 kB / 461.4 MB, free: 36.59 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.0001801/0.4046, allocations: 159.1 kB / 461.5 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.4046, allocations: 27.44 kB / 461.6 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.4047, allocations: 22.84 kB / 461.6 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.4047, allocations: 10.36 kB / 461.6 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4047, allocations: 0 / 461.6 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4047, allocations: 1.125 kB / 461.6 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006503/0.4054, allocations: 0.5304 MB / 462.1 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.4054, allocations: 4.5 kB / 462.1 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.4054, allocations: 9.562 kB / 462.1 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4054, allocations: 6.719 kB / 462.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.4055, allocations: 11.89 kB / 462.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.4055, allocations: 2.844 kB / 462.2 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4055, allocations: 2.875 kB / 462.2 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.4058, allocations: 308.3 kB / 462.5 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.4059, allocations: 138.2 kB / 462.6 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.406, allocations: 14.19 kB / 462.6 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.4062, allocations: 21.05 kB / 462.6 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.4063, allocations: 14.89 kB / 462.6 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.4063, allocations: 26.36 kB / 462.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.778e-05/0.4064, allocations: 162.4 kB / 462.8 MB, free: 35.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4064, allocations: 2.5 kB / 462.8 MB, free: 35.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.4067, allocations: 42.05 kB / 462.9 MB, free: 35.81 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.000116/0.4068, allocations: 114.4 kB / 463 MB, free: 35.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005056/0.4073, allocations: 341.3 kB / 463.3 MB, free: 35.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4073, allocations: 0 / 463.3 MB, free: 35.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.4075, allocations: 70.86 kB / 463.4 MB, free: 35.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.4078, allocations: 27.73 kB / 463.4 MB, free: 35.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006549/0.4085, allocations: 381.7 kB / 463.8 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.4087, allocations: 0.7298 MB / 464.5 MB, free: 34.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.4089, allocations: 32.12 kB / 464.5 MB, free: 34.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.409, allocations: 28.81 kB / 464.6 MB, free: 34.64 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.409, allocations: 0 / 464.6 MB, free: 34.64 MB / 382.1 MB Notification: Performance of Templates: time 0.006427/0.4154, allocations: 3.634 MB / 468.2 MB, free: 34.38 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)