Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009119/0.000912, allocations: 91.84 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009865/0.0009865, allocations: 181.7 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9023/0.9023, allocations: 135.3 MB / 427.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003362, allocations: 8 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.162, allocations: 82.31 MB / 0.5886 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.001552/0.1636, allocations: 1.188 MB / 0.5898 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009892/0.1646, allocations: 451.3 kB / 0.5902 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.1647, allocations: 0 / 0.5902 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.942e-05/0.1647, allocations: 7.938 kB / 0.5902 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.83e-05/0.1649, allocations: 16.3 kB / 0.5902 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006277/0.1655, allocations: 226.5 kB / 0.5904 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.1658, allocations: 287.9 kB / 0.5907 GB, free: 476 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.1659, allocations: 4 kB / 0.5907 GB, free: 472 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.1662, allocations: 206.3 kB / 0.5909 GB, free: 268 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.1664, allocations: 131.6 kB / 0.591 GB, free: 136 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.075e-05/0.1665, allocations: 8 kB / 0.591 GB, free: 128 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.751e-05/0.1665, allocations: 8 kB / 0.5911 GB, free: 120 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.493e-05/0.1666, allocations: 71.78 kB / 0.5911 GB, free: 48 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.1668, allocations: 145.1 kB / 0.5913 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.167, allocations: 207.8 kB / 0.5915 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.167, allocations: 3.938 kB / 0.5915 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.167, allocations: 0 / 0.5915 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.167, allocations: 0 / 0.5915 GB, free: 15.69 MB / 0.4981 GB 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.0009929/0.168, allocations: 0.618 MB / 0.5921 GB, free: 15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1681, allocations: 12.03 kB / 0.5921 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.427e-05/0.1682, allocations: 31.7 kB / 0.5921 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.1684, allocations: 258.3 kB / 0.5924 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.1685, allocations: 15.98 kB / 0.5924 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.973e-05/0.1685, allocations: 16 kB / 0.5924 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.1688, allocations: 145.5 kB / 0.5925 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1688, allocations: 4 kB / 0.5925 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.1689, allocations: 0 / 0.5925 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1689, allocations: 7.922 kB / 0.5925 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.169, allocations: 43.98 kB / 0.5926 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.1694, allocations: 317.2 kB / 0.5929 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.1696, allocations: 134.8 kB / 0.593 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.1698, allocations: 68.77 kB / 0.5931 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1698, allocations: 0 / 0.5931 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004206/0.1702, allocations: 219.5 kB / 0.5933 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.512e-06/0.1702, allocations: 0 / 0.5933 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005552/0.1708, allocations: 271.3 kB / 0.5935 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.1708, allocations: 59.41 kB / 0.5936 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.1711, allocations: 290.9 kB / 0.5939 GB, free: 13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/0.1712, allocations: 41.7 kB / 0.5939 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.1712, allocations: 93.05 kB / 0.594 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.1713, allocations: 43.53 kB / 0.594 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.1713, allocations: 37.69 kB / 0.5941 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.1714, allocations: 326.8 kB / 0.5944 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.1717, allocations: 96.17 kB / 0.5945 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.1719, allocations: 147.1 kB / 0.5946 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.1722, allocations: 243.1 kB / 0.5949 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.1722, allocations: 7.938 kB / 0.5949 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006722/0.1729, allocations: 418.2 kB / 0.5953 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/0.173, allocations: 71.39 kB / 0.5953 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.173, allocations: 4 kB / 0.5953 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.173, allocations: 0 / 0.5953 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.1732, allocations: 31.91 kB / 0.5954 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1732, allocations: 4 kB / 0.5954 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.1737, allocations: 71.83 kB / 0.5954 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.854e-05/0.1738, allocations: 51.98 kB / 0.5955 GB, free: 11.24 MB / 0.4981 GB 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.0001653/0.174, allocations: 171.9 kB / 0.5956 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.174, allocations: 27.72 kB / 0.5957 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.1741, allocations: 30.25 kB / 0.5957 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1741, allocations: 0 / 0.5957 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1741, allocations: 4 kB / 0.5957 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1741, allocations: 4 kB / 0.5957 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007265/0.1748, allocations: 0.563 MB / 0.5963 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1749, allocations: 0 / 0.5963 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-05/0.1749, allocations: 12 kB / 0.5963 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1749, allocations: 0 / 0.5963 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.175, allocations: 15.98 kB / 0.5963 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.175, allocations: 7.922 kB / 0.5963 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.175, allocations: 0 / 0.5963 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.1754, allocations: 323 kB / 0.5966 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.1755, allocations: 160.5 kB / 0.5968 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.1756, allocations: 8 kB / 0.5968 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.1758, allocations: 19.92 kB / 0.5968 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.1759, allocations: 11.98 kB / 0.5968 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.1759, allocations: 35.97 kB / 0.5968 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001755/0.1761, allocations: 209.9 kB / 0.597 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1761, allocations: 0 / 0.597 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003228/0.1764, allocations: 51.98 kB / 0.5971 GB, free: 9.508 MB / 0.4981 GB 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.0001216/0.1766, allocations: 115.9 kB / 0.5972 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005139/0.1771, allocations: 340.5 kB / 0.5975 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1771, allocations: 0 / 0.5975 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.1772, allocations: 76.27 kB / 0.5976 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.1776, allocations: 24.88 kB / 0.5976 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006618/0.1782, allocations: 0.4926 MB / 0.5981 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1785, allocations: 0.7438 MB / 0.5988 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.1787, allocations: 39.42 kB / 0.5989 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.1787, allocations: 0 / 0.5989 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.00451/0.1832, allocations: 2.962 MB / 0.6017 GB, free: 4.656 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)