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.007603/0.007603, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001604/0.001604, allocations: 190.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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7669/0.7669, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 61.97 kB / 0.5856 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1577, allocations: 80.92 MB / 0.6646 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.0037/0.1614, allocations: 1.477 MB / 0.666 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1625, allocations: 421.2 kB / 0.6664 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.1626, allocations: 0 / 0.6664 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.1627, allocations: 7.875 kB / 0.6665 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.1628, allocations: 28.22 kB / 0.6665 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007169/0.1636, allocations: 250.9 kB / 0.6667 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000351/0.1639, allocations: 315.5 kB / 0.667 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.164, allocations: 8 kB / 0.667 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.1643, allocations: 183.7 kB / 0.6672 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.1645, allocations: 114.2 kB / 0.6673 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.493e-05/0.1646, allocations: 20 kB / 0.6673 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.876e-05/0.1647, allocations: 20 kB / 0.6674 GB, free: 3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1648, allocations: 79.72 kB / 0.6674 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.1649, allocations: 123.4 kB / 0.6675 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.1652, allocations: 275.1 kB / 0.6678 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.607e-05/0.1652, allocations: 0 / 0.6678 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1652, allocations: 3.938 kB / 0.6678 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.1653, allocations: 3.984 kB / 0.6678 GB, free: 2.523 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.001235/0.1665, allocations: 0.6999 MB / 0.6685 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.1665, allocations: 9.109 kB / 0.6685 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.1667, allocations: 32.66 kB / 0.6685 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004195/0.1671, allocations: 263.6 kB / 0.6688 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.1672, allocations: 8.375 kB / 0.6688 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/0.1672, allocations: 27.92 kB / 0.6688 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.1676, allocations: 149.5 kB / 0.669 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1676, allocations: 4 kB / 0.669 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.1676, allocations: 0 / 0.669 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1677, allocations: 4 kB / 0.669 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.1678, allocations: 47.91 kB / 0.669 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.1683, allocations: 317.3 kB / 0.6693 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.1686, allocations: 122.7 kB / 0.6694 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.1688, allocations: 64.83 kB / 0.6695 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.1688, allocations: 3.938 kB / 0.6695 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004471/0.1693, allocations: 223.5 kB / 0.6697 GB, free: 388 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.084e-06/0.1693, allocations: 0 / 0.6697 GB, free: 388 kB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006453/0.1699, allocations: 270.9 kB / 0.67 GB, free: 112 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.17, allocations: 59.39 kB / 0.67 GB, free: 40 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.1703, allocations: 287 kB / 0.6703 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/0.1704, allocations: 37.7 kB / 0.6703 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.1705, allocations: 97.03 kB / 0.6704 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.1705, allocations: 39.59 kB / 0.6705 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.1707, allocations: 105.6 kB / 0.6706 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1709, allocations: 326.8 kB / 0.6709 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.1711, allocations: 92.17 kB / 0.671 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.1714, allocations: 152.6 kB / 0.6711 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.1717, allocations: 245.1 kB / 0.6714 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1717, allocations: 0 / 0.6714 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007222/0.1725, allocations: 410.5 kB / 0.6717 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.135e-05/0.1725, allocations: 79.42 kB / 0.6718 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1726, allocations: 0 / 0.6718 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1726, allocations: 4 kB / 0.6718 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.1727, allocations: 27.91 kB / 0.6719 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.1728, allocations: 4 kB / 0.6719 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.1732, allocations: 59.8 kB / 0.6719 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.425e-05/0.1733, allocations: 55.98 kB / 0.672 GB, free: 13.94 MB / 0.5137 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.0001697/0.1735, allocations: 168 kB / 0.6721 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.1735, allocations: 35.55 kB / 0.6722 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.1736, allocations: 26.25 kB / 0.6722 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1736, allocations: 4 kB / 0.6722 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1736, allocations: 0 / 0.6722 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1736, allocations: 0 / 0.6722 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007919/0.1744, allocations: 0.5662 MB / 0.6727 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1744, allocations: 4 kB / 0.6727 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.1745, allocations: 15.97 kB / 0.6728 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1745, allocations: 0 / 0.6728 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.1745, allocations: 15.98 kB / 0.6728 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1745, allocations: 0 / 0.6728 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1745, allocations: 0 / 0.6728 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/0.175, allocations: 330.8 kB / 0.6731 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.1752, allocations: 152.7 kB / 0.6732 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/0.1753, allocations: 15.98 kB / 0.6733 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.1755, allocations: 11.98 kB / 0.6733 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/0.1756, allocations: 15.98 kB / 0.6733 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/0.1756, allocations: 27.98 kB / 0.6733 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002091/0.1758, allocations: 209.9 kB / 0.6735 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1759, allocations: 0 / 0.6735 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003101/0.1762, allocations: 48 kB / 0.6736 GB, free: 12.21 MB / 0.5137 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.0001542/0.1763, allocations: 120 kB / 0.6737 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006119/0.1769, allocations: 352.3 kB / 0.674 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.177, allocations: 0 / 0.674 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.1771, allocations: 71.91 kB / 0.6741 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1775, allocations: 22.19 kB / 0.6741 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007457/0.1782, allocations: 378.1 kB / 0.6745 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.1787, allocations: 0.7435 MB / 0.6752 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000117/0.1788, allocations: 41.36 kB / 0.6752 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.1789, allocations: 35.42 kB / 0.6753 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of SimCode: time 1.9e-07/0.1789, allocations: 0 / 0.6753 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of Templates: time 0.008042/0.187, allocations: 4.083 MB / 0.6792 GB, free: 6.328 MB / 0.5137 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)