Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001225/0.001225, allocations: 187.7 kB / 16.25 MB, free: 6.633 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.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.027/1.027, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 55.34 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1803, allocations: 80.93 MB / 0.5839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002735/0.1831, allocations: 1.523 MB / 0.5854 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009274/0.1841, allocations: 425.6 kB / 0.5858 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.1841, allocations: 0 / 0.5858 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.217e-05/0.1842, allocations: 11.94 kB / 0.5858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.1844, allocations: 16.28 kB / 0.5858 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000702/0.1851, allocations: 223.1 kB / 0.586 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003498/0.1854, allocations: 323.9 kB / 0.5863 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.1855, allocations: 4 kB / 0.5863 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.1858, allocations: 234.3 kB / 0.5865 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.1861, allocations: 131.5 kB / 0.5867 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.1861, allocations: 20 kB / 0.5867 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.192e-05/0.1862, allocations: 16 kB / 0.5867 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1863, allocations: 79.78 kB / 0.5868 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.1864, allocations: 127.4 kB / 0.5869 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.1868, allocations: 295.3 kB / 0.5872 GB, free: 1.512 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1868, allocations: 4 kB / 0.5872 GB, free: 1.508 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1868, allocations: 0 / 0.5872 GB, free: 1.508 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1868, allocations: 0 / 0.5872 GB, free: 1.508 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.001295/0.1881, allocations: 0.6997 MB / 0.5879 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1881, allocations: 8.031 kB / 0.5879 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.1883, allocations: 31.72 kB / 0.5879 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.1886, allocations: 254.3 kB / 0.5882 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.1886, allocations: 12 kB / 0.5882 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/0.1887, allocations: 23.98 kB / 0.5882 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.189, allocations: 149.4 kB / 0.5883 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.189, allocations: 3.938 kB / 0.5883 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.1891, allocations: 8 kB / 0.5883 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1891, allocations: 4 kB / 0.5883 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.1892, allocations: 43.97 kB / 0.5884 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.1896, allocations: 309.4 kB / 0.5887 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.1899, allocations: 130.7 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.19, allocations: 61.19 kB / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1901, allocations: 4 kB / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004763/0.1906, allocations: 223.5 kB / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.1906, allocations: 0 / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006079/0.1912, allocations: 271.3 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1912, allocations: 67.39 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.1915, allocations: 290.9 kB / 0.5897 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.1916, allocations: 33.7 kB / 0.5897 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.1916, allocations: 97.12 kB / 0.5898 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.1917, allocations: 47.44 kB / 0.5899 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.1919, allocations: 105.7 kB / 0.59 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.192, allocations: 326.8 kB / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.1922, allocations: 88.19 kB / 0.5904 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.1925, allocations: 147.1 kB / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.1929, allocations: 250.3 kB / 0.5907 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1929, allocations: 0 / 0.5907 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000743/0.1936, allocations: 417.7 kB / 0.5911 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.049e-05/0.1937, allocations: 75.39 kB / 0.5912 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1937, allocations: 4 kB / 0.5912 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1938, allocations: 11.88 kB / 0.5912 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.1939, allocations: 27.91 kB / 0.5912 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.194, allocations: 0 / 0.5912 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/0.1945, allocations: 63.98 kB / 0.5913 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.469e-05/0.1946, allocations: 55.98 kB / 0.5914 GB, free: 12.91 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.0001802/0.1948, allocations: 168 kB / 0.5915 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.1948, allocations: 23.72 kB / 0.5915 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.1949, allocations: 30.25 kB / 0.5916 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1949, allocations: 3.938 kB / 0.5916 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.1949, allocations: 4 kB / 0.5916 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1949, allocations: 4 kB / 0.5916 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008042/0.1957, allocations: 0.5606 MB / 0.5921 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1957, allocations: 0 / 0.5921 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.1958, allocations: 12 kB / 0.5921 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1958, allocations: 3.938 kB / 0.5921 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.1958, allocations: 11.98 kB / 0.5922 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1959, allocations: 3.938 kB / 0.5922 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1959, allocations: 3.984 kB / 0.5922 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.1963, allocations: 325.2 kB / 0.5925 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.1965, allocations: 160.6 kB / 0.5926 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/0.1965, allocations: 12 kB / 0.5926 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.1968, allocations: 11.98 kB / 0.5926 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.1968, allocations: 15.98 kB / 0.5927 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.235e-05/0.1969, allocations: 31.97 kB / 0.5927 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000193/0.1971, allocations: 205.9 kB / 0.5929 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1971, allocations: 4 kB / 0.5929 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003275/0.1974, allocations: 51.98 kB / 0.5929 GB, free: 11.19 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.000127/0.1976, allocations: 115.2 kB / 0.5931 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005747/0.1981, allocations: 350.5 kB / 0.5934 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1981, allocations: 0 / 0.5934 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.1983, allocations: 76.27 kB / 0.5935 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1987, allocations: 30.38 kB / 0.5935 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000693/0.1994, allocations: 479.1 kB / 0.5939 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.1997, allocations: 0.7368 MB / 0.5947 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001576/0.1999, allocations: 37.42 kB / 0.5947 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.2, allocations: 43.41 kB / 0.5947 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.2, allocations: 0 / 0.5947 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of Templates: time 0.007293/0.2073, allocations: 4.124 MB / 0.5988 GB, free: 5.18 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)