Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001406/0.001406, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001428/0.001428, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.494/1.494, allocations: 225.6 MB / 251 MB, free: 13.03 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.8647/0.8647, allocations: 134 MB / 440.3 MB, free: 240 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus")
translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 59.38 kB / 0.6107 GB, free: 13.71 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1935, allocations: 84.74 MB / 0.6935 GB, free: 9.047 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002749/0.1963, allocations: 1.497 MB / 0.6949 GB, free: 7.535 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.0009778/0.1972, allocations: 423.4 kB / 0.6953 GB, free: 7.117 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.1973, allocations: 0 / 0.6953 GB, free: 7.117 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 9.129e-05/0.1974, allocations: 7.922 kB / 0.6953 GB, free: 7.109 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.1975, allocations: 20.23 kB / 0.6953 GB, free: 7.09 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006946/0.1982, allocations: 242.8 kB / 0.6956 GB, free: 6.855 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 0.0003936/0.1986, allocations: 307.5 kB / 0.6959 GB, free: 6.555 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.1986, allocations: 8 kB / 0.6959 GB, free: 6.547 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003058/0.1989, allocations: 195.7 kB / 0.6961 GB, free: 6.355 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.1992, allocations: 116 kB / 0.6962 GB, free: 6.242 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 7.464e-05/0.1992, allocations: 16 kB / 0.6962 GB, free: 6.227 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.947e-05/0.1993, allocations: 20 kB / 0.6962 GB, free: 6.207 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 0.00012/0.1994, allocations: 79.72 kB / 0.6963 GB, free: 6.129 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.1996, allocations: 119.4 kB / 0.6964 GB, free: 6.012 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004421/0.2, allocations: 286.9 kB / 0.6967 GB, free: 5.73 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2, allocations: 0 / 0.6967 GB, free: 5.73 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.593e-06/0.2, allocations: 0 / 0.6967 GB, free: 5.73 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 1.179e-05/0.2001, allocations: 7.938 kB / 0.6967 GB, free: 5.723 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.001341/0.2014, allocations: 0.6322 MB / 0.6973 GB, free: 5.035 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2014, allocations: 8.031 kB / 0.6973 GB, free: 5.027 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.2015, allocations: 32.8 kB / 0.6973 GB, free: 4.996 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.2019, allocations: 210.6 kB / 0.6975 GB, free: 4.77 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.2019, allocations: 8.375 kB / 0.6975 GB, free: 4.762 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.391e-05/0.202, allocations: 31.86 kB / 0.6976 GB, free: 4.73 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.2023, allocations: 149.5 kB / 0.6977 GB, free: 4.578 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2023, allocations: 0 / 0.6977 GB, free: 4.578 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.2024, allocations: 7.938 kB / 0.6977 GB, free: 4.57 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2024, allocations: 0 / 0.6977 GB, free: 4.57 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.2025, allocations: 47.97 kB / 0.6978 GB, free: 4.523 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.2029, allocations: 276.5 kB / 0.698 GB, free: 4.211 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.2032, allocations: 122.6 kB / 0.6982 GB, free: 4.082 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.2033, allocations: 48.83 kB / 0.6982 GB, free: 4.031 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.2034, allocations: 4 kB / 0.6982 GB, free: 4.027 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005026/0.2039, allocations: 223.5 kB / 0.6984 GB, free: 3.797 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.2039, allocations: 0 / 0.6984 GB, free: 3.797 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=18): time 0.0006236/0.2045, allocations: 263.8 kB / 0.6987 GB, free: 3.535 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.2045, allocations: 67.39 kB / 0.6987 GB, free: 3.457 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.2049, allocations: 292.2 kB / 0.699 GB, free: 3.156 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.2049, allocations: 33.7 kB / 0.699 GB, free: 3.117 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 8.286e-05/0.205, allocations: 97.12 kB / 0.6991 GB, free: 3.02 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.2051, allocations: 47.61 kB / 0.6992 GB, free: 2.973 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.2053, allocations: 109.8 kB / 0.6993 GB, free: 2.855 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001537/0.2054, allocations: 326.8 kB / 0.6996 GB, free: 2.527 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.2056, allocations: 88.17 kB / 0.6997 GB, free: 2.441 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.2059, allocations: 150.3 kB / 0.6998 GB, free: 2.273 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.2063, allocations: 238.8 kB / 0.7001 GB, free: 2.008 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2063, allocations: 0 / 0.7001 GB, free: 2.008 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007564/0.207, allocations: 414.6 kB / 0.7004 GB, free: 1.586 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 8.294e-05/0.2071, allocations: 83.31 kB / 0.7005 GB, free: 1.492 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.2071, allocations: 0 / 0.7005 GB, free: 1.492 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.2071, allocations: 4 kB / 0.7005 GB, free: 1.488 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.2073, allocations: 23.98 kB / 0.7006 GB, free: 1.465 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.2073, allocations: 11.92 kB / 0.7006 GB, free: 1.453 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/0.2079, allocations: 67.94 kB / 0.7006 GB, free: 1.387 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.258e-05/0.208, allocations: 55.97 kB / 0.7007 GB, free: 1.332 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.0001977/0.2082, allocations: 160.4 kB / 0.7008 GB, free: 1.168 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.2082, allocations: 31.75 kB / 0.7009 GB, free: 1.137 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.2083, allocations: 34.12 kB / 0.7009 GB, free: 1.105 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2083, allocations: 3.984 kB / 0.7009 GB, free: 1.102 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.2083, allocations: 4 kB / 0.7009 GB, free: 1.098 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2083, allocations: 0 / 0.7009 GB, free: 1.098 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008311/0.2091, allocations: 0.5286 MB / 0.7014 GB, free: 0.5195 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2091, allocations: 0 / 0.7014 GB, free: 0.5195 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.2092, allocations: 15.94 kB / 0.7014 GB, free: 0.5039 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2092, allocations: 0 / 0.7014 GB, free: 0.5039 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.2092, allocations: 15.97 kB / 0.7015 GB, free: 500 kB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2092, allocations: 0 / 0.7015 GB, free: 500 kB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2092, allocations: 3.938 kB / 0.7015 GB, free: 496 kB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.2097, allocations: 330.1 kB / 0.7018 GB, free: 152 kB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.2099, allocations: 85.69 kB / 0.7019 GB, free: 64 kB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.803e-05/0.2099, allocations: 8 kB / 0.7019 GB, free: 56 kB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.2101, allocations: 15.98 kB / 0.7019 GB, free: 40 kB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.2102, allocations: 19.97 kB / 0.7019 GB, free: 20 kB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.086e-05/0.2103, allocations: 28.05 kB / 0.7019 GB, free: 15.99 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 0.0002005/0.2105, allocations: 207 kB / 0.7021 GB, free: 15.79 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.2105, allocations: 0 / 0.7021 GB, free: 15.79 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0003226/0.2108, allocations: 51.98 kB / 0.7022 GB, free: 15.74 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.0001434/0.2109, allocations: 119.2 kB / 0.7023 GB, free: 15.61 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.000651/0.2116, allocations: 314.5 kB / 0.7026 GB, free: 15.28 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2116, allocations: 0 / 0.7026 GB, free: 15.28 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.2117, allocations: 59.95 kB / 0.7026 GB, free: 15.22 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.2121, allocations: 35.94 kB / 0.7027 GB, free: 15.19 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007077/0.2128, allocations: 392 kB / 0.7031 GB, free: 14.78 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.2132, allocations: 0.7411 MB / 0.7038 GB, free: 14.01 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 0.0001252/0.2133, allocations: 37.42 kB / 0.7038 GB, free: 13.98 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.2135, allocations: 31.42 kB / 0.7038 GB, free: 13.95 MB / 0.5294 GB
Notification: Performance of SimCode: time 3.51e-07/0.2135, allocations: 4 kB / 0.7038 GB, free: 13.94 MB / 0.5294 GB
Notification: Performance of Templates: time 0.009309/0.2228, allocations: 4.16 MB / 0.7079 GB, free: 9.82 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.947268798016012]
Failed to read output from testmodel.py, exit status != 0:
0.2306864084675908 0.24611684800000003 0.042898164
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f3d5ba097b0>