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.001226/0.001226, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001328/0.001329, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9638/0.9638, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 68.5 kB / 0.5047 GB, free: 5.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1692, allocations: 80.92 MB / 0.5837 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002428/0.1717, allocations: 1.535 MB / 0.5852 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009421/0.1726, allocations: 443.4 kB / 0.5856 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.1727, allocations: 4 kB / 0.5856 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.1728, allocations: 7.922 kB / 0.5856 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.745e-05/0.1729, allocations: 24.22 kB / 0.5857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005975/0.1735, allocations: 218.2 kB / 0.5859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.1738, allocations: 295.9 kB / 0.5861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.1739, allocations: 11.97 kB / 0.5862 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.1741, allocations: 214.3 kB / 0.5864 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.1743, allocations: 119.6 kB / 0.5865 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.691e-05/0.1744, allocations: 8 kB / 0.5865 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.424e-05/0.1745, allocations: 8 kB / 0.5865 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1746, allocations: 79.77 kB / 0.5866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.1748, allocations: 119.3 kB / 0.5867 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.1751, allocations: 275.3 kB / 0.5869 GB, free: 1.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1751, allocations: 4 kB / 0.5869 GB, free: 1.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1751, allocations: 0 / 0.5869 GB, free: 1.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1751, allocations: 0 / 0.5869 GB, free: 1.68 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.001227/0.1764, allocations: 0.7036 MB / 0.5876 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1764, allocations: 12.03 kB / 0.5876 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.19e-05/0.1765, allocations: 27.72 kB / 0.5877 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.1768, allocations: 258.3 kB / 0.5879 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.1768, allocations: 12 kB / 0.5879 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/0.1769, allocations: 23.98 kB / 0.5879 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.1772, allocations: 153.5 kB / 0.5881 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1772, allocations: 3.938 kB / 0.5881 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.1773, allocations: 0 / 0.5881 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1773, allocations: 0 / 0.5881 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.1774, allocations: 47.97 kB / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.1778, allocations: 309.4 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.178, allocations: 138 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.1782, allocations: 56.84 kB / 0.5886 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1782, allocations: 0 / 0.5886 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004487/0.1787, allocations: 227.5 kB / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.1787, allocations: 3.938 kB / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005863/0.1793, allocations: 271.7 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.1793, allocations: 59.41 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.1796, allocations: 286.9 kB / 0.5894 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.065e-05/0.1797, allocations: 41.7 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/0.1798, allocations: 97.12 kB / 0.5896 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.1799, allocations: 51.38 kB / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.1801, allocations: 101.7 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1802, allocations: 322.8 kB / 0.59 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.1804, allocations: 96.17 kB / 0.5901 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.1807, allocations: 151 kB / 0.5903 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.181, allocations: 242.8 kB / 0.5905 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.181, allocations: 4 kB / 0.5905 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007192/0.1818, allocations: 421.1 kB / 0.5909 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/0.1818, allocations: 71.39 kB / 0.591 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1819, allocations: 3.938 kB / 0.591 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1819, allocations: 7.938 kB / 0.591 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.1821, allocations: 27.97 kB / 0.591 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1821, allocations: 7.938 kB / 0.591 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.1826, allocations: 63.98 kB / 0.5911 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.1827, allocations: 51.98 kB / 0.5911 GB, free: 13.07 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.0001745/0.1829, allocations: 168 kB / 0.5913 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.1829, allocations: 27.7 kB / 0.5913 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.906e-05/0.183, allocations: 26.25 kB / 0.5913 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.183, allocations: 15.81 kB / 0.5913 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.183, allocations: 4 kB / 0.5913 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.183, allocations: 0 / 0.5913 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007929/0.1838, allocations: 0.5607 MB / 0.5919 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1838, allocations: 0 / 0.5919 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.1839, allocations: 7.938 kB / 0.5919 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1839, allocations: 0 / 0.5919 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.1839, allocations: 19.97 kB / 0.5919 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.184, allocations: 0 / 0.5919 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.184, allocations: 0 / 0.5919 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.1844, allocations: 324.3 kB / 0.5922 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.1846, allocations: 160.6 kB / 0.5924 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-05/0.1846, allocations: 8 kB / 0.5924 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.1849, allocations: 11.98 kB / 0.5924 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.1849, allocations: 15.97 kB / 0.5924 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/0.185, allocations: 31.98 kB / 0.5925 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001839/0.1852, allocations: 209.9 kB / 0.5927 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1852, allocations: 4 kB / 0.5927 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003268/0.1855, allocations: 48 kB / 0.5927 GB, free: 11.36 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.000132/0.1857, allocations: 116.5 kB / 0.5928 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005449/0.1862, allocations: 344.9 kB / 0.5931 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1862, allocations: 0 / 0.5931 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.1864, allocations: 63.97 kB / 0.5932 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1867, allocations: 33.19 kB / 0.5932 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007494/0.1875, allocations: 473.3 kB / 0.5937 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1878, allocations: 0.736 MB / 0.5944 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001504/0.188, allocations: 37.42 kB / 0.5944 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.1881, allocations: 47.34 kB / 0.5945 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1881, allocations: 0 / 0.5945 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of Templates: time 0.007322/0.1955, allocations: 3.994 MB / 0.5984 GB, free: 5.488 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)