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.01052/0.01052, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.00184/0.001841, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7881/0.7881, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 65.23 kB / 0.5808 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1736, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002821/0.1765, allocations: 1.477 MB / 0.6606 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009075/0.1774, allocations: 423.3 kB / 0.661 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.1775, allocations: 0 / 0.661 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.1776, allocations: 11.88 kB / 0.661 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.1777, allocations: 28.22 kB / 0.6611 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007196/0.1785, allocations: 244.8 kB / 0.6613 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.1788, allocations: 311.5 kB / 0.6616 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.1789, allocations: 8 kB / 0.6616 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000304/0.1792, allocations: 195.6 kB / 0.6618 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.1795, allocations: 116 kB / 0.6619 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.879e-05/0.1795, allocations: 20 kB / 0.6619 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.18e-05/0.1796, allocations: 16 kB / 0.6619 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1797, allocations: 79.72 kB / 0.662 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.1799, allocations: 123.4 kB / 0.6621 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.1802, allocations: 275.2 kB / 0.6624 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1802, allocations: 4 kB / 0.6624 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1802, allocations: 4 kB / 0.6624 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.1803, allocations: 3.984 kB / 0.6624 GB, free: 7.465 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.001257/0.1815, allocations: 0.7076 MB / 0.6631 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1816, allocations: 12.03 kB / 0.6631 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.596e-05/0.1816, allocations: 34.73 kB / 0.6631 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.361e-05/0.1817, allocations: 32.8 kB / 0.6632 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.1821, allocations: 271.7 kB / 0.6634 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.1821, allocations: 20.12 kB / 0.6634 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/0.1822, allocations: 12 kB / 0.6634 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.1825, allocations: 145.5 kB / 0.6636 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.1825, allocations: 0 / 0.6636 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.1825, allocations: 3.984 kB / 0.6636 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1825, allocations: 4 kB / 0.6636 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.1827, allocations: 47.97 kB / 0.6636 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.183, allocations: 301.5 kB / 0.6639 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.1833, allocations: 142.6 kB / 0.6641 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.1835, allocations: 52.83 kB / 0.6641 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1835, allocations: 4 kB / 0.6641 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004704/0.184, allocations: 227.5 kB / 0.6643 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.774e-06/0.184, allocations: 0 / 0.6643 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005724/0.1846, allocations: 267.1 kB / 0.6646 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.1846, allocations: 59.41 kB / 0.6646 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.1849, allocations: 294.9 kB / 0.6649 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.071e-05/0.185, allocations: 33.7 kB / 0.665 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.455e-05/0.1851, allocations: 93.14 kB / 0.665 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.1851, allocations: 43.69 kB / 0.6651 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.1853, allocations: 113.8 kB / 0.6652 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1854, allocations: 322.8 kB / 0.6655 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.1856, allocations: 96.05 kB / 0.6656 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.1859, allocations: 150.4 kB / 0.6657 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.1862, allocations: 240.1 kB / 0.666 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1862, allocations: 4 kB / 0.666 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006818/0.1869, allocations: 408.7 kB / 0.6664 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.594e-05/0.187, allocations: 79.38 kB / 0.6664 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.187, allocations: 7.938 kB / 0.6664 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.187, allocations: 0 / 0.6664 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.1872, allocations: 31.92 kB / 0.6665 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1872, allocations: 0 / 0.6665 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/0.1878, allocations: 60.09 kB / 0.6665 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/0.1879, allocations: 55.98 kB / 0.6666 GB, free: 2.82 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.0001894/0.188, allocations: 175.9 kB / 0.6668 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.1881, allocations: 31.75 kB / 0.6668 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.138e-05/0.1882, allocations: 26.25 kB / 0.6668 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1882, allocations: 8 kB / 0.6668 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1882, allocations: 0 / 0.6668 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1882, allocations: 3.984 kB / 0.6668 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008149/0.189, allocations: 0.5665 MB / 0.6674 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.189, allocations: 0 / 0.6674 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/0.1891, allocations: 8 kB / 0.6674 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.1891, allocations: 4 kB / 0.6674 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.1891, allocations: 11.97 kB / 0.6674 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1891, allocations: 0 / 0.6674 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1891, allocations: 0 / 0.6674 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.1896, allocations: 329.1 kB / 0.6677 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.1898, allocations: 156.9 kB / 0.6679 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.1898, allocations: 8 kB / 0.6679 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.1901, allocations: 7.984 kB / 0.6679 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.1901, allocations: 23.91 kB / 0.6679 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.1902, allocations: 27.98 kB / 0.6679 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001939/0.1904, allocations: 205.9 kB / 0.6681 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.21e-07/0.1904, allocations: 4 kB / 0.6681 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003331/0.1907, allocations: 51.98 kB / 0.6682 GB, free: 1.094 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.0008028/0.1915, allocations: 0.8696 MB / 0.669 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006191/0.1922, allocations: 344.3 kB / 0.6694 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1922, allocations: 0 / 0.6694 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.1923, allocations: 71.91 kB / 0.6694 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.1927, allocations: 20.88 kB / 0.6694 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.1958, allocations: 2.411 MB / 0.6718 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.1962, allocations: 0.7435 MB / 0.6725 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.1963, allocations: 41.42 kB / 0.6726 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.1964, allocations: 43.41 kB / 0.6726 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.1964, allocations: 0 / 0.6726 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.2189, allocations: 5.282 MB / 0.6778 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.899/8.118, allocations: 2.188 kB / 0.6778 GB, free: 7.211 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)