Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001479/0.001479, allocations: 171.6 kB / 7.641 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.7805/0.7805, allocations: 130.7 MB / 138.7 MB, free: 3.531 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.495/1.495, allocations: 221.5 MB / 391.8 MB, free: 14.17 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.0008625/0.0008624, allocations: 88.14 kB / 473.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.361e-05/1.365e-05, allocations: 0 / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5156/0.5157, allocations: 81.57 MB / 0.6282 GB, free: 42.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.6712, allocations: 112.3 MB / 0.7378 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.6716, allocations: 71.95 kB / 0.7379 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01383/0.6855, allocations: 4.463 MB / 0.7422 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6855, allocations: 0 / 0.7422 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.987e-05/0.6855, allocations: 6.719 kB / 0.7422 GB, free: 9.969 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.0011/0.6866, allocations: 0.5827 MB / 0.7428 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.6867, allocations: 8.031 kB / 0.7428 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.6869, allocations: 31.72 kB / 0.7428 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.6873, allocations: 258.4 kB / 0.7431 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.6873, allocations: 3.984 kB / 0.7431 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.415e-05/0.6874, allocations: 16 kB / 0.7431 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001361/0.6875, allocations: 39.98 kB / 0.7431 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.6878, allocations: 129.5 kB / 0.7433 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.6878, allocations: 0 / 0.7433 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.6878, allocations: 11.98 kB / 0.7433 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.6878, allocations: 4 kB / 0.7433 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.6883, allocations: 297.9 kB / 0.7436 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.6885, allocations: 118.7 kB / 0.7437 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.251e-05/0.6886, allocations: 54.84 kB / 0.7437 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.6886, allocations: 4 kB / 0.7437 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003791/0.689, allocations: 216.6 kB / 0.7439 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/0.689, allocations: 0 / 0.7439 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0004305/0.6894, allocations: 210.7 kB / 0.7441 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.6895, allocations: 63.41 kB / 0.7442 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.6898, allocations: 246.2 kB / 0.7444 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.76e-05/0.6898, allocations: 33.7 kB / 0.7445 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.6899, allocations: 93.36 kB / 0.7446 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.531e-05/0.69, allocations: 35.61 kB / 0.7446 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.69, allocations: 3.984 kB / 0.7446 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.6902, allocations: 322.8 kB / 0.7449 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.6903, allocations: 84.22 kB / 0.745 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.6906, allocations: 134.2 kB / 0.7451 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.6907, allocations: 81.12 kB / 0.7452 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6908, allocations: 0 / 0.7452 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006661/0.6914, allocations: 319.7 kB / 0.7455 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.465e-05/0.6915, allocations: 75.38 kB / 0.7456 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6915, allocations: 3.938 kB / 0.7456 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.6916, allocations: 4 kB / 0.7456 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.6918, allocations: 23.98 kB / 0.7456 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.6918, allocations: 11.92 kB / 0.7456 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004647/0.6923, allocations: 52 kB / 0.7457 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-05/0.6924, allocations: 55.97 kB / 0.7457 GB, free: 6.145 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.0001605/0.6925, allocations: 127.1 kB / 0.7458 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.6926, allocations: 27.67 kB / 0.7459 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.954e-05/0.6927, allocations: 26.03 kB / 0.7459 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.6927, allocations: 7.938 kB / 0.7459 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6927, allocations: 4 kB / 0.7459 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.6927, allocations: 7.969 kB / 0.7459 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008271/0.6936, allocations: 0.5157 MB / 0.7464 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6936, allocations: 0 / 0.7464 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.6936, allocations: 15.92 kB / 0.7464 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.6937, allocations: 0 / 0.7464 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.6937, allocations: 7.984 kB / 0.7464 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.6937, allocations: 4 kB / 0.7464 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6937, allocations: 0 / 0.7464 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.6941, allocations: 311 kB / 0.7467 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.6944, allocations: 160.6 kB / 0.7469 GB, free: 4.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/0.6944, allocations: 8 kB / 0.7469 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.6947, allocations: 7.984 kB / 0.7469 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.6947, allocations: 11.98 kB / 0.7469 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/0.6948, allocations: 35.97 kB / 0.7469 GB, free: 4.797 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001917/0.695, allocations: 190 kB / 0.7471 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/0.695, allocations: 4 kB / 0.7471 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004/0.6954, allocations: 47.98 kB / 0.7472 GB, free: 4.559 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.0001868/0.6956, allocations: 116.5 kB / 0.7473 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005508/0.6962, allocations: 336.9 kB / 0.7476 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6962, allocations: 0 / 0.7476 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.6963, allocations: 63.92 kB / 0.7477 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.6966, allocations: 21.25 kB / 0.7477 GB, free: 4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.6973, allocations: 269.1 kB / 0.7479 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.6977, allocations: 0.7435 MB / 0.7487 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001751/0.6979, allocations: 41.2 kB / 0.7487 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.698, allocations: 31.42 kB / 0.7487 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of SimCode: time 3.1e-07/0.698, allocations: 4 kB / 0.7487 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of Templates: time 0.008561/0.7066, allocations: 4.124 MB / 0.7528 GB, free: 14.75 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)