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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0104/0.0104, allocations: 101.8 kB / 15.73 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002131/0.002131, allocations: 196.9 kB / 16.68 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8522/0.8522, allocations: 132.2 MB / 422.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 71.14 kB / 0.5808 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1594, allocations: 80.2 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00278/0.1622, allocations: 1.477 MB / 0.6606 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1634, allocations: 424.7 kB / 0.661 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.851e-05/0.1635, allocations: 7.938 kB / 0.661 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.1636, allocations: 7.922 kB / 0.661 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.1638, allocations: 24.17 kB / 0.6611 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008565/0.1647, allocations: 245.5 kB / 0.6613 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004755/0.1651, allocations: 315.5 kB / 0.6616 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.931e-05/0.1652, allocations: 4 kB / 0.6616 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.1656, allocations: 187.7 kB / 0.6618 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.1659, allocations: 112 kB / 0.6619 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.758e-05/0.1659, allocations: 20 kB / 0.6619 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.166, allocations: 16 kB / 0.6619 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.1661, allocations: 83.72 kB / 0.662 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.1663, allocations: 127.4 kB / 0.6621 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.1667, allocations: 283.2 kB / 0.6624 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1667, allocations: 0 / 0.6624 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1668, allocations: 0 / 0.6624 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.1668, allocations: 0 / 0.6624 GB, free: 7.469 MB / 0.4981 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.001389/0.1682, allocations: 0.7076 MB / 0.6631 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.1682, allocations: 12.03 kB / 0.6631 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.217e-05/0.1683, allocations: 34.73 kB / 0.6631 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.829e-05/0.1684, allocations: 36.8 kB / 0.6632 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.1688, allocations: 275.8 kB / 0.6634 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.1688, allocations: 16.06 kB / 0.6634 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.1689, allocations: 16 kB / 0.6634 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.1692, allocations: 149.5 kB / 0.6636 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1692, allocations: 0 / 0.6636 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.1692, allocations: 0 / 0.6636 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1693, allocations: 4 kB / 0.6636 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.1694, allocations: 47.97 kB / 0.6636 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.1698, allocations: 309.4 kB / 0.6639 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.1701, allocations: 134.6 kB / 0.6641 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.1703, allocations: 52.83 kB / 0.6641 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1703, allocations: 0 / 0.6641 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004997/0.1708, allocations: 227.5 kB / 0.6643 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.904e-06/0.1708, allocations: 0 / 0.6643 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006281/0.1715, allocations: 267.5 kB / 0.6646 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/0.1716, allocations: 59.39 kB / 0.6646 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.1719, allocations: 294.9 kB / 0.6649 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.172, allocations: 37.7 kB / 0.665 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.711e-05/0.1721, allocations: 93.12 kB / 0.665 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.06e-05/0.1721, allocations: 51.61 kB / 0.6651 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.1723, allocations: 113.7 kB / 0.6652 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1725, allocations: 318.8 kB / 0.6655 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.1727, allocations: 92.17 kB / 0.6656 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.173, allocations: 150.4 kB / 0.6657 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.1734, allocations: 244.1 kB / 0.666 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1734, allocations: 0 / 0.666 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000723/0.1741, allocations: 408.7 kB / 0.6664 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.964e-05/0.1742, allocations: 79.38 kB / 0.6664 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1742, allocations: 0 / 0.6664 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1742, allocations: 4 kB / 0.6664 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.1744, allocations: 19.98 kB / 0.6665 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.1744, allocations: 16.11 kB / 0.6665 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.1749, allocations: 59.89 kB / 0.6665 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/0.175, allocations: 55.98 kB / 0.6666 GB, free: 2.816 MB / 0.4981 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002072/0.1752, allocations: 167.9 kB / 0.6667 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.1753, allocations: 31.75 kB / 0.6668 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.808e-05/0.1753, allocations: 30.25 kB / 0.6668 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.1754, allocations: 7.984 kB / 0.6668 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1754, allocations: 0 / 0.6668 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1754, allocations: 7.922 kB / 0.6668 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008785/0.1763, allocations: 0.5586 MB / 0.6674 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1763, allocations: 4 kB / 0.6674 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.1763, allocations: 11.94 kB / 0.6674 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1763, allocations: 0 / 0.6674 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.1764, allocations: 15.97 kB / 0.6674 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1764, allocations: 4 kB / 0.6674 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1764, allocations: 0 / 0.6674 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.1768, allocations: 323.1 kB / 0.6677 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.177, allocations: 156.9 kB / 0.6679 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.1771, allocations: 8 kB / 0.6679 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.1773, allocations: 7.984 kB / 0.6679 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.1774, allocations: 19.97 kB / 0.6679 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/0.1774, allocations: 31.98 kB / 0.6679 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002111/0.1776, allocations: 209.9 kB / 0.6681 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.124e-06/0.1776, allocations: 0 / 0.6681 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003128/0.178, allocations: 51.94 kB / 0.6682 GB, free: 1.09 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007935/0.1788, allocations: 0.8713 MB / 0.669 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000599/0.1794, allocations: 345.1 kB / 0.6694 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1794, allocations: 0 / 0.6694 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.1796, allocations: 75.89 kB / 0.6694 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1799, allocations: 31.03 kB / 0.6695 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.183, allocations: 2.404 MB / 0.6718 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.1835, allocations: 0.7396 MB / 0.6725 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000142/0.1836, allocations: 37.42 kB / 0.6726 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.1838, allocations: 47.41 kB / 0.6726 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of SimCode: time 2.295e-06/0.1838, allocations: 0 / 0.6726 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.2112, allocations: 5.279 MB / 0.6778 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.356, allocations: 1.969 kB / 0.6778 GB, free: 7.207 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.csv --start-time 172799 --stop-time 345599 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)