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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 215.4 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.39/1.39, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8246/0.8246, allocations: 134 MB / 447.2 MB, free: 9.949 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 68.55 kB / 0.6197 GB, free: 6.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1773, allocations: 85.9 MB / 0.7036 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003181/0.1805, allocations: 1.494 MB / 0.705 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1816, allocations: 409.8 kB / 0.7054 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.024e-05/0.1816, allocations: 0 / 0.7054 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.1817, allocations: 7.922 kB / 0.7054 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.1819, allocations: 28.17 kB / 0.7055 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000803/0.1827, allocations: 254.5 kB / 0.7057 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.1831, allocations: 303.5 kB / 0.706 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.1832, allocations: 0 / 0.706 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.1835, allocations: 195.8 kB / 0.7062 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.1837, allocations: 112.7 kB / 0.7063 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.405e-05/0.1838, allocations: 16 kB / 0.7063 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.984e-05/0.1839, allocations: 24 kB / 0.7063 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.184, allocations: 75.78 kB / 0.7064 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.1841, allocations: 103.5 kB / 0.7065 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.1845, allocations: 286.9 kB / 0.7068 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1845, allocations: 0 / 0.7068 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1845, allocations: 0 / 0.7068 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.1845, allocations: 0 / 0.7068 GB, free: 13.32 MB / 0.5294 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.001218/0.1857, allocations: 0.6285 MB / 0.7074 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1857, allocations: 8.031 kB / 0.7074 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.226e-05/0.1858, allocations: 28.8 kB / 0.7074 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.1862, allocations: 222.6 kB / 0.7076 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.1862, allocations: 8.375 kB / 0.7076 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.1863, allocations: 23.88 kB / 0.7077 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.1866, allocations: 149.5 kB / 0.7078 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1866, allocations: 0 / 0.7078 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.1866, allocations: 3.984 kB / 0.7078 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1866, allocations: 4 kB / 0.7078 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1867, allocations: 43.97 kB / 0.7078 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.187, allocations: 217.2 kB / 0.7081 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.1873, allocations: 118.6 kB / 0.7082 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.1874, allocations: 52.78 kB / 0.7082 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.1875, allocations: 7.938 kB / 0.7082 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004566/0.1879, allocations: 215.6 kB / 0.7084 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.1879, allocations: 4 kB / 0.7084 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0005932/0.1885, allocations: 277.3 kB / 0.7087 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.1886, allocations: 55.41 kB / 0.7088 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.1889, allocations: 288.2 kB / 0.709 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/0.1889, allocations: 41.69 kB / 0.7091 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.189, allocations: 93.12 kB / 0.7092 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.1891, allocations: 47.64 kB / 0.7092 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.1892, allocations: 105.8 kB / 0.7093 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1894, allocations: 318.8 kB / 0.7096 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.1897, allocations: 159.6 kB / 0.7098 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.19, allocations: 217.7 kB / 0.71 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.1903, allocations: 246.9 kB / 0.7102 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1903, allocations: 0 / 0.7102 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008033/0.1911, allocations: 479.3 kB / 0.7107 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.091e-05/0.1912, allocations: 75.52 kB / 0.7107 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1912, allocations: 4 kB / 0.7107 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1912, allocations: 4 kB / 0.7107 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.1914, allocations: 31.91 kB / 0.7108 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.1914, allocations: 7.938 kB / 0.7108 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/0.1919, allocations: 51.84 kB / 0.7108 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-05/0.192, allocations: 59.97 kB / 0.7109 GB, free: 8.793 MB / 0.5294 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.0002174/0.1922, allocations: 168.4 kB / 0.711 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.1922, allocations: 31.73 kB / 0.7111 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.699e-05/0.1923, allocations: 34.19 kB / 0.7111 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1923, allocations: 0 / 0.7111 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/0.1923, allocations: 4 kB / 0.7111 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1923, allocations: 3.984 kB / 0.7111 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008716/0.1932, allocations: 0.494 MB / 0.7116 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.1932, allocations: 4 kB / 0.7116 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.1932, allocations: 7.938 kB / 0.7116 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1933, allocations: 4 kB / 0.7116 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.1933, allocations: 15.97 kB / 0.7116 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1933, allocations: 0 / 0.7116 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1933, allocations: 0 / 0.7116 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004864/0.1938, allocations: 333.8 kB / 0.7119 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.194, allocations: 93.64 kB / 0.712 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.194, allocations: 8 kB / 0.712 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.1942, allocations: 11.92 kB / 0.7121 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.1943, allocations: 19.97 kB / 0.7121 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.1944, allocations: 27.98 kB / 0.7121 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000218/0.1946, allocations: 215 kB / 0.7123 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1946, allocations: 0 / 0.7123 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003107/0.1949, allocations: 48 kB / 0.7124 GB, free: 7.23 MB / 0.5294 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.0001689/0.195, allocations: 117.5 kB / 0.7125 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006226/0.1957, allocations: 374 kB / 0.7128 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/0.1957, allocations: 4 kB / 0.7128 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.1958, allocations: 59.97 kB / 0.7129 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1962, allocations: 31.39 kB / 0.7129 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007578/0.1969, allocations: 433.3 kB / 0.7133 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.1971, allocations: 132.5 kB / 0.7135 GB, free: 6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.1972, allocations: 43.41 kB / 0.7135 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.1972, allocations: 0 / 0.7135 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of Templates: time 0.005251/0.2024, allocations: 2.991 MB / 0.7164 GB, free: 2.984 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.040694785304368] Failed to read output from testmodel.py, exit status != 0: 0.20989476703107357 0.225328926 0.037639293000000004 Calling exit ...