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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.3521/0.3521, allocations: 55.01 MB / 69.96 MB, free: 8.672 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001773/0.001773, allocations: 186 kB / 83.98 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.967/1.967, allocations: 194.4 MB / 292.3 MB, free: 3.605 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001798/0.001798, allocations: 112.3 kB / 350.7 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004047, allocations: 8 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.155, allocations: 57.65 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4337/0.5888, allocations: 87.29 MB / 0.5506 GB, free: 2.047 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.5891, allocations: 77.94 kB / 0.5507 GB, free: 2.004 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01155/0.6006, allocations: 4.103 MB / 0.5547 GB, free: 14.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6007, allocations: 0 / 0.5547 GB, free: 14.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.6007, allocations: 4 kB / 0.5547 GB, free: 14.44 MB / 378.7 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.0008932/0.6016, allocations: 0.5768 MB / 0.5552 GB, free: 13.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.6016, allocations: 8.031 kB / 0.5553 GB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.393e-05/0.6017, allocations: 27.8 kB / 0.5553 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.6019, allocations: 191.7 kB / 0.5555 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.602, allocations: 7.438 kB / 0.5555 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.954e-05/0.602, allocations: 23.42 kB / 0.5555 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.6023, allocations: 152.2 kB / 0.5556 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.6023, allocations: 0 / 0.5556 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.6024, allocations: 0 / 0.5556 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.6024, allocations: 7.938 kB / 0.5556 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.6025, allocations: 42.84 kB / 0.5557 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.6029, allocations: 301.7 kB / 0.556 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.6032, allocations: 123.7 kB / 0.5561 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.6032, allocations: 7.984 kB / 0.5561 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000394/0.6036, allocations: 206.2 kB / 0.5563 GB, free: 12.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.6036, allocations: 0 / 0.5563 GB, free: 12.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005909/0.6042, allocations: 256.9 kB / 0.5565 GB, free: 12.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.6043, allocations: 71.25 kB / 0.5566 GB, free: 12.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.6045, allocations: 200.7 kB / 0.5568 GB, free: 12.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.199e-05/0.6046, allocations: 40.83 kB / 0.5568 GB, free: 12.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.6047, allocations: 85.14 kB / 0.5569 GB, free: 12.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.6048, allocations: 40.7 kB / 0.557 GB, free: 12.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.6048, allocations: 7.312 kB / 0.557 GB, free: 12.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.605, allocations: 324.7 kB / 0.5573 GB, free: 11.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.6053, allocations: 100.6 kB / 0.5574 GB, free: 11.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.6056, allocations: 156.9 kB / 0.5575 GB, free: 11.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.6059, allocations: 160.9 kB / 0.5577 GB, free: 11.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6059, allocations: 0 / 0.5577 GB, free: 11.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00092/0.6068, allocations: 403 kB / 0.5581 GB, free: 11.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.6069, allocations: 75.12 kB / 0.5581 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.607, allocations: 0 / 0.5581 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.607, allocations: 4 kB / 0.5581 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.6072, allocations: 30.81 kB / 0.5582 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.6072, allocations: 8.188 kB / 0.5582 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.6076, allocations: 47.25 kB / 0.5582 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-05/0.6077, allocations: 47.66 kB / 0.5583 GB, free: 10.93 MB / 378.7 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.0002592/0.608, allocations: 154.3 kB / 0.5584 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.6081, allocations: 27.7 kB / 0.5584 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.166e-05/0.6081, allocations: 20.5 kB / 0.5585 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.6082, allocations: 0 / 0.5585 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/0.6082, allocations: 7.953 kB / 0.5585 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.6082, allocations: 7.984 kB / 0.5585 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.6092, allocations: 0.5282 MB / 0.559 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.6092, allocations: 0 / 0.559 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.84e-05/0.6093, allocations: 8 kB / 0.559 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.6093, allocations: 3.984 kB / 0.559 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.6094, allocations: 19.44 kB / 0.559 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.6094, allocations: 0 / 0.559 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.6094, allocations: 0 / 0.559 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.6099, allocations: 317.9 kB / 0.5593 GB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.61, allocations: 129.7 kB / 0.5594 GB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.6101, allocations: 6.688 kB / 0.5594 GB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.6103, allocations: 19 kB / 0.5595 GB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.6104, allocations: 22.59 kB / 0.5595 GB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.6104, allocations: 19.98 kB / 0.5595 GB, free: 9.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.6106, allocations: 162.7 kB / 0.5597 GB, free: 9.562 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6106, allocations: 0 / 0.5597 GB, free: 9.562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003442/0.6109, allocations: 54.3 kB / 0.5597 GB, free: 9.516 MB / 378.7 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.00016/0.6111, allocations: 114.4 kB / 0.5598 GB, free: 9.398 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00059/0.6117, allocations: 356.4 kB / 0.5602 GB, free: 9.098 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6117, allocations: 7.875 kB / 0.5602 GB, free: 9.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.6118, allocations: 65.47 kB / 0.5602 GB, free: 9.039 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.6121, allocations: 22.62 kB / 0.5603 GB, free: 9.027 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007778/0.6129, allocations: 359.4 kB / 0.5606 GB, free: 8.676 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.6133, allocations: 0.7315 MB / 0.5613 GB, free: 7.922 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.6134, allocations: 33.08 kB / 0.5613 GB, free: 7.887 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.6136, allocations: 27.42 kB / 0.5614 GB, free: 7.859 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6136, allocations: 4 kB / 0.5614 GB, free: 7.855 MB / 378.7 MB Notification: Performance of Templates: time 0.007285/0.6209, allocations: 3.92 MB / 0.5652 GB, free: 3.926 MB / 378.7 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)