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.005796/0.005796, allocations: 102.5 kB / 15.73 MB, free: 5.957 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.001224/0.001224, allocations: 192.2 kB / 16.67 MB, free: 5.879 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.343/1.343, 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.8148/0.8148, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 70.61 kB / 0.5813 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1809, allocations: 80.21 MB / 0.6596 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.00255/0.1835, allocations: 1.476 MB / 0.6611 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009083/0.1844, allocations: 419.3 kB / 0.6615 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/0.1844, allocations: 4 kB / 0.6615 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.1846, allocations: 7.875 kB / 0.6615 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.1847, allocations: 24.22 kB / 0.6615 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006922/0.1854, allocations: 250.9 kB / 0.6618 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.1857, allocations: 315.5 kB / 0.6621 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.1858, allocations: 4 kB / 0.6621 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.1861, allocations: 187.7 kB / 0.6622 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.1863, allocations: 112.1 kB / 0.6624 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.1863, allocations: 20 kB / 0.6624 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.748e-05/0.1864, allocations: 16 kB / 0.6624 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1865, allocations: 79.72 kB / 0.6625 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.1867, allocations: 131.3 kB / 0.6626 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.187, allocations: 275.1 kB / 0.6628 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.187, allocations: 0 / 0.6628 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.187, allocations: 3.938 kB / 0.6629 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.187, allocations: 0 / 0.6629 GB, free: 7.012 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.001187/0.1882, allocations: 0.6999 MB / 0.6635 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1883, allocations: 12.03 kB / 0.6635 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.727e-05/0.1884, allocations: 28.66 kB / 0.6636 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.1887, allocations: 271.5 kB / 0.6638 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.1887, allocations: 8.375 kB / 0.6638 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/0.1888, allocations: 27.92 kB / 0.6639 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.1891, allocations: 141.5 kB / 0.664 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1891, allocations: 4 kB / 0.664 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.1891, allocations: 4 kB / 0.664 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1892, allocations: 0 / 0.664 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.1893, allocations: 51.91 kB / 0.6641 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.1896, allocations: 309.4 kB / 0.6644 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.1899, allocations: 130.6 kB / 0.6645 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.19, allocations: 56.84 kB / 0.6645 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.1901, allocations: 7.938 kB / 0.6645 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004456/0.1905, allocations: 216.9 kB / 0.6647 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.1905, allocations: 8 kB / 0.6648 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006337/0.1912, allocations: 275.3 kB / 0.665 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.1912, allocations: 59.41 kB / 0.6651 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.1915, allocations: 290.9 kB / 0.6654 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.1916, allocations: 37.69 kB / 0.6654 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.1917, allocations: 93.14 kB / 0.6655 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.1917, allocations: 35.59 kB / 0.6655 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.1919, allocations: 105.6 kB / 0.6656 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.192, allocations: 330.8 kB / 0.6659 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.1922, allocations: 92.17 kB / 0.666 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.1924, allocations: 150.4 kB / 0.6662 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.1928, allocations: 251.9 kB / 0.6664 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1928, allocations: 0 / 0.6664 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006515/0.1934, allocations: 408.7 kB / 0.6668 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/0.1935, allocations: 75.42 kB / 0.6669 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1935, allocations: 4 kB / 0.6669 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1936, allocations: 4 kB / 0.6669 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.1937, allocations: 31.91 kB / 0.6669 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1938, allocations: 0 / 0.6669 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.1942, allocations: 59.8 kB / 0.667 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/0.1943, allocations: 55.92 kB / 0.667 GB, free: 2.418 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.0001734/0.1945, allocations: 176 kB / 0.6672 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.1945, allocations: 27.66 kB / 0.6672 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.345e-05/0.1946, allocations: 30.25 kB / 0.6672 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1946, allocations: 0 / 0.6672 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1946, allocations: 0 / 0.6672 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1946, allocations: 0 / 0.6672 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007779/0.1954, allocations: 0.5722 MB / 0.6678 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1954, allocations: 4 kB / 0.6678 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.1955, allocations: 11.98 kB / 0.6678 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1955, allocations: 0 / 0.6678 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.1955, allocations: 11.98 kB / 0.6678 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1955, allocations: 4 kB / 0.6678 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1955, allocations: 0 / 0.6678 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.196, allocations: 324.8 kB / 0.6681 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.1961, allocations: 148.8 kB / 0.6683 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.1962, allocations: 15.98 kB / 0.6683 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.1964, allocations: 15.98 kB / 0.6683 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.1965, allocations: 11.98 kB / 0.6683 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.1965, allocations: 31.98 kB / 0.6683 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001897/0.1967, allocations: 205.9 kB / 0.6685 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1967, allocations: 4 kB / 0.6685 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003052/0.197, allocations: 44 kB / 0.6686 GB, free: 0.6992 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.0001621/0.1972, allocations: 120.5 kB / 0.6687 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005718/0.1978, allocations: 346.5 kB / 0.669 GB, free: 212 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.1978, allocations: 4 kB / 0.669 GB, free: 208 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.198, allocations: 69.47 kB / 0.6691 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1983, allocations: 28.86 kB / 0.6691 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00074/0.1991, allocations: 374.8 kB / 0.6695 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.1995, allocations: 0.7418 MB / 0.6702 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.1997, allocations: 45.41 kB / 0.6703 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.1998, allocations: 31.42 kB / 0.6703 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1998, allocations: 0 / 0.6703 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.007693/0.2075, allocations: 4.079 MB / 0.6743 GB, free: 10.82 MB / 0.5137 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)