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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 191.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 225.6 MB / 251 MB, free: 13.02 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.8667/0.8667, allocations: 134 MB / 440.3 MB, free: 252 kB / 334.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.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=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: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 68.55 kB / 0.6107 GB, free: 13.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1831, allocations: 84.72 MB / 0.6935 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002867/0.186, allocations: 1.498 MB / 0.6949 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1871, allocations: 423.4 kB / 0.6953 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.1871, allocations: 7.938 kB / 0.6953 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.1872, allocations: 3.938 kB / 0.6953 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.1873, allocations: 24.22 kB / 0.6954 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007114/0.1881, allocations: 244.3 kB / 0.6956 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.1884, allocations: 303.5 kB / 0.6959 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.1885, allocations: 4 kB / 0.6959 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/0.1888, allocations: 199.7 kB / 0.6961 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.189, allocations: 109 kB / 0.6962 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.669e-05/0.1891, allocations: 20 kB / 0.6962 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.494e-05/0.1892, allocations: 16 kB / 0.6962 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.1893, allocations: 87.7 kB / 0.6963 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.1895, allocations: 123.4 kB / 0.6964 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.1898, allocations: 282.9 kB / 0.6967 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1898, allocations: 0 / 0.6967 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1898, allocations: 0 / 0.6967 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.1898, allocations: 4 kB / 0.6967 GB, free: 5.703 MB / 0.5137 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.001397/0.1912, allocations: 0.64 MB / 0.6973 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1913, allocations: 8.031 kB / 0.6973 GB, free: 5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.1914, allocations: 32.8 kB / 0.6973 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.1918, allocations: 210.6 kB / 0.6975 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.1918, allocations: 16.36 kB / 0.6976 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/0.1919, allocations: 15.94 kB / 0.6976 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003553/0.1922, allocations: 157.5 kB / 0.6977 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1922, allocations: 0 / 0.6977 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.1923, allocations: 3.938 kB / 0.6977 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1923, allocations: 4 kB / 0.6977 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.1924, allocations: 47.95 kB / 0.6978 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.1929, allocations: 280.5 kB / 0.698 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.1932, allocations: 122.6 kB / 0.6982 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.1933, allocations: 48.84 kB / 0.6982 GB, free: 4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.1933, allocations: 3.984 kB / 0.6982 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005494/0.1939, allocations: 219.6 kB / 0.6984 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.1939, allocations: 0 / 0.6984 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0007044/0.1946, allocations: 275.8 kB / 0.6987 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.1947, allocations: 55.41 kB / 0.6987 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.195, allocations: 292.2 kB / 0.699 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.195, allocations: 41.69 kB / 0.6991 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.972e-05/0.1951, allocations: 89.14 kB / 0.6991 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.91e-05/0.1952, allocations: 51.61 kB / 0.6992 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.1954, allocations: 113.8 kB / 0.6993 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1956, allocations: 322.8 kB / 0.6996 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.1958, allocations: 88.19 kB / 0.6997 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.1961, allocations: 146.4 kB / 0.6998 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.1965, allocations: 246.7 kB / 0.7001 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1965, allocations: 0 / 0.7001 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007648/0.1972, allocations: 410.9 kB / 0.7005 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.345e-05/0.1973, allocations: 75.39 kB / 0.7005 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1973, allocations: 4 kB / 0.7005 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.1974, allocations: 0 / 0.7005 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.1975, allocations: 31.91 kB / 0.7006 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.1975, allocations: 0 / 0.7006 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/0.1981, allocations: 59.84 kB / 0.7006 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.65e-05/0.1982, allocations: 64.02 kB / 0.7007 GB, free: 1.312 MB / 0.5137 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.0002198/0.1984, allocations: 168.4 kB / 0.7008 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.1984, allocations: 31.75 kB / 0.7009 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.955e-05/0.1985, allocations: 26.19 kB / 0.7009 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1985, allocations: 4 kB / 0.7009 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1985, allocations: 0 / 0.7009 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1985, allocations: 0 / 0.7009 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009062/0.1994, allocations: 0.5363 MB / 0.7014 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1994, allocations: 0 / 0.7014 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.1995, allocations: 11.98 kB / 0.7014 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1995, allocations: 4 kB / 0.7014 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.1995, allocations: 7.984 kB / 0.7015 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1995, allocations: 3.938 kB / 0.7015 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1995, allocations: 7.938 kB / 0.7015 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.2, allocations: 326.1 kB / 0.7018 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.2002, allocations: 93.67 kB / 0.7019 GB, free: 36 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.2003, allocations: 8 kB / 0.7019 GB, free: 28 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.2005, allocations: 15.98 kB / 0.7019 GB, free: 12 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.2006, allocations: 19.95 kB / 0.7019 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.2006, allocations: 31.98 kB / 0.7019 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002275/0.2008, allocations: 211 kB / 0.7021 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2008, allocations: 0 / 0.7021 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003315/0.2012, allocations: 52 kB / 0.7022 GB, free: 15.7 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.0001634/0.2013, allocations: 115.2 kB / 0.7023 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005853/0.2019, allocations: 310.6 kB / 0.7026 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2019, allocations: 0 / 0.7026 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.2021, allocations: 63.91 kB / 0.7027 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.2025, allocations: 27.22 kB / 0.7027 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007312/0.2032, allocations: 388 kB / 0.7031 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.2036, allocations: 0.7441 MB / 0.7038 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.2037, allocations: 45.36 kB / 0.7038 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.2038, allocations: 31.42 kB / 0.7039 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of SimCode: time 3.4e-07/0.2038, allocations: 4 kB / 0.7039 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of Templates: time 0.008838/0.2127, allocations: 4.156 MB / 0.7079 GB, free: 9.789 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: 6.099954033270478] Failed to read output from testmodel.py, exit status != 0: 0.22024233639240265 0.23668294699999995 0.04359484 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f27a93ad7b0>