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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 110 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.001409/0.001409, allocations: 188 kB / 22.22 MB, free: 5.164 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.486/1.486, allocations: 225.6 MB / 251 MB, free: 13.01 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.851/0.851, allocations: 134 MB / 440.3 MB, free: 188 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.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: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 62.69 kB / 0.6107 GB, free: 13.69 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1771, allocations: 84.73 MB / 0.6934 GB, free: 9.023 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002597/0.1797, allocations: 1.489 MB / 0.6949 GB, free: 7.52 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.0009491/0.1806, allocations: 426.9 kB / 0.6953 GB, free: 7.102 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.1807, allocations: 0 / 0.6953 GB, free: 7.102 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.1808, allocations: 11.86 kB / 0.6953 GB, free: 7.09 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.1809, allocations: 28.22 kB / 0.6953 GB, free: 7.062 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007541/0.1817, allocations: 240.8 kB / 0.6956 GB, free: 6.828 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 0.0004228/0.1821, allocations: 307.5 kB / 0.6959 GB, free: 6.527 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.656e-05/0.1821, allocations: 4 kB / 0.6959 GB, free: 6.523 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.1824, allocations: 199.7 kB / 0.6961 GB, free: 6.328 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.1827, allocations: 108.1 kB / 0.6962 GB, free: 6.223 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 7.641e-05/0.1828, allocations: 24 kB / 0.6962 GB, free: 6.199 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.924e-05/0.1828, allocations: 16 kB / 0.6962 GB, free: 6.184 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.183, allocations: 83.72 kB / 0.6963 GB, free: 6.102 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.1831, allocations: 123.4 kB / 0.6964 GB, free: 5.98 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.1835, allocations: 278.9 kB / 0.6967 GB, free: 5.707 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1835, allocations: 0 / 0.6967 GB, free: 5.707 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.313e-06/0.1835, allocations: 0 / 0.6967 GB, free: 5.707 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 1.096e-05/0.1835, 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.001364/0.1849, allocations: 0.6361 MB / 0.6973 GB, free: 5.012 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1849, allocations: 12.03 kB / 0.6973 GB, free: 5 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.185, allocations: 36.78 kB / 0.6973 GB, free: 4.965 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.1854, allocations: 210.5 kB / 0.6975 GB, free: 4.738 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.1855, allocations: 12.38 kB / 0.6975 GB, free: 4.727 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.1855, allocations: 23.92 kB / 0.6976 GB, free: 4.703 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.1859, allocations: 149.5 kB / 0.6977 GB, free: 4.551 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1859, allocations: 0 / 0.6977 GB, free: 4.551 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.1859, allocations: 0 / 0.6977 GB, free: 4.551 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1859, allocations: 0 / 0.6977 GB, free: 4.551 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.1861, allocations: 55.72 kB / 0.6978 GB, free: 4.5 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.1864, allocations: 280.5 kB / 0.698 GB, free: 4.184 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.1868, allocations: 114.6 kB / 0.6981 GB, free: 4.062 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.1869, allocations: 52.83 kB / 0.6982 GB, free: 4.008 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1869, allocations: 0 / 0.6982 GB, free: 4.008 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004928/0.1874, allocations: 227.5 kB / 0.6984 GB, free: 3.773 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.1874, allocations: 0 / 0.6984 GB, free: 3.773 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=18): time 0.0006413/0.1881, allocations: 268 kB / 0.6987 GB, free: 3.508 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1881, allocations: 63.39 kB / 0.6987 GB, free: 3.434 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.1885, allocations: 296.1 kB / 0.699 GB, free: 3.129 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 5.977e-05/0.1885, allocations: 37.7 kB / 0.699 GB, free: 3.086 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.1886, allocations: 93.12 kB / 0.6991 GB, free: 2.992 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 6.165e-05/0.1887, allocations: 51.61 kB / 0.6992 GB, free: 2.941 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.1889, allocations: 105.8 kB / 0.6993 GB, free: 2.828 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.000158/0.189, allocations: 322.8 kB / 0.6996 GB, free: 2.504 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.1893, allocations: 92.17 kB / 0.6997 GB, free: 2.414 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.1895, allocations: 150.3 kB / 0.6998 GB, free: 2.246 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003692/0.1899, allocations: 239.7 kB / 0.7001 GB, free: 1.98 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.1899, allocations: 7.984 kB / 0.7001 GB, free: 1.973 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007326/0.1906, allocations: 410.3 kB / 0.7005 GB, free: 1.555 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.1907, allocations: 75.39 kB / 0.7005 GB, free: 1.469 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1907, allocations: 0 / 0.7005 GB, free: 1.469 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.1908, allocations: 4.188 kB / 0.7005 GB, free: 1.465 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.1909, allocations: 31.91 kB / 0.7006 GB, free: 1.434 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.191, allocations: 4 kB / 0.7006 GB, free: 1.43 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.1915, allocations: 59.84 kB / 0.7006 GB, free: 1.371 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.19e-05/0.1916, allocations: 55.92 kB / 0.7007 GB, free: 1.316 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.0002352/0.1918, allocations: 176.4 kB / 0.7008 GB, free: 1.137 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.1918, allocations: 35.73 kB / 0.7009 GB, free: 1.102 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.199e-05/0.1919, allocations: 30.19 kB / 0.7009 GB, free: 1.074 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1919, allocations: 4 kB / 0.7009 GB, free: 1.07 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1919, allocations: 0 / 0.7009 GB, free: 1.07 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1919, allocations: 0 / 0.7009 GB, free: 1.07 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009139/0.1928, allocations: 0.5247 MB / 0.7014 GB, free: 0.4961 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1928, allocations: 7.938 kB / 0.7014 GB, free: 500 kB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.93e-05/0.1929, allocations: 7.984 kB / 0.7014 GB, free: 492 kB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1929, allocations: 4 kB / 0.7014 GB, free: 488 kB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.1929, allocations: 11.98 kB / 0.7014 GB, free: 476 kB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1929, allocations: 4 kB / 0.7015 GB, free: 472 kB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1929, allocations: 0 / 0.7015 GB, free: 472 kB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.1934, allocations: 329.9 kB / 0.7018 GB, free: 128 kB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.1936, allocations: 85.69 kB / 0.7018 GB, free: 40 kB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.491e-05/0.1936, allocations: 8 kB / 0.7019 GB, free: 32 kB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.1939, allocations: 7.984 kB / 0.7019 GB, free: 24 kB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.1939, allocations: 23.97 kB / 0.7019 GB, free: 0 / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-05/0.194, allocations: 27.98 kB / 0.7019 GB, free: 15.97 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 0.0002107/0.1942, allocations: 215 kB / 0.7021 GB, free: 15.76 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 7e-08/0.1942, allocations: 0 / 0.7021 GB, free: 15.76 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0003585/0.1946, allocations: 52 kB / 0.7022 GB, free: 15.71 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.0002319/0.1948, allocations: 107.2 kB / 0.7023 GB, free: 15.59 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0006279/0.1954, allocations: 318.6 kB / 0.7026 GB, free: 15.26 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1954, allocations: 3.938 kB / 0.7026 GB, free: 15.25 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1956, allocations: 67.89 kB / 0.7026 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.0003601/0.1959, allocations: 24.97 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.0008231/0.1968, allocations: 390.4 kB / 0.703 GB, free: 14.75 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.1972, allocations: 0.7396 MB / 0.7038 GB, free: 13.99 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 0.0001248/0.1973, allocations: 37.42 kB / 0.7038 GB, free: 13.95 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.1974, allocations: 35.41 kB / 0.7038 GB, free: 13.92 MB / 0.5294 GB
Notification: Performance of SimCode: time 5.21e-07/0.1974, allocations: 4 kB / 0.7038 GB, free: 13.91 MB / 0.5294 GB
Notification: Performance of Templates: time 0.009407/0.2069, allocations: 4.153 MB / 0.7079 GB, free: 9.797 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: 5.824379673227668]
Failed to read output from testmodel.py, exit status != 0:
0.21470563299953938 0.23142753200000002 0.04461343
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2805bdd7b0>