Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005514/0.005514, allocations: 99.92 kB / 15.73 MB, free: 6.016 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.001091/0.001091, allocations: 187.6 kB / 16.67 MB, free: 5.93 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7759/0.7759, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 60.11 kB / 0.5813 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1649, allocations: 80.21 MB / 0.6596 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002407/0.1674, allocations: 1.481 MB / 0.6611 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008855/0.1683, allocations: 429.2 kB / 0.6615 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.1683, allocations: 0 / 0.6615 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.872e-05/0.1685, allocations: 7.875 kB / 0.6615 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.1686, allocations: 20.23 kB / 0.6615 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006607/0.1692, allocations: 246.4 kB / 0.6618 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.1696, allocations: 315.5 kB / 0.6621 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.1696, allocations: 4 kB / 0.6621 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.1699, allocations: 195.7 kB / 0.6622 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.1701, allocations: 112.1 kB / 0.6624 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.811e-05/0.1702, allocations: 20 kB / 0.6624 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.784e-05/0.1703, allocations: 16 kB / 0.6624 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.1704, allocations: 75.78 kB / 0.6625 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.1705, allocations: 123.4 kB / 0.6626 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.1709, allocations: 278.9 kB / 0.6628 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1709, allocations: 0 / 0.6628 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.207e-06/0.1709, allocations: 7.984 kB / 0.6629 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.1709, allocations: 3.938 kB / 0.6629 GB, free: 7.008 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.001152/0.1721, allocations: 0.7076 MB / 0.6635 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1721, allocations: 12.03 kB / 0.6636 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.512e-05/0.1722, allocations: 32.73 kB / 0.6636 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.1725, allocations: 263.8 kB / 0.6638 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.1725, allocations: 12.38 kB / 0.6639 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.1726, allocations: 23.92 kB / 0.6639 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.1729, allocations: 148.7 kB / 0.664 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1729, allocations: 8 kB / 0.664 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.1729, allocations: 0 / 0.664 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1729, allocations: 0 / 0.664 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.1731, allocations: 55.91 kB / 0.6641 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.1734, allocations: 301.4 kB / 0.6644 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.1737, allocations: 130.7 kB / 0.6645 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.1738, allocations: 60.83 kB / 0.6645 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1739, allocations: 7.938 kB / 0.6646 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004252/0.1743, allocations: 219.6 kB / 0.6648 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 3.156e-06/0.1743, allocations: 3.984 kB / 0.6648 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005956/0.1749, allocations: 270.7 kB / 0.665 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.175, allocations: 67.38 kB / 0.6651 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.1752, allocations: 286.9 kB / 0.6654 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.1753, allocations: 41.7 kB / 0.6654 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.1753, allocations: 89.12 kB / 0.6655 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.966e-05/0.1754, allocations: 47.69 kB / 0.6655 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.1756, allocations: 105.8 kB / 0.6656 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1757, allocations: 322.8 kB / 0.6659 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.1759, allocations: 96.17 kB / 0.666 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.1761, allocations: 146.4 kB / 0.6662 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.1765, allocations: 244 kB / 0.6664 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1765, allocations: 0 / 0.6664 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006629/0.1771, allocations: 420.8 kB / 0.6668 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.622e-05/0.1772, allocations: 71.39 kB / 0.6669 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1772, allocations: 4 kB / 0.6669 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.1773, allocations: 4 kB / 0.6669 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.1774, allocations: 27.91 kB / 0.6669 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1775, allocations: 4 kB / 0.6669 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/0.1779, allocations: 51.91 kB / 0.667 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.685e-05/0.178, allocations: 60.02 kB / 0.667 GB, free: 2.406 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.0001845/0.1782, allocations: 167.9 kB / 0.6672 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.1783, allocations: 35.73 kB / 0.6672 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.302e-05/0.1783, allocations: 34.25 kB / 0.6672 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1784, allocations: 0 / 0.6672 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.1784, allocations: 4 kB / 0.6673 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1784, allocations: 4 kB / 0.6673 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007602/0.1791, allocations: 0.5666 MB / 0.6678 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1792, allocations: 0 / 0.6678 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/0.1792, allocations: 11.98 kB / 0.6678 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1792, allocations: 3.938 kB / 0.6678 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.1792, allocations: 7.984 kB / 0.6678 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1793, allocations: 4 kB / 0.6678 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1793, allocations: 0 / 0.6678 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004238/0.1797, allocations: 323 kB / 0.6681 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.1799, allocations: 160.9 kB / 0.6683 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.287e-05/0.1799, allocations: 11.98 kB / 0.6683 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.1801, allocations: 11.98 kB / 0.6683 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.1802, allocations: 15.98 kB / 0.6683 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.1803, allocations: 27.98 kB / 0.6684 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001769/0.1804, allocations: 209.9 kB / 0.6686 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1804, allocations: 0 / 0.6686 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003051/0.1807, allocations: 48 kB / 0.6686 GB, free: 0.6797 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.0001233/0.1809, allocations: 123.6 kB / 0.6687 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000531/0.1814, allocations: 344.4 kB / 0.6691 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1814, allocations: 0 / 0.6691 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.1816, allocations: 75.81 kB / 0.6691 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.1819, allocations: 20.88 kB / 0.6691 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006153/0.1825, allocations: 389.5 kB / 0.6695 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.1828, allocations: 0.7435 MB / 0.6702 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.1829, allocations: 45.41 kB / 0.6703 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.1831, allocations: 35.42 kB / 0.6703 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1831, allocations: 0 / 0.6703 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of Templates: time 0.007638/0.1907, allocations: 4.071 MB / 0.6743 GB, free: 10.8 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)