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.001189/0.00119, allocations: 174.7 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.7093/0.7093, allocations: 130.6 MB / 143.8 MB, free: 13.58 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.603/1.603, allocations: 221.3 MB / 396.8 MB, free: 9.172 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.00104/0.00104, allocations: 97.95 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.9e-05, allocations: 2.781 kB / 0.5551 GB, free: 86.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1655, allocations: 81.58 MB / 0.6348 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6117/0.7772, allocations: 112.9 MB / 0.745 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.7774, allocations: 72.3 kB / 0.7451 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0124/0.7898, allocations: 4.489 MB / 0.7495 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7899, allocations: 0 / 0.7495 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.7899, allocations: 3.875 kB / 0.7495 GB, free: 27.57 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.000929/0.7908, allocations: 0.5844 MB / 0.7501 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.368e-05/0.7909, allocations: 11.5 kB / 0.7501 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.791, allocations: 27.09 kB / 0.7501 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.7914, allocations: 254.7 kB / 0.7503 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/0.7915, allocations: 9.344 kB / 0.7504 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.7915, allocations: 21.84 kB / 0.7504 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.7918, allocations: 143.6 kB / 0.7505 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.7919, allocations: 0 / 0.7505 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.7919, allocations: 0 / 0.7505 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/0.792, allocations: 3.938 kB / 0.7505 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.7921, allocations: 48.52 kB / 0.7506 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.7925, allocations: 335.6 kB / 0.7509 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.7927, allocations: 127 kB / 0.751 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.7928, allocations: 58.19 kB / 0.7511 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.7929, allocations: 3.875 kB / 0.7511 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003885/0.7933, allocations: 208.8 kB / 0.7513 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.7933, allocations: 0 / 0.7513 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0004447/0.7937, allocations: 222.9 kB / 0.7515 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.7938, allocations: 65.28 kB / 0.7515 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.7941, allocations: 245.9 kB / 0.7518 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.189e-05/0.7941, allocations: 47.59 kB / 0.7518 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.7942, allocations: 92.45 kB / 0.7519 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.7943, allocations: 36.7 kB / 0.7519 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.7943, allocations: 10.72 kB / 0.7519 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.7944, allocations: 332.6 kB / 0.7523 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.7946, allocations: 93.02 kB / 0.7524 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.7949, allocations: 158.6 kB / 0.7525 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.7951, allocations: 150.7 kB / 0.7526 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7951, allocations: 0 / 0.7526 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006503/0.7958, allocations: 413.8 kB / 0.753 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.583e-05/0.7959, allocations: 74.8 kB / 0.7531 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.7959, allocations: 0 / 0.7531 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.7959, allocations: 7.781 kB / 0.7531 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.7961, allocations: 28.44 kB / 0.7531 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.7961, allocations: 3.969 kB / 0.7532 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.7965, allocations: 50.86 kB / 0.7532 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.949e-05/0.7966, allocations: 52.61 kB / 0.7533 GB, free: 25.47 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.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.0001825/0.7968, allocations: 145.1 kB / 0.7534 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.7968, allocations: 23.44 kB / 0.7534 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.19e-05/0.7969, allocations: 30.19 kB / 0.7534 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7969, allocations: 0 / 0.7534 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.7969, allocations: 0 / 0.7534 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.7969, allocations: 3.938 kB / 0.7534 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007454/0.7977, allocations: 0.5677 MB / 0.754 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7977, allocations: 0 / 0.754 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.7977, allocations: 7.812 kB / 0.754 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.7977, allocations: 0 / 0.754 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.7978, allocations: 9.578 kB / 0.754 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7978, allocations: 3.812 kB / 0.754 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.7978, allocations: 4 kB / 0.754 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.7982, allocations: 325.6 kB / 0.7543 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.7983, allocations: 159.7 kB / 0.7545 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.7984, allocations: 7.375 kB / 0.7545 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.7986, allocations: 14.33 kB / 0.7545 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.7987, allocations: 14.09 kB / 0.7545 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.7987, allocations: 29.88 kB / 0.7545 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000187/0.7989, allocations: 206.9 kB / 0.7547 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7989, allocations: 0 / 0.7547 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003067/0.7992, allocations: 53.39 kB / 0.7548 GB, free: 24.64 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 (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.000162/0.7994, allocations: 116.4 kB / 0.7549 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005053/0.7999, allocations: 345.9 kB / 0.7552 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.348e-05/0.7999, allocations: 0 / 0.7552 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.8001, allocations: 72.91 kB / 0.7553 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.8003, allocations: 22.41 kB / 0.7553 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.8008, allocations: 277.8 kB / 0.7556 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.8012, allocations: 0.7475 MB / 0.7563 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001381/0.8013, allocations: 38.61 kB / 0.7564 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.8014, allocations: 31.94 kB / 0.7564 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/0.8014, allocations: 0 / 0.7564 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.006902/0.8083, allocations: 4.316 MB / 0.7606 GB, free: 21.96 MB / 0.5105 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)