Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00852/0.00852, 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.8148/0.8148, 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.483/1.483, allocations: 223.2 MB / 406.9 MB, free: 3.199 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.0009174/0.0009174, allocations: 95.94 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005633/0.0005633, allocations: 8 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5049, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1599/0.6649, allocations: 113.2 MB / 0.7601 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.6652, allocations: 71.95 kB / 0.7601 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01389/0.6791, allocations: 4.49 MB / 0.7645 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.266e-06/0.6792, allocations: 0 / 0.7645 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.086e-05/0.6792, allocations: 4 kB / 0.7645 GB, free: 14.2 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.001063/0.6803, allocations: 0.6227 MB / 0.7651 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.6804, allocations: 8.031 kB / 0.7651 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.6805, allocations: 27.72 kB / 0.7652 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.6809, allocations: 258.5 kB / 0.7654 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.681, allocations: 8 kB / 0.7654 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.559e-05/0.6811, allocations: 23.98 kB / 0.7654 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.6814, allocations: 142.3 kB / 0.7656 GB, free: 13 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.6814, allocations: 3.984 kB / 0.7656 GB, free: 13 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.6814, allocations: 8 kB / 0.7656 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.6814, allocations: 0 / 0.7656 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.6816, allocations: 43.97 kB / 0.7656 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.682, allocations: 333.3 kB / 0.7659 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.6822, allocations: 134.6 kB / 0.7661 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.6823, allocations: 0 / 0.7661 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004099/0.6827, allocations: 220.5 kB / 0.7663 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.6827, allocations: 0 / 0.7663 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0005628/0.6833, allocations: 266.2 kB / 0.7665 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.6833, allocations: 67.39 kB / 0.7666 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.6836, allocations: 254.1 kB / 0.7668 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.763e-05/0.6836, allocations: 41.69 kB / 0.7669 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.6837, allocations: 101.1 kB / 0.767 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.6838, allocations: 35.52 kB / 0.767 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.6838, allocations: 8 kB / 0.767 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.684, allocations: 322.8 kB / 0.7673 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.6842, allocations: 100.2 kB / 0.7674 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.6845, allocations: 154.4 kB / 0.7676 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.6848, allocations: 156 kB / 0.7677 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.6849, allocations: 7.938 kB / 0.7677 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007652/0.6856, allocations: 427.1 kB / 0.7681 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.097e-05/0.6857, allocations: 67.39 kB / 0.7682 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6857, allocations: 4 kB / 0.7682 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.6858, allocations: 4 kB / 0.7682 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.6859, allocations: 31.91 kB / 0.7682 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.686, allocations: 7.984 kB / 0.7682 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/0.6863, allocations: 48 kB / 0.7683 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.096e-05/0.6864, allocations: 59.98 kB / 0.7683 GB, free: 9.977 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.0001972/0.6866, allocations: 167.9 kB / 0.7685 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.6867, allocations: 35.56 kB / 0.7685 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.63e-05/0.6867, allocations: 30.25 kB / 0.7686 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.6868, allocations: 4 kB / 0.7686 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6868, allocations: 4 kB / 0.7686 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6868, allocations: 0 / 0.7686 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008267/0.6876, allocations: 0.5586 MB / 0.7691 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6876, allocations: 0 / 0.7691 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.6877, allocations: 8 kB / 0.7691 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.6877, allocations: 0 / 0.7691 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.6877, allocations: 15.97 kB / 0.7691 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6877, allocations: 0 / 0.7691 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6877, allocations: 0 / 0.7691 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.6881, allocations: 330.9 kB / 0.7695 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.6883, allocations: 156.7 kB / 0.7696 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.6884, allocations: 8 kB / 0.7696 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.6886, allocations: 11.98 kB / 0.7696 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/0.6887, allocations: 19.97 kB / 0.7696 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/0.6887, allocations: 27.98 kB / 0.7697 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000205/0.6889, allocations: 209.9 kB / 0.7699 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6889, allocations: 0 / 0.7699 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003373/0.6893, allocations: 56 kB / 0.7699 GB, free: 8.258 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.0001907/0.6895, allocations: 121.4 kB / 0.77 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006483/0.6901, allocations: 356.1 kB / 0.7704 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6902, allocations: 0 / 0.7704 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.6903, allocations: 72.28 kB / 0.7704 GB, free: 7.691 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.6906, allocations: 30.23 kB / 0.7705 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007117/0.6913, allocations: 443.3 kB / 0.7709 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.6917, allocations: 0.7477 MB / 0.7716 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.6918, allocations: 33.09 kB / 0.7717 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.6919, allocations: 39.41 kB / 0.7717 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of SimCode: time 1.754e-06/0.6919, allocations: 0 / 0.7717 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of Templates: time 0.008028/0.7, allocations: 4.303 MB / 0.7759 GB, free: 2.074 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)