Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001569/0.001569, allocations: 169.3 kB / 7.64 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.8474/0.8474, allocations: 130.7 MB / 138.7 MB, free: 3.539 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.438/1.438, allocations: 221.5 MB / 391.8 MB, free: 14.15 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.0008977/0.0008977, allocations: 98.47 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.672e-05/1.676e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.4848, allocations: 81.57 MB / 0.6282 GB, free: 42.97 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.6483, allocations: 112.3 MB / 0.7378 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.6487, allocations: 67.97 kB / 0.7379 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01392/0.6626, allocations: 4.467 MB / 0.7422 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6627, allocations: 0 / 0.7422 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.6627, allocations: 4 kB / 0.7422 GB, free: 9.953 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.0008779/0.6636, allocations: 0.5788 MB / 0.7428 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.6636, allocations: 12.03 kB / 0.7428 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.66e-05/0.6637, allocations: 27.72 kB / 0.7428 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.6641, allocations: 258.4 kB / 0.7431 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.6641, allocations: 8 kB / 0.7431 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/0.6642, allocations: 15.98 kB / 0.7431 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001234/0.6643, allocations: 36 kB / 0.7431 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.6646, allocations: 138.3 kB / 0.7433 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.6646, allocations: 0 / 0.7433 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.6646, allocations: 0 / 0.7433 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6646, allocations: 4 kB / 0.7433 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.665, allocations: 309.8 kB / 0.7436 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.6652, allocations: 118.7 kB / 0.7437 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.969e-05/0.6653, allocations: 54.16 kB / 0.7437 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.6654, allocations: 4 kB / 0.7437 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004188/0.6658, allocations: 211.6 kB / 0.7439 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 3.226e-06/0.6658, allocations: 0 / 0.7439 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0004314/0.6662, allocations: 214.1 kB / 0.7441 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.6663, allocations: 67.34 kB / 0.7442 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.6665, allocations: 238.3 kB / 0.7444 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.6666, allocations: 33.7 kB / 0.7445 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.6667, allocations: 97.34 kB / 0.7446 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.172e-05/0.6667, allocations: 35.61 kB / 0.7446 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.6668, allocations: 7.938 kB / 0.7446 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.6669, allocations: 318.8 kB / 0.7449 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.6671, allocations: 88.2 kB / 0.745 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.6673, allocations: 143.8 kB / 0.7451 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.6675, allocations: 68.64 kB / 0.7452 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6675, allocations: 4 kB / 0.7452 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005819/0.6681, allocations: 323.2 kB / 0.7455 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.938e-05/0.6682, allocations: 75.39 kB / 0.7456 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.6682, allocations: 4 kB / 0.7456 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.6682, allocations: 4 kB / 0.7456 GB, free: 6.258 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.6684, allocations: 23.97 kB / 0.7456 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.6684, allocations: 11.94 kB / 0.7456 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.6688, allocations: 48 kB / 0.7457 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.817e-05/0.6689, allocations: 51.98 kB / 0.7457 GB, free: 6.125 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.0001716/0.6691, allocations: 131.1 kB / 0.7458 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.6692, allocations: 27.67 kB / 0.7459 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.882e-05/0.6692, allocations: 26.03 kB / 0.7459 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.6692, allocations: 4 kB / 0.7459 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.6693, allocations: 4 kB / 0.7459 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.6693, allocations: 0 / 0.7459 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008127/0.6701, allocations: 0.516 MB / 0.7464 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6701, allocations: 0 / 0.7464 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.957e-05/0.6702, allocations: 15.94 kB / 0.7464 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.6702, allocations: 0 / 0.7464 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.6702, allocations: 11.98 kB / 0.7464 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.6702, allocations: 3.75 kB / 0.7464 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/0.6702, allocations: 0 / 0.7464 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.6707, allocations: 308.3 kB / 0.7467 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.6709, allocations: 164.6 kB / 0.7469 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/0.6709, allocations: 7.984 kB / 0.7469 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.6711, allocations: 8 kB / 0.7469 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.6712, allocations: 23.95 kB / 0.7469 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.6712, allocations: 27.98 kB / 0.7469 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001952/0.6714, allocations: 198 kB / 0.7471 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6714, allocations: 4 kB / 0.7471 GB, free: 4.582 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003704/0.6718, allocations: 44 kB / 0.7472 GB, free: 4.539 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.0002218/0.672, allocations: 119 kB / 0.7473 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005058/0.6726, allocations: 318.9 kB / 0.7476 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.6726, allocations: 0 / 0.7476 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.6727, allocations: 69.8 kB / 0.7477 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.673, allocations: 25.19 kB / 0.7477 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.6736, allocations: 269.1 kB / 0.7479 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.674, allocations: 0.7513 MB / 0.7487 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001401/0.6742, allocations: 37.2 kB / 0.7487 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.6743, allocations: 31.42 kB / 0.7487 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/0.6743, allocations: 4 kB / 0.7487 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of Templates: time 0.008448/0.6828, allocations: 4.121 MB / 0.7528 GB, free: 14.74 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)