Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 176.1 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.7921/0.7921, allocations: 130.7 MB / 138.7 MB, free: 3.629 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.489/1.489, allocations: 221.5 MB / 391.8 MB, free: 14.14 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.0008681/0.0008681, allocations: 98.45 kB / 473.9 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.66e-05/1.662e-05, allocations: 4 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5049/0.5049, allocations: 81.57 MB / 0.6282 GB, free: 42.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/0.6695, allocations: 112.2 MB / 0.7377 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.6699, allocations: 67.97 kB / 0.7378 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01469/0.6846, allocations: 4.466 MB / 0.7422 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.775e-06/0.6846, allocations: 0 / 0.7422 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.6847, allocations: 8 kB / 0.7422 GB, free: 10.01 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.001006/0.6857, allocations: 0.5749 MB / 0.7427 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.6858, allocations: 8.031 kB / 0.7427 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.6859, allocations: 31.72 kB / 0.7428 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.6863, allocations: 254.5 kB / 0.743 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.6863, allocations: 4 kB / 0.743 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.403e-05/0.6864, allocations: 19.98 kB / 0.743 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001334/0.6865, allocations: 47.92 kB / 0.7431 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.6868, allocations: 129.5 kB / 0.7432 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.6868, allocations: 3.984 kB / 0.7432 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.6868, allocations: 4 kB / 0.7432 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.6869, allocations: 3.984 kB / 0.7432 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.6873, allocations: 297.9 kB / 0.7435 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.6875, allocations: 126.7 kB / 0.7436 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.6876, allocations: 49.23 kB / 0.7437 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.6876, allocations: 4 kB / 0.7437 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004065/0.6881, allocations: 208.1 kB / 0.7439 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.6881, allocations: 0 / 0.7439 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0004565/0.6885, allocations: 214.6 kB / 0.7441 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.6886, allocations: 67.33 kB / 0.7441 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.6888, allocations: 239.2 kB / 0.7444 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.405e-05/0.6889, allocations: 33.69 kB / 0.7444 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.689, allocations: 97.36 kB / 0.7445 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.6891, allocations: 31.61 kB / 0.7445 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.6891, allocations: 8 kB / 0.7445 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6893, allocations: 322.8 kB / 0.7448 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.6894, allocations: 88.2 kB / 0.7449 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.6897, allocations: 130.2 kB / 0.745 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.6898, allocations: 76.69 kB / 0.7451 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.6898, allocations: 0 / 0.7451 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006026/0.6905, allocations: 327.3 kB / 0.7454 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.361e-05/0.6905, allocations: 75.38 kB / 0.7455 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6906, allocations: 0 / 0.7455 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.6906, allocations: 4.188 kB / 0.7455 GB, free: 6.328 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.6908, allocations: 27.92 kB / 0.7455 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.6908, allocations: 4 kB / 0.7455 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.6912, allocations: 43.81 kB / 0.7456 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.6913, allocations: 55.98 kB / 0.7456 GB, free: 6.199 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.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.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.0001603/0.6915, allocations: 133.6 kB / 0.7458 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.6915, allocations: 31.67 kB / 0.7458 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.725e-05/0.6916, allocations: 30.03 kB / 0.7458 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6916, allocations: 0 / 0.7458 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.6916, allocations: 4 kB / 0.7458 GB, free: 6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.6916, allocations: 0 / 0.7458 GB, free: 6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007639/0.6924, allocations: 0.5236 MB / 0.7463 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.6924, allocations: 0 / 0.7463 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.6925, allocations: 4 kB / 0.7463 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.6925, allocations: 4 kB / 0.7463 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.6925, allocations: 15.97 kB / 0.7464 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.6925, allocations: 0 / 0.7464 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6925, allocations: 7.938 kB / 0.7464 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.6929, allocations: 303 kB / 0.7467 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.6931, allocations: 160.6 kB / 0.7468 GB, free: 4.914 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.6932, allocations: 8 kB / 0.7468 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.6934, allocations: 15.97 kB / 0.7468 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.6934, allocations: 15.98 kB / 0.7468 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.657e-05/0.6935, allocations: 31.98 kB / 0.7469 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001733/0.6937, allocations: 194 kB / 0.7471 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6937, allocations: 0 / 0.7471 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003253/0.694, allocations: 48 kB / 0.7471 GB, free: 4.605 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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.0001739/0.6942, allocations: 116.9 kB / 0.7472 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004883/0.6947, allocations: 320.8 kB / 0.7475 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6947, allocations: 4.062 kB / 0.7475 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.6948, allocations: 71.91 kB / 0.7476 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.6951, allocations: 20.88 kB / 0.7476 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005407/0.6956, allocations: 265.1 kB / 0.7479 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.696, allocations: 0.7513 MB / 0.7486 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.6962, allocations: 33.2 kB / 0.7486 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.6963, allocations: 35.42 kB / 0.7487 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of SimCode: time 2.81e-07/0.6963, allocations: 3.938 kB / 0.7487 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of Templates: time 0.008186/0.7045, allocations: 4.172 MB / 0.7527 GB, free: 14.75 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1)