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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006917/0.006917, allocations: 169.8 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.747/0.747, allocations: 132.3 MB / 148.1 MB, free: 248 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.2 MB / 403.2 MB, free: 6.73 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009308/0.0009306, allocations: 108.8 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 8 kB / 0.5641 GB, free: 2.148 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4786, allocations: 81.58 MB / 0.6437 GB, free: 39.4 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1559/0.6346, allocations: 112.9 MB / 0.754 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.6348, allocations: 75.94 kB / 0.7541 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01382/0.6487, allocations: 4.482 MB / 0.7585 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6487, allocations: 0 / 0.7585 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.6487, allocations: 4 kB / 0.7585 GB, free: 2.465 MB / 0.5261 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.001053/0.6498, allocations: 0.622 MB / 0.7591 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.6499, allocations: 12.03 kB / 0.7591 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.65, allocations: 27.72 kB / 0.7591 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.6504, allocations: 258.5 kB / 0.7594 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.241e-05/0.6505, allocations: 12 kB / 0.7594 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.292e-05/0.6505, allocations: 15.98 kB / 0.7594 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.6509, allocations: 150.1 kB / 0.7596 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.6509, allocations: 3.984 kB / 0.7596 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.651, allocations: 0 / 0.7596 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.651, allocations: 4 kB / 0.7596 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.6511, allocations: 47.91 kB / 0.7596 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.6516, allocations: 333.3 kB / 0.7599 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.6519, allocations: 134.6 kB / 0.7601 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.652, allocations: 0 / 0.7601 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004786/0.6525, allocations: 217.6 kB / 0.7603 GB, free: 476 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.6525, allocations: 0 / 0.7603 GB, free: 476 kB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0005753/0.6531, allocations: 270.9 kB / 0.7605 GB, free: 200 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.6531, allocations: 67.33 kB / 0.7606 GB, free: 120 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.6534, allocations: 258.1 kB / 0.7608 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.304e-05/0.6534, allocations: 37.69 kB / 0.7609 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.6535, allocations: 93.14 kB / 0.761 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.576e-05/0.6536, allocations: 43.5 kB / 0.761 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.6536, allocations: 8 kB / 0.761 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.6537, allocations: 322.8 kB / 0.7613 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.654, allocations: 100.2 kB / 0.7614 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.6543, allocations: 150.4 kB / 0.7616 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.6546, allocations: 168 kB / 0.7617 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6546, allocations: 0 / 0.7617 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007747/0.6553, allocations: 417.8 kB / 0.7621 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.206e-05/0.6554, allocations: 71.58 kB / 0.7622 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.6555, allocations: 8 kB / 0.7622 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.6555, allocations: 0 / 0.7622 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.6556, allocations: 35.91 kB / 0.7622 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.6557, allocations: 0 / 0.7622 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.6561, allocations: 51.81 kB / 0.7623 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.967e-05/0.6562, allocations: 47.98 kB / 0.7623 GB, free: 14.25 MB / 0.5417 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002133/0.6564, allocations: 179.9 kB / 0.7625 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.6564, allocations: 31.61 kB / 0.7625 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.651e-05/0.6565, allocations: 30.25 kB / 0.7625 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.6565, allocations: 4 kB / 0.7625 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6565, allocations: 0 / 0.7625 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.6565, allocations: 0 / 0.7625 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007795/0.6573, allocations: 0.5529 MB / 0.7631 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6573, allocations: 4 kB / 0.7631 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.6574, allocations: 11.98 kB / 0.7631 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.6574, allocations: 0 / 0.7631 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.6574, allocations: 15.98 kB / 0.7631 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6574, allocations: 0 / 0.7631 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6574, allocations: 3.984 kB / 0.7631 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004164/0.6578, allocations: 329.1 kB / 0.7634 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.658, allocations: 156.7 kB / 0.7636 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.6581, allocations: 15.94 kB / 0.7636 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.6583, allocations: 15.98 kB / 0.7636 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.6584, allocations: 15.97 kB / 0.7636 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.6584, allocations: 23.98 kB / 0.7637 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001806/0.6586, allocations: 213.9 kB / 0.7639 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6586, allocations: 0 / 0.7639 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003191/0.6589, allocations: 48 kB / 0.7639 GB, free: 12.52 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001618/0.6591, allocations: 115.2 kB / 0.764 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000582/0.6597, allocations: 362.7 kB / 0.7644 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6597, allocations: 0 / 0.7644 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.6599, allocations: 70.25 kB / 0.7644 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.6601, allocations: 20.83 kB / 0.7644 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007569/0.6609, allocations: 447.7 kB / 0.7649 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.6612, allocations: 0.7477 MB / 0.7656 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001447/0.6614, allocations: 37.03 kB / 0.7656 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.6615, allocations: 39.41 kB / 0.7657 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.6615, allocations: 4 kB / 0.7657 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of Templates: time 0.007953/0.6695, allocations: 4.291 MB / 0.7699 GB, free: 6.336 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (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)