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.001226/0.001231, allocations: 108 kB / 15.6 MB, free: 132 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.00123/0.00123, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7319/0.7319, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 64.58 kB / 0.5018 GB, free: 8.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.166, allocations: 80.2 MB / 0.5801 GB, free: 8.797 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003198/0.1693, allocations: 1.468 MB / 0.5815 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1707, allocations: 420.7 kB / 0.5819 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.1709, allocations: 4 kB / 0.5819 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.1711, allocations: 11.86 kB / 0.5819 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.1713, allocations: 24.23 kB / 0.582 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008582/0.1722, allocations: 246 kB / 0.5822 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000442/0.1726, allocations: 307.5 kB / 0.5825 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.921e-05/0.1727, allocations: 19.95 kB / 0.5825 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.1731, allocations: 187.7 kB / 0.5827 GB, free: 6.121 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.1733, allocations: 108 kB / 0.5828 GB, free: 6.016 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.597e-05/0.1734, allocations: 16 kB / 0.5828 GB, free: 6 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.572e-05/0.1735, allocations: 20 kB / 0.5828 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.1736, allocations: 71.78 kB / 0.5829 GB, free: 5.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.1738, allocations: 131.4 kB / 0.583 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.1742, allocations: 279.3 kB / 0.5833 GB, free: 5.508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.1742, allocations: 0 / 0.5833 GB, free: 5.508 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1742, allocations: 4 kB / 0.5833 GB, free: 5.504 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1742, allocations: 4 kB / 0.5833 GB, free: 5.5 MB / 494.1 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.001372/0.1756, allocations: 0.6883 MB / 0.584 GB, free: 4.738 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1757, allocations: 12.03 kB / 0.584 GB, free: 4.727 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.1758, allocations: 36.55 kB / 0.584 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.1762, allocations: 263.5 kB / 0.5843 GB, free: 4.395 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.1762, allocations: 12.36 kB / 0.5843 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.607e-05/0.1763, allocations: 23.94 kB / 0.5843 GB, free: 4.359 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.1767, allocations: 149.5 kB / 0.5844 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1767, allocations: 0 / 0.5844 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.1767, allocations: 0 / 0.5844 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1767, allocations: 3.984 kB / 0.5844 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.1769, allocations: 43.98 kB / 0.5845 GB, free: 4.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.1774, allocations: 313.4 kB / 0.5848 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.1778, allocations: 138.6 kB / 0.5849 GB, free: 3.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.1779, allocations: 56.83 kB / 0.585 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.1779, allocations: 0 / 0.585 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005793/0.1785, allocations: 229.8 kB / 0.5852 GB, free: 3.367 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.794e-06/0.1785, allocations: 0 / 0.5852 GB, free: 3.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006236/0.1792, allocations: 265.2 kB / 0.5854 GB, free: 3.102 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.1792, allocations: 55.41 kB / 0.5855 GB, free: 3.035 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.1795, allocations: 298.8 kB / 0.5858 GB, free: 2.742 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.1796, allocations: 37.7 kB / 0.5858 GB, free: 2.699 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.1796, allocations: 89.14 kB / 0.5859 GB, free: 2.609 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.1797, allocations: 47.44 kB / 0.5859 GB, free: 2.562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.1799, allocations: 113.7 kB / 0.5861 GB, free: 2.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1801, allocations: 318.8 kB / 0.5864 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.1803, allocations: 96.17 kB / 0.5865 GB, free: 2.027 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.1805, allocations: 146.3 kB / 0.5866 GB, free: 1.863 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.1809, allocations: 242.9 kB / 0.5868 GB, free: 1.594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1809, allocations: 0 / 0.5868 GB, free: 1.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006805/0.1816, allocations: 425.5 kB / 0.5872 GB, free: 1.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/0.1817, allocations: 77.72 kB / 0.5873 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1817, allocations: 3.938 kB / 0.5873 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1817, allocations: 4 kB / 0.5873 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.1819, allocations: 23.92 kB / 0.5873 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.1819, allocations: 7.984 kB / 0.5873 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005249/0.1824, allocations: 67.92 kB / 0.5874 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.1826, allocations: 59.97 kB / 0.5875 GB, free: 0.9102 MB / 494.1 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 (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.0001792/0.1827, allocations: 168 kB / 0.5876 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-05/0.1828, allocations: 31.64 kB / 0.5877 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.734e-05/0.1829, allocations: 30.25 kB / 0.5877 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1829, allocations: 4 kB / 0.5877 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1829, allocations: 0 / 0.5877 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1829, allocations: 4 kB / 0.5877 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007373/0.1837, allocations: 0.5606 MB / 0.5882 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1837, allocations: 4 kB / 0.5882 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.1837, allocations: 7.984 kB / 0.5882 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1837, allocations: 4 kB / 0.5883 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.1838, allocations: 7.984 kB / 0.5883 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1838, allocations: 0 / 0.5883 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1838, allocations: 0 / 0.5883 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.1842, allocations: 323 kB / 0.5886 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.1844, allocations: 164.6 kB / 0.5887 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.739e-05/0.1844, allocations: 11.98 kB / 0.5887 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.1847, allocations: 7.984 kB / 0.5887 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.1847, allocations: 15.98 kB / 0.5888 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.1848, allocations: 31.92 kB / 0.5888 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001719/0.1849, allocations: 209.9 kB / 0.589 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.185, allocations: 0 / 0.589 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003168/0.1853, allocations: 56 kB / 0.589 GB, free: 15.18 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.0001559/0.1854, allocations: 112.9 kB / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005709/0.186, allocations: 352.4 kB / 0.5895 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.186, allocations: 4 kB / 0.5895 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.1862, allocations: 75.89 kB / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1865, allocations: 24.77 kB / 0.5896 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006565/0.1872, allocations: 392 kB / 0.59 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.1875, allocations: 0.7435 MB / 0.5907 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000136/0.1876, allocations: 41.42 kB / 0.5907 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.1878, allocations: 31.42 kB / 0.5908 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1878, allocations: 3.938 kB / 0.5908 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.007743/0.1955, allocations: 4.091 MB / 0.5948 GB, free: 9.301 MB / 0.4981 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)