Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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-master/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-master/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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009389/0.009389, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7862/0.7862, allocations: 135.2 MB / 151.1 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 223.2 MB / 406.9 MB, free: 3.203 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.0009651/0.0009648, allocations: 100.2 kB / 490 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.000369, allocations: 11.94 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.4801, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.167/0.6472, allocations: 113.2 MB / 0.7601 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.6475, allocations: 75.97 kB / 0.7601 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01419/0.6617, allocations: 4.495 MB / 0.7645 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6617, allocations: 0 / 0.7645 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.6618, allocations: 4 kB / 0.7645 GB, free: 14.17 MB / 0.5417 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.001041/0.6628, allocations: 0.6242 MB / 0.7651 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.6629, allocations: 8.031 kB / 0.7651 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.663, allocations: 31.72 kB / 0.7652 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/0.6634, allocations: 254.5 kB / 0.7654 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.6635, allocations: 11.98 kB / 0.7654 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.6636, allocations: 16 kB / 0.7654 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.664, allocations: 145.5 kB / 0.7656 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.664, allocations: 0 / 0.7656 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.664, allocations: 4 kB / 0.7656 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.664, allocations: 0 / 0.7656 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.6642, allocations: 51.97 kB / 0.7656 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.6647, allocations: 333.3 kB / 0.7659 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.665, allocations: 134.6 kB / 0.7661 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.665, allocations: 4 kB / 0.7661 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004134/0.6654, allocations: 215.3 kB / 0.7663 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.6655, allocations: 0 / 0.7663 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0005723/0.666, allocations: 271.3 kB / 0.7665 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.6661, allocations: 59.39 kB / 0.7666 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.6664, allocations: 254.1 kB / 0.7668 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-05/0.6664, allocations: 45.69 kB / 0.7669 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.6665, allocations: 93.08 kB / 0.767 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.6666, allocations: 43.5 kB / 0.767 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.6666, allocations: 8 kB / 0.767 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6668, allocations: 326.8 kB / 0.7673 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.667, allocations: 100.2 kB / 0.7674 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.6673, allocations: 154.4 kB / 0.7676 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.6676, allocations: 156 kB / 0.7677 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6676, allocations: 0 / 0.7677 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007682/0.6684, allocations: 429.9 kB / 0.7681 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.615e-05/0.6685, allocations: 75.39 kB / 0.7682 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.6685, allocations: 0 / 0.7682 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.6685, allocations: 4 kB / 0.7682 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.6687, allocations: 27.91 kB / 0.7682 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.6688, allocations: 4 kB / 0.7682 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000395/0.6692, allocations: 55.94 kB / 0.7683 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.408e-05/0.6693, allocations: 51.98 kB / 0.7683 GB, free: 9.957 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.0002062/0.6695, allocations: 171.9 kB / 0.7685 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.6695, allocations: 31.58 kB / 0.7685 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.579e-05/0.6696, allocations: 30.25 kB / 0.7686 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.6696, allocations: 0 / 0.7686 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6696, allocations: 4 kB / 0.7686 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.6696, allocations: 0 / 0.7686 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008576/0.6705, allocations: 0.5585 MB / 0.7691 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6705, allocations: 0 / 0.7691 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/0.6705, allocations: 11.98 kB / 0.7691 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.6706, allocations: 4 kB / 0.7691 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.6706, allocations: 7.984 kB / 0.7691 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.6706, allocations: 0 / 0.7691 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6706, allocations: 4 kB / 0.7691 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.671, allocations: 326.9 kB / 0.7695 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.6712, allocations: 160.7 kB / 0.7696 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.6713, allocations: 15.98 kB / 0.7696 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.6714, allocations: 4 kB / 0.7696 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.6715, allocations: 19.97 kB / 0.7697 GB, free: 8.527 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.6716, allocations: 27.98 kB / 0.7697 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001857/0.6718, allocations: 209.9 kB / 0.7699 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6718, allocations: 0 / 0.7699 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003139/0.6721, allocations: 48 kB / 0.7699 GB, free: 8.246 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.0001566/0.6722, allocations: 123.2 kB / 0.77 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005941/0.6728, allocations: 360.2 kB / 0.7704 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6729, allocations: 0 / 0.7704 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.673, allocations: 75.89 kB / 0.7705 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.6733, allocations: 22.23 kB / 0.7705 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006947/0.674, allocations: 447.7 kB / 0.7709 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.6743, allocations: 0.7477 MB / 0.7716 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000135/0.6745, allocations: 33.08 kB / 0.7717 GB, free: 6.375 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.6746, allocations: 43.42 kB / 0.7717 GB, free: 6.332 MB / 0.5417 GB Notification: Performance of SimCode: time 1.493e-06/0.6746, allocations: 0 / 0.7717 GB, free: 6.332 MB / 0.5417 GB Notification: Performance of Templates: time 0.007819/0.6824, allocations: 4.301 MB / 0.7759 GB, free: 2.051 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)