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.001326/0.001326, allocations: 106.5 kB / 16.41 MB, free: 6.508 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.001244/0.001244, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8632/0.8632, allocations: 135.2 MB / 426.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.177, allocations: 80.94 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002726/0.1798, allocations: 1.465 MB / 0.6668 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1808, allocations: 415.3 kB / 0.6672 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.1809, allocations: 0 / 0.6672 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.181, allocations: 19.86 kB / 0.6672 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.1811, allocations: 16.23 kB / 0.6672 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007503/0.1818, allocations: 251.4 kB / 0.6674 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004052/0.1822, allocations: 303.5 kB / 0.6677 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.1823, allocations: 4 kB / 0.6677 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.1826, allocations: 195.6 kB / 0.6679 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.1828, allocations: 114.1 kB / 0.668 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.624e-05/0.1829, allocations: 20 kB / 0.668 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.162e-05/0.1829, allocations: 20 kB / 0.6681 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.183, allocations: 83.7 kB / 0.6681 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.1832, allocations: 119.4 kB / 0.6683 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.1835, allocations: 279 kB / 0.6685 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1835, allocations: 0 / 0.6685 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1835, allocations: 0 / 0.6685 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.1835, allocations: 0 / 0.6685 GB, free: 2.496 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.00129/0.1848, allocations: 0.7115 MB / 0.6692 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1849, allocations: 9.109 kB / 0.6692 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.185, allocations: 40.75 kB / 0.6693 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.1853, allocations: 263.8 kB / 0.6695 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.1853, allocations: 12.36 kB / 0.6695 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.616e-05/0.1854, allocations: 23.94 kB / 0.6695 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.1857, allocations: 141.5 kB / 0.6697 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1857, allocations: 0 / 0.6697 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.1858, allocations: 7.984 kB / 0.6697 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1858, allocations: 8 kB / 0.6697 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.1859, allocations: 47.92 kB / 0.6697 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.1863, allocations: 309.4 kB / 0.67 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.1866, allocations: 118.6 kB / 0.6702 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.1867, allocations: 52.83 kB / 0.6702 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.1868, allocations: 4 kB / 0.6702 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004534/0.1872, allocations: 211.6 kB / 0.6704 GB, free: 380 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.1872, allocations: 0 / 0.6704 GB, free: 380 kB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006547/0.1879, allocations: 279.2 kB / 0.6707 GB, free: 96 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.1879, allocations: 67.33 kB / 0.6707 GB, free: 16 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.1883, allocations: 290.9 kB / 0.671 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/0.1883, allocations: 41.69 kB / 0.6711 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.267e-05/0.1884, allocations: 89.14 kB / 0.6711 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.1885, allocations: 43.69 kB / 0.6712 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.1886, allocations: 105.8 kB / 0.6713 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1888, allocations: 322.8 kB / 0.6716 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.189, allocations: 96.19 kB / 0.6717 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.1893, allocations: 152.6 kB / 0.6718 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.1896, allocations: 246.9 kB / 0.6721 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.1896, allocations: 4 kB / 0.6721 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007435/0.1904, allocations: 408.7 kB / 0.6725 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.47e-05/0.1905, allocations: 71.39 kB / 0.6725 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.1905, allocations: 4.188 kB / 0.6725 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.1905, allocations: 7.938 kB / 0.6725 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.1907, allocations: 31.91 kB / 0.6726 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.1907, allocations: 4 kB / 0.6726 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/0.1912, allocations: 55.91 kB / 0.6726 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.112e-05/0.1913, allocations: 47.98 kB / 0.6727 GB, free: 13.92 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.0002167/0.1915, allocations: 187.9 kB / 0.6728 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.1916, allocations: 31.75 kB / 0.6729 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.225e-05/0.1916, allocations: 26.25 kB / 0.6729 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1916, allocations: 4 kB / 0.6729 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1916, allocations: 0 / 0.6729 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1916, allocations: 0 / 0.6729 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008743/0.1925, allocations: 0.5623 MB / 0.6735 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.1925, allocations: 3.984 kB / 0.6735 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.1926, allocations: 12 kB / 0.6735 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1926, allocations: 0 / 0.6735 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.1926, allocations: 15.98 kB / 0.6735 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1926, allocations: 4 kB / 0.6735 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1926, allocations: 0 / 0.6735 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.1931, allocations: 333.1 kB / 0.6738 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.1933, allocations: 148.9 kB / 0.674 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.1933, allocations: 12 kB / 0.674 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.1935, allocations: 15.98 kB / 0.674 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.1936, allocations: 11.98 kB / 0.674 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.1936, allocations: 35.97 kB / 0.674 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002078/0.1939, allocations: 205.9 kB / 0.6742 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1939, allocations: 0 / 0.6742 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003214/0.1942, allocations: 51.98 kB / 0.6743 GB, free: 12.18 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.0001519/0.1943, allocations: 108.4 kB / 0.6744 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000599/0.1949, allocations: 318.5 kB / 0.6747 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1949, allocations: 0 / 0.6747 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.1951, allocations: 67.89 kB / 0.6747 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.1954, allocations: 23.69 kB / 0.6748 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000749/0.1962, allocations: 429.5 kB / 0.6752 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.1966, allocations: 0.7407 MB / 0.6759 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.1967, allocations: 35.42 kB / 0.6759 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.1967, allocations: 4 kB / 0.6759 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.005557/0.2023, allocations: 2.985 MB / 0.6788 GB, free: 7.402 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)