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.001205/0.001205, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7213/0.7213, allocations: 130.7 MB / 138.7 MB, free: 3.562 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 221.5 MB / 391.8 MB, free: 14.19 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.0009176/0.0009177, allocations: 103.5 kB / 473.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.673e-05/1.676e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5037, allocations: 81.57 MB / 0.6282 GB, free: 42.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.6582, allocations: 112.2 MB / 0.7377 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.6585, allocations: 71.95 kB / 0.7378 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01342/0.6719, allocations: 4.456 MB / 0.7422 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.443e-06/0.672, allocations: 4 kB / 0.7422 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.672, allocations: 4 kB / 0.7422 GB, free: 10.03 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.00084/0.6728, allocations: 0.5749 MB / 0.7427 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.6729, allocations: 8.031 kB / 0.7427 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.082e-05/0.673, allocations: 37.11 kB / 0.7428 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.6733, allocations: 254.5 kB / 0.743 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.6734, allocations: 8 kB / 0.743 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.986e-05/0.6734, allocations: 16 kB / 0.743 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001197/0.6736, allocations: 43.92 kB / 0.7431 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.6738, allocations: 137.5 kB / 0.7432 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.6738, allocations: 0 / 0.7432 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.6739, allocations: 0 / 0.7432 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.6739, allocations: 7.984 kB / 0.7432 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.6742, allocations: 297.9 kB / 0.7435 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.6744, allocations: 122.7 kB / 0.7436 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.462e-05/0.6745, allocations: 53.22 kB / 0.7437 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.6746, allocations: 4 kB / 0.7437 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/0.6749, allocations: 211.6 kB / 0.7439 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.6749, allocations: 0.9375 kB / 0.7439 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0004034/0.6754, allocations: 210.4 kB / 0.7441 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.6754, allocations: 71.31 kB / 0.7441 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.6756, allocations: 238.3 kB / 0.7444 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.6757, allocations: 29.7 kB / 0.7444 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.6758, allocations: 105.3 kB / 0.7445 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.6758, allocations: 31.61 kB / 0.7445 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.6759, allocations: 4 kB / 0.7445 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.676, allocations: 326.8 kB / 0.7448 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.6762, allocations: 80.22 kB / 0.7449 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.6764, allocations: 143.8 kB / 0.7451 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.6765, allocations: 72.7 kB / 0.7451 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.6765, allocations: 0 / 0.7451 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005379/0.6771, allocations: 323.2 kB / 0.7454 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.15e-05/0.6772, allocations: 71.58 kB / 0.7455 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6772, allocations: 4 kB / 0.7455 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.6772, allocations: 8 kB / 0.7455 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.6774, allocations: 31.91 kB / 0.7455 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.6774, allocations: 4 kB / 0.7455 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.6778, allocations: 43.81 kB / 0.7456 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.089e-05/0.6779, allocations: 55.98 kB / 0.7456 GB, free: 6.207 MB / 0.5261 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 () * 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.0001326/0.678, allocations: 123.1 kB / 0.7458 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.678, allocations: 31.66 kB / 0.7458 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.694e-05/0.6781, allocations: 34.03 kB / 0.7458 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6781, allocations: 0 / 0.7458 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.6781, allocations: 4 kB / 0.7458 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.6782, allocations: 0 / 0.7458 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007045/0.6789, allocations: 0.5158 MB / 0.7463 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6789, allocations: 4 kB / 0.7463 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.6789, allocations: 7.984 kB / 0.7463 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.6789, allocations: 4 kB / 0.7463 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.679, allocations: 11.98 kB / 0.7464 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.679, allocations: 0 / 0.7464 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/0.679, allocations: 7.938 kB / 0.7464 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.6794, allocations: 304.8 kB / 0.7467 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.6796, allocations: 156.6 kB / 0.7468 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.6796, allocations: 15.98 kB / 0.7468 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.6798, allocations: 11.98 kB / 0.7468 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.6799, allocations: 19.97 kB / 0.7469 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.6799, allocations: 27.98 kB / 0.7469 GB, free: 4.859 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001633/0.6801, allocations: 190 kB / 0.7471 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6801, allocations: 0 / 0.7471 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003252/0.6804, allocations: 51.98 kB / 0.7471 GB, free: 4.621 MB / 0.5261 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) * 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.0001661/0.6806, allocations: 119 kB / 0.7472 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004657/0.6811, allocations: 326.9 kB / 0.7475 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6811, allocations: 0 / 0.7475 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.6812, allocations: 67.91 kB / 0.7476 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.6815, allocations: 16.88 kB / 0.7476 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.682, allocations: 277.5 kB / 0.7479 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.6824, allocations: 0.7434 MB / 0.7486 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.6825, allocations: 37.2 kB / 0.7486 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.6826, allocations: 39.42 kB / 0.7487 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of SimCode: time 2.81e-07/0.6826, allocations: 0 / 0.7487 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of Templates: time 0.007279/0.6899, allocations: 4.127 MB / 0.7527 GB, free: 14.81 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)