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.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.001302/0.001302, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001444/0.001444, allocations: 215.7 kB / 23.01 MB, free: 4.609 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.8448/0.8448, allocations: 134 MB / 447.2 MB, free: 10.26 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") [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.002037/0.002037, allocations: 72.02 kB / 0.6197 GB, free: 6.785 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1785, allocations: 85.89 MB / 0.7036 GB, free: 0.9609 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002791/0.1813, allocations: 1.523 MB / 0.7051 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009742/0.1822, allocations: 423.3 kB / 0.7055 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/0.1823, allocations: 0 / 0.7055 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.1824, allocations: 11.86 kB / 0.7055 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.1825, allocations: 24.22 kB / 0.7056 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007076/0.1832, allocations: 238.2 kB / 0.7058 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.1836, allocations: 303.6 kB / 0.7061 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.1837, allocations: 4 kB / 0.7061 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003047/0.184, allocations: 199.7 kB / 0.7063 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.1842, allocations: 120 kB / 0.7064 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.262e-05/0.1843, allocations: 16 kB / 0.7064 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.459e-05/0.1843, allocations: 20 kB / 0.7064 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1844, allocations: 75.78 kB / 0.7065 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.1846, allocations: 119.4 kB / 0.7066 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.1849, allocations: 290.9 kB / 0.7069 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1849, allocations: 3.938 kB / 0.7069 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1849, allocations: 0 / 0.7069 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.1849, allocations: 4 kB / 0.7069 GB, free: 13.62 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.001288/0.1862, allocations: 0.6246 MB / 0.7075 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1863, allocations: 8.031 kB / 0.7075 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.959e-05/0.1863, allocations: 40.72 kB / 0.7075 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.1867, allocations: 210.6 kB / 0.7077 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.1867, allocations: 8.375 kB / 0.7077 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.1868, allocations: 27.92 kB / 0.7078 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.1871, allocations: 152.8 kB / 0.7079 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1871, allocations: 0 / 0.7079 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.1871, allocations: 4 kB / 0.7079 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1871, allocations: 0 / 0.7079 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.1873, allocations: 51.91 kB / 0.708 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.1877, allocations: 280.5 kB / 0.7082 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.1879, allocations: 114.7 kB / 0.7084 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.1881, allocations: 52.83 kB / 0.7084 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1881, allocations: 4 kB / 0.7084 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004702/0.1886, allocations: 219.6 kB / 0.7086 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.1886, allocations: 0 / 0.7086 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0005849/0.1892, allocations: 271.6 kB / 0.7089 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.1892, allocations: 71.33 kB / 0.7089 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.1895, allocations: 288.2 kB / 0.7092 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.1896, allocations: 33.7 kB / 0.7092 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.647e-05/0.1897, allocations: 97.12 kB / 0.7093 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.728e-05/0.1897, allocations: 47.62 kB / 0.7094 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.1899, allocations: 105.8 kB / 0.7095 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.1901, allocations: 326.8 kB / 0.7098 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.1903, allocations: 88.17 kB / 0.7099 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.1905, allocations: 146.4 kB / 0.71 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.1909, allocations: 247.1 kB / 0.7103 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1909, allocations: 0 / 0.7103 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007201/0.1916, allocations: 416.8 kB / 0.7107 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.824e-05/0.1917, allocations: 75.39 kB / 0.7107 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1917, allocations: 0 / 0.7107 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1917, allocations: 4 kB / 0.7107 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.1919, allocations: 27.91 kB / 0.7108 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1919, allocations: 4 kB / 0.7108 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/0.1923, allocations: 63.78 kB / 0.7108 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.922e-05/0.1924, allocations: 60.05 kB / 0.7109 GB, free: 9.238 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.0001875/0.1926, allocations: 164.4 kB / 0.711 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.1927, allocations: 35.72 kB / 0.7111 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.1927, allocations: 30.19 kB / 0.7111 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1927, allocations: 0 / 0.7111 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.1927, allocations: 4 kB / 0.7111 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1927, allocations: 3.984 kB / 0.7111 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008561/0.1936, allocations: 0.5324 MB / 0.7116 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1936, allocations: 0 / 0.7116 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/0.1936, allocations: 15.98 kB / 0.7116 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1936, allocations: 0 / 0.7116 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.1937, allocations: 11.98 kB / 0.7117 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1937, allocations: 0 / 0.7117 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1937, allocations: 0 / 0.7117 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.1941, allocations: 329.2 kB / 0.712 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.1943, allocations: 89.64 kB / 0.7121 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.491e-05/0.1944, allocations: 8 kB / 0.7121 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.1946, allocations: 11.98 kB / 0.7121 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.1946, allocations: 19.97 kB / 0.7121 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/0.1947, allocations: 27.98 kB / 0.7121 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001991/0.1949, allocations: 211 kB / 0.7123 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1949, allocations: 0 / 0.7123 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003157/0.1952, allocations: 51.94 kB / 0.7124 GB, free: 7.641 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.0001453/0.1953, allocations: 113.3 kB / 0.7125 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005558/0.1959, allocations: 314.5 kB / 0.7128 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1959, allocations: 4 kB / 0.7128 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.196, allocations: 61.94 kB / 0.7128 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.1964, allocations: 28.95 kB / 0.7129 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007204/0.1971, allocations: 429.8 kB / 0.7133 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.1975, allocations: 0.7395 MB / 0.714 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1976, allocations: 47.41 kB / 0.714 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of SimCode: time 3.6e-07/0.1976, allocations: 0 / 0.714 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of Templates: time 0.005358/0.203, allocations: 2.988 MB / 0.717 GB, free: 2.859 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.27018783101812] Failed to read output from testmodel.py, exit status != 0: 0.21094192704185843 0.226249844 0.038315386 Calling exit ...