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/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.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/Annex60 1.0.0/package.mo): time 0.3036/0.3036, allocations: 55.01 MB / 69.96 MB, free: 8.668 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.001157/0.001157, allocations: 189.9 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.925/1.925, allocations: 194.4 MB / 292.3 MB, free: 3.621 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.001828/0.001828, allocations: 113.6 kB / 350.7 MB, free: 9.121 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005878/0.0005878, allocations: 15.98 kB / 418.9 MB, free: 37.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1686, allocations: 57.65 MB / 476.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4273/0.596, allocations: 87.35 MB / 0.5506 GB, free: 1.984 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.5963, allocations: 75.2 kB / 0.5507 GB, free: 1.941 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01172/0.6081, allocations: 4.116 MB / 0.5547 GB, free: 14.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.6081, allocations: 0 / 0.5547 GB, free: 14.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.6081, allocations: 4 kB / 0.5547 GB, free: 14.36 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.0008522/0.609, allocations: 0.5758 MB / 0.5553 GB, free: 13.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.609, allocations: 8.031 kB / 0.5553 GB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.273e-05/0.6091, allocations: 23.81 kB / 0.5553 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.6093, allocations: 195.6 kB / 0.5555 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.6093, allocations: 15.73 kB / 0.5555 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.6094, allocations: 15.06 kB / 0.5556 GB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.6097, allocations: 146.5 kB / 0.5557 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.6097, allocations: 0 / 0.5557 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.6098, allocations: 7.297 kB / 0.5557 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.6098, allocations: 7.938 kB / 0.5557 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.6099, allocations: 42.42 kB / 0.5557 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.6102, allocations: 300.3 kB / 0.556 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.6105, allocations: 126.9 kB / 0.5562 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.6105, allocations: 8 kB / 0.5562 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003817/0.6109, allocations: 203.1 kB / 0.5564 GB, free: 12.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.452e-06/0.6109, allocations: 0 / 0.5564 GB, free: 12.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005273/0.6115, allocations: 263.7 kB / 0.5566 GB, free: 12.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.6115, allocations: 59.34 kB / 0.5567 GB, free: 12.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.6117, allocations: 204.2 kB / 0.5569 GB, free: 12.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/0.6118, allocations: 33.14 kB / 0.5569 GB, free: 12.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.6118, allocations: 101 kB / 0.557 GB, free: 12.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.6119, allocations: 37.77 kB / 0.557 GB, free: 12.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.6119, allocations: 7.625 kB / 0.557 GB, free: 12.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6121, allocations: 326.1 kB / 0.5573 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.6123, allocations: 99.3 kB / 0.5574 GB, free: 11.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.6126, allocations: 154.8 kB / 0.5576 GB, free: 11.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.6129, allocations: 152 kB / 0.5577 GB, free: 11.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6129, allocations: 0 / 0.5577 GB, free: 11.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007019/0.6136, allocations: 404.8 kB / 0.5581 GB, free: 11.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.6136, allocations: 78.14 kB / 0.5582 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.6137, allocations: 4.188 kB / 0.5582 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6137, allocations: 4 kB / 0.5582 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.6138, allocations: 35.86 kB / 0.5582 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.6139, allocations: 4 kB / 0.5582 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.6142, allocations: 47.31 kB / 0.5583 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.018e-05/0.6143, allocations: 47.53 kB / 0.5583 GB, free: 10.85 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.0001737/0.6145, allocations: 161.1 kB / 0.5585 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.6145, allocations: 19.72 kB / 0.5585 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/0.6146, allocations: 28.36 kB / 0.5585 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.6146, allocations: 4 kB / 0.5585 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.6146, allocations: 3.953 kB / 0.5585 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.6146, allocations: 0 / 0.5585 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007403/0.6154, allocations: 0.5293 MB / 0.559 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6154, allocations: 4 kB / 0.5591 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.6154, allocations: 11.98 kB / 0.5591 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6154, allocations: 0 / 0.5591 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.6155, allocations: 14.69 kB / 0.5591 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.6155, allocations: 4 kB / 0.5591 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6155, allocations: 0 / 0.5591 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.6159, allocations: 310.5 kB / 0.5594 GB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.616, allocations: 134.3 kB / 0.5595 GB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.6161, allocations: 11.44 kB / 0.5595 GB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.6162, allocations: 18.75 kB / 0.5595 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.6163, allocations: 15.3 kB / 0.5595 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.6164, allocations: 23.98 kB / 0.5596 GB, free: 9.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.6165, allocations: 164.7 kB / 0.5597 GB, free: 9.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6165, allocations: 0 / 0.5597 GB, free: 9.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.6168, allocations: 46.19 kB / 0.5598 GB, free: 9.445 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.0001421/0.6169, allocations: 126.1 kB / 0.5599 GB, free: 9.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005559/0.6175, allocations: 345.9 kB / 0.5602 GB, free: 9.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6175, allocations: 3.938 kB / 0.5602 GB, free: 9.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.6177, allocations: 71.28 kB / 0.5603 GB, free: 8.965 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.6179, allocations: 18.2 kB / 0.5603 GB, free: 8.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.6185, allocations: 367.4 kB / 0.5607 GB, free: 8.598 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.6188, allocations: 0.727 MB / 0.5614 GB, free: 7.848 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.6189, allocations: 29.08 kB / 0.5614 GB, free: 7.816 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.619, allocations: 34.36 kB / 0.5614 GB, free: 7.785 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.619, allocations: 0 / 0.5614 GB, free: 7.785 MB / 378.7 MB Notification: Performance of Templates: time 0.0069/0.6259, allocations: 3.925 MB / 0.5653 GB, free: 3.848 MB / 378.7 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)