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.007086/0.007085, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7471/0.7471, allocations: 132.3 MB / 148.1 MB, free: 236 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.2 MB / 403.2 MB, free: 6.621 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.000924/0.0009239, allocations: 92.2 kB / 485.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004716, allocations: 8 kB / 0.5641 GB, free: 2.121 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4733, allocations: 81.57 MB / 0.6437 GB, free: 39.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/0.633, allocations: 113 MB / 0.7541 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.6333, allocations: 71.97 kB / 0.7542 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01357/0.6469, allocations: 4.499 MB / 0.7586 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6469, allocations: 0 / 0.7586 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.647, allocations: 4 kB / 0.7586 GB, free: 2.367 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.0009474/0.6479, allocations: 0.6259 MB / 0.7592 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.648, allocations: 8.031 kB / 0.7592 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.487e-05/0.6481, allocations: 31.72 kB / 0.7592 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.6484, allocations: 250.5 kB / 0.7595 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.6485, allocations: 15.98 kB / 0.7595 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.239e-05/0.6486, allocations: 16 kB / 0.7595 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.6489, allocations: 150 kB / 0.7596 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.6489, allocations: 0 / 0.7596 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.6489, allocations: 4 kB / 0.7596 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.6489, allocations: 0 / 0.7596 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.649, allocations: 47.97 kB / 0.7597 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.6494, allocations: 337.3 kB / 0.76 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.6497, allocations: 130.6 kB / 0.7601 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.6497, allocations: 4 kB / 0.7601 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003898/0.6501, allocations: 207.5 kB / 0.7603 GB, free: 384 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.452e-06/0.6501, allocations: 4 kB / 0.7603 GB, free: 380 kB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0005513/0.6507, allocations: 267.2 kB / 0.7606 GB, free: 108 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.6507, allocations: 67.39 kB / 0.7606 GB, free: 28 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.651, allocations: 258.1 kB / 0.7609 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.6511, allocations: 41.69 kB / 0.7609 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.6511, allocations: 89.14 kB / 0.761 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.6512, allocations: 43.42 kB / 0.7611 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.6512, allocations: 8 kB / 0.7611 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6513, allocations: 322.8 kB / 0.7614 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.6516, allocations: 100.2 kB / 0.7615 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.6519, allocations: 154.4 kB / 0.7616 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.6521, allocations: 171.2 kB / 0.7618 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6521, allocations: 0 / 0.7618 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00075/0.6529, allocations: 415.2 kB / 0.7622 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.862e-05/0.653, allocations: 71.39 kB / 0.7622 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.653, allocations: 0 / 0.7622 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.653, allocations: 4 kB / 0.7622 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.6532, allocations: 31.91 kB / 0.7623 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.6532, allocations: 8.188 kB / 0.7623 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.6536, allocations: 51.75 kB / 0.7623 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.3e-05/0.6537, allocations: 51.98 kB / 0.7624 GB, free: 14.15 MB / 0.5417 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 () * Number of clocked 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.0002028/0.6539, allocations: 180.9 kB / 0.7626 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.6539, allocations: 35.62 kB / 0.7626 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.91e-05/0.654, allocations: 30.25 kB / 0.7626 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.654, allocations: 0 / 0.7626 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.654, allocations: 0 / 0.7626 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.654, allocations: 0 / 0.7626 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008825/0.6549, allocations: 0.5568 MB / 0.7632 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6549, allocations: 0 / 0.7632 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.655, allocations: 7.984 kB / 0.7632 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.655, allocations: 0 / 0.7632 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.655, allocations: 19.98 kB / 0.7632 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.6551, allocations: 0 / 0.7632 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.6551, allocations: 0 / 0.7632 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.6555, allocations: 328.8 kB / 0.7635 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.6557, allocations: 152.7 kB / 0.7637 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.6558, allocations: 12 kB / 0.7637 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.656, allocations: 15.98 kB / 0.7637 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.6561, allocations: 19.97 kB / 0.7637 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.6561, allocations: 31.98 kB / 0.7637 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001992/0.6563, allocations: 205.9 kB / 0.7639 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6563, allocations: 0 / 0.7639 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003221/0.6566, allocations: 52 kB / 0.764 GB, free: 12.42 MB / 0.5417 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) * Number of clocked states: 0 () * 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.0001664/0.6568, allocations: 115.2 kB / 0.7641 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006797/0.6575, allocations: 357.1 kB / 0.7644 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.6575, allocations: 4.062 kB / 0.7644 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.6577, allocations: 71.89 kB / 0.7645 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.6579, allocations: 24.83 kB / 0.7645 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008229/0.6588, allocations: 443.3 kB / 0.7649 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.6592, allocations: 0.754 MB / 0.7657 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.6593, allocations: 37.08 kB / 0.7657 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.6594, allocations: 35.36 kB / 0.7657 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of SimCode: time 3.1e-07/0.6594, allocations: 0 / 0.7657 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of Templates: time 0.007561/0.667, allocations: 4.297 MB / 0.7699 GB, free: 6.238 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)