Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005135/0.005136, allocations: 105.9 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.001159/0.001159, allocations: 189 kB / 16.67 MB, free: 5.926 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9141/0.9141, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 61.94 kB / 0.5813 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1785, allocations: 80.22 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003066/0.1816, allocations: 1.467 MB / 0.6611 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1828, allocations: 435.3 kB / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.669e-05/0.1829, allocations: 0 / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.183, allocations: 7.875 kB / 0.6615 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.1832, allocations: 24.22 kB / 0.6615 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009015/0.1842, allocations: 239.5 kB / 0.6618 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004836/0.1846, allocations: 315.5 kB / 0.6621 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.645e-05/0.1847, allocations: 11.98 kB / 0.6621 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003702/0.1851, allocations: 191.7 kB / 0.6623 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.1854, allocations: 116.1 kB / 0.6624 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.668e-05/0.1855, allocations: 16 kB / 0.6624 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.822e-05/0.1856, allocations: 20 kB / 0.6624 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.1857, allocations: 79.72 kB / 0.6625 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.1859, allocations: 123.4 kB / 0.6626 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.1862, allocations: 275.1 kB / 0.6629 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1863, allocations: 3.938 kB / 0.6629 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1863, allocations: 0 / 0.6629 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.1863, allocations: 0 / 0.6629 GB, free: 6.988 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.00138/0.1877, allocations: 0.7038 MB / 0.6635 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1877, allocations: 8.031 kB / 0.6636 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.1879, allocations: 36.59 kB / 0.6636 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.1882, allocations: 263.5 kB / 0.6638 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.1883, allocations: 12.38 kB / 0.6639 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/0.1883, allocations: 19.92 kB / 0.6639 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.1887, allocations: 148.8 kB / 0.664 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1887, allocations: 0 / 0.664 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.1887, allocations: 4 kB / 0.664 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1887, allocations: 8 kB / 0.664 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1889, allocations: 43.91 kB / 0.6641 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.1893, allocations: 317.4 kB / 0.6644 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.1896, allocations: 130.6 kB / 0.6645 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.1897, allocations: 52.84 kB / 0.6645 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.1898, allocations: 7.984 kB / 0.6646 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004608/0.1902, allocations: 219.5 kB / 0.6648 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.763e-06/0.1902, allocations: 0 / 0.6648 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006005/0.1908, allocations: 279 kB / 0.665 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1909, allocations: 59.41 kB / 0.6651 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.1912, allocations: 286.9 kB / 0.6654 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.1913, allocations: 41.7 kB / 0.6654 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.153e-05/0.1914, allocations: 93.12 kB / 0.6655 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.1914, allocations: 39.59 kB / 0.6655 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.1916, allocations: 105.6 kB / 0.6656 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1918, allocations: 322.8 kB / 0.6659 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.192, allocations: 100.2 kB / 0.666 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/0.1923, allocations: 150.4 kB / 0.6662 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.1927, allocations: 248 kB / 0.6664 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1927, allocations: 0 / 0.6664 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007524/0.1935, allocations: 408.6 kB / 0.6668 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.224e-05/0.1936, allocations: 71.39 kB / 0.6669 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.1936, allocations: 4.188 kB / 0.6669 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.1936, allocations: 4 kB / 0.6669 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.1938, allocations: 31.91 kB / 0.6669 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.1939, allocations: 4 kB / 0.6669 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.1944, allocations: 55.8 kB / 0.667 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.422e-05/0.1945, allocations: 55.97 kB / 0.667 GB, free: 2.398 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.0002309/0.1948, allocations: 172.9 kB / 0.6672 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.1948, allocations: 35.58 kB / 0.6672 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.633e-05/0.1949, allocations: 30.25 kB / 0.6672 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1949, allocations: 4 kB / 0.6672 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1949, allocations: 0 / 0.6672 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.195, allocations: 0 / 0.6672 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009117/0.1959, allocations: 0.5664 MB / 0.6678 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1959, allocations: 8 kB / 0.6678 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.108e-05/0.1959, allocations: 11.98 kB / 0.6678 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.196, allocations: 0 / 0.6678 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.196, allocations: 11.98 kB / 0.6678 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.196, allocations: 0 / 0.6678 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.196, allocations: 3.984 kB / 0.6678 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004831/0.1965, allocations: 332.8 kB / 0.6681 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.1967, allocations: 148.8 kB / 0.6683 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/0.1968, allocations: 11.98 kB / 0.6683 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.197, allocations: 15.98 kB / 0.6683 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.1971, allocations: 11.98 kB / 0.6683 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.1971, allocations: 27.98 kB / 0.6684 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001939/0.1973, allocations: 213.9 kB / 0.6686 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1973, allocations: 0 / 0.6686 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000323/0.1977, allocations: 48 kB / 0.6686 GB, free: 0.668 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.0001555/0.1978, allocations: 112.7 kB / 0.6687 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005689/0.1984, allocations: 354.4 kB / 0.6691 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1984, allocations: 0 / 0.6691 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.1986, allocations: 71.91 kB / 0.6691 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.199, allocations: 26.58 kB / 0.6691 GB, free: 84 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007652/0.1997, allocations: 376.1 kB / 0.6695 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.2002, allocations: 0.7396 MB / 0.6702 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00013/0.2003, allocations: 41.42 kB / 0.6703 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.2004, allocations: 35.42 kB / 0.6703 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/0.2004, allocations: 0 / 0.6703 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of Templates: time 0.008642/0.2091, allocations: 4.077 MB / 0.6743 GB, free: 10.8 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)