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.001358/0.001357, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8499/0.8499, allocations: 130.5 MB / 143.8 MB, free: 13.57 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.439/1.439, allocations: 221.3 MB / 396.8 MB, free: 9.211 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009446/0.0009446, allocations: 99.89 kB / 479 MB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.211e-05, allocations: 1.375 kB / 0.5551 GB, free: 86.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1855, allocations: 81.58 MB / 0.6347 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5835/0.769, allocations: 112.9 MB / 0.745 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.7693, allocations: 74.83 kB / 0.745 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01247/0.7818, allocations: 4.473 MB / 0.7494 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7818, allocations: 0 / 0.7494 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.7818, allocations: 11.2 kB / 0.7494 GB, free: 27.55 MB / 0.5105 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.0008221/0.7827, allocations: 0.588 MB / 0.75 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.7827, allocations: 7.844 kB / 0.75 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.7828, allocations: 30.97 kB / 0.75 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.7832, allocations: 249.9 kB / 0.7503 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.7832, allocations: 11.03 kB / 0.7503 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/0.7833, allocations: 21.81 kB / 0.7503 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.7836, allocations: 143.5 kB / 0.7504 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.7836, allocations: 0 / 0.7504 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.7836, allocations: 0 / 0.7504 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.7836, allocations: 10.73 kB / 0.7504 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.7837, allocations: 52.3 kB / 0.7505 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.7841, allocations: 332.3 kB / 0.7508 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.7843, allocations: 130 kB / 0.7509 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.486e-05/0.7844, allocations: 56.19 kB / 0.751 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.7845, allocations: 0 / 0.751 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003456/0.7848, allocations: 213.4 kB / 0.7512 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.7848, allocations: 0 / 0.7512 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0004127/0.7852, allocations: 225.8 kB / 0.7514 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.7853, allocations: 59.25 kB / 0.7515 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.7855, allocations: 252.3 kB / 0.7517 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.7856, allocations: 44.33 kB / 0.7517 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.7857, allocations: 88.86 kB / 0.7518 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.7857, allocations: 44.69 kB / 0.7519 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.7858, allocations: 3.875 kB / 0.7519 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.7859, allocations: 332.6 kB / 0.7522 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.7861, allocations: 93.58 kB / 0.7523 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.7863, allocations: 152.3 kB / 0.7524 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.7865, allocations: 152.6 kB / 0.7526 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7865, allocations: 7.781 kB / 0.7526 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006568/0.7872, allocations: 406.2 kB / 0.753 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.957e-05/0.7873, allocations: 74.39 kB / 0.753 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.7873, allocations: 3.844 kB / 0.753 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.7873, allocations: 3.844 kB / 0.753 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.7875, allocations: 28.25 kB / 0.7531 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.7875, allocations: 3.969 kB / 0.7531 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.7878, allocations: 46.47 kB / 0.7531 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.076e-05/0.7879, allocations: 51.66 kB / 0.7532 GB, free: 25.45 MB / 0.5105 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.0002074/0.7881, allocations: 151.2 kB / 0.7533 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.7882, allocations: 26 kB / 0.7533 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.746e-05/0.7883, allocations: 27.83 kB / 0.7534 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.7883, allocations: 11.78 kB / 0.7534 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.7883, allocations: 0 / 0.7534 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.7883, allocations: 3.938 kB / 0.7534 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009808/0.7893, allocations: 0.5605 MB / 0.7539 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7893, allocations: 0 / 0.7539 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.061e-05/0.7894, allocations: 10.23 kB / 0.7539 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.7894, allocations: 0 / 0.7539 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.7894, allocations: 12.58 kB / 0.754 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.7895, allocations: 3.984 kB / 0.754 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7895, allocations: 0 / 0.754 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.7899, allocations: 323.9 kB / 0.7543 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.7902, allocations: 158.4 kB / 0.7544 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.7903, allocations: 10.3 kB / 0.7544 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.7905, allocations: 14.7 kB / 0.7544 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.23e-05/0.7905, allocations: 17.19 kB / 0.7545 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.7906, allocations: 32.62 kB / 0.7545 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002215/0.7908, allocations: 204.8 kB / 0.7547 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7908, allocations: 3.844 kB / 0.7547 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003523/0.7912, allocations: 46.38 kB / 0.7547 GB, free: 24.62 MB / 0.5105 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.000166/0.7914, allocations: 119.1 kB / 0.7548 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005592/0.7919, allocations: 341.5 kB / 0.7552 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.792, allocations: 0 / 0.7552 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.7921, allocations: 75.92 kB / 0.7552 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.7924, allocations: 30.47 kB / 0.7553 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.793, allocations: 273.8 kB / 0.7555 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.7934, allocations: 0.745 MB / 0.7563 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001612/0.7936, allocations: 39.84 kB / 0.7563 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.7938, allocations: 36.09 kB / 0.7563 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of SimCode: time 3.51e-07/0.7938, allocations: 0 / 0.7563 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of Templates: time 0.007036/0.8008, allocations: 4.35 MB / 0.7606 GB, free: 21.9 MB / 0.5105 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)