Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",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.00674/0.00674, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.001852/0.001852, allocations: 193.8 kB / 16.68 MB, free: 5.973 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8335/0.8335, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 63.47 kB / 0.5808 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1688, allocations: 80.2 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002785/0.1717, allocations: 1.484 MB / 0.6606 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1728, allocations: 421.4 kB / 0.661 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.1728, allocations: 0 / 0.661 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.173, allocations: 7.922 kB / 0.661 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.1731, allocations: 24.17 kB / 0.661 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007474/0.1739, allocations: 242.9 kB / 0.6613 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004219/0.1743, allocations: 315.5 kB / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.1743, allocations: 8 kB / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.1746, allocations: 191.7 kB / 0.6618 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.1749, allocations: 111.5 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.035e-05/0.175, allocations: 23.94 kB / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.1751, allocations: 20 kB / 0.6619 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.1753, allocations: 79.7 kB / 0.662 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.1755, allocations: 123.4 kB / 0.6621 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.1758, allocations: 283.2 kB / 0.6624 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1758, allocations: 0 / 0.6624 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1758, allocations: 0 / 0.6624 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1758, allocations: 0 / 0.6624 GB, free: 10.68 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.001248/0.1771, allocations: 0.7115 MB / 0.6631 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1771, allocations: 8.031 kB / 0.6631 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.514e-05/0.1772, allocations: 42.73 kB / 0.6631 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.195e-05/0.1773, allocations: 32.78 kB / 0.6631 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.1776, allocations: 263.8 kB / 0.6634 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.1777, allocations: 20.06 kB / 0.6634 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.023e-05/0.1778, allocations: 19.98 kB / 0.6634 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.1781, allocations: 141.5 kB / 0.6636 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1781, allocations: 8 kB / 0.6636 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.1781, allocations: 4 kB / 0.6636 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1782, allocations: 3.938 kB / 0.6636 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.1783, allocations: 51.97 kB / 0.6636 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.1787, allocations: 305.4 kB / 0.6639 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.1791, allocations: 134.6 kB / 0.6641 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.1792, allocations: 60.83 kB / 0.6641 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.1793, allocations: 4 kB / 0.6641 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005126/0.1798, allocations: 223.5 kB / 0.6643 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.1798, allocations: 0 / 0.6643 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006077/0.1804, allocations: 267.8 kB / 0.6646 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.1805, allocations: 59.39 kB / 0.6646 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.1808, allocations: 290.9 kB / 0.6649 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/0.1808, allocations: 41.7 kB / 0.665 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.1809, allocations: 89.12 kB / 0.665 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.896e-05/0.181, allocations: 51.61 kB / 0.6651 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.1812, allocations: 109.8 kB / 0.6652 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1814, allocations: 322.8 kB / 0.6655 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.1816, allocations: 96.17 kB / 0.6656 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.1819, allocations: 142.3 kB / 0.6657 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.1822, allocations: 239.1 kB / 0.666 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.1822, allocations: 4 kB / 0.666 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007343/0.183, allocations: 415.4 kB / 0.6664 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.821e-05/0.1831, allocations: 79.38 kB / 0.6664 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1831, allocations: 0 / 0.6664 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1831, allocations: 4 kB / 0.6664 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.1833, allocations: 19.98 kB / 0.6665 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.1833, allocations: 11.92 kB / 0.6665 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.1838, allocations: 55.91 kB / 0.6665 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/0.1839, allocations: 56.05 kB / 0.6666 GB, free: 6.035 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.0001978/0.1841, allocations: 167.9 kB / 0.6667 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.1842, allocations: 31.75 kB / 0.6668 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.83e-05/0.1843, allocations: 34.25 kB / 0.6668 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.1843, allocations: 3.984 kB / 0.6668 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.1843, allocations: 4 kB / 0.6668 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.1843, allocations: 7.922 kB / 0.6668 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009368/0.1852, allocations: 0.5568 MB / 0.6674 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1852, allocations: 0 / 0.6674 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.1853, allocations: 11.94 kB / 0.6674 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1853, allocations: 3.984 kB / 0.6674 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.1853, allocations: 7.984 kB / 0.6674 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1853, allocations: 4 kB / 0.6674 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1854, allocations: 0 / 0.6674 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.1858, allocations: 329.1 kB / 0.6677 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.186, allocations: 156.9 kB / 0.6679 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/0.1861, allocations: 11.98 kB / 0.6679 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.1863, allocations: 12 kB / 0.6679 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.1864, allocations: 19.97 kB / 0.6679 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.1864, allocations: 27.98 kB / 0.6679 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002269/0.1867, allocations: 209.9 kB / 0.6681 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1867, allocations: 0 / 0.6681 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003207/0.187, allocations: 48 kB / 0.6682 GB, free: 4.309 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.000894/0.1879, allocations: 0.8719 MB / 0.669 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006166/0.1885, allocations: 342.6 kB / 0.6693 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1885, allocations: 0 / 0.6693 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.1887, allocations: 76.27 kB / 0.6694 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.1891, allocations: 34.73 kB / 0.6695 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.1923, allocations: 2.394 MB / 0.6718 GB, free: 432 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.1928, allocations: 0.7461 MB / 0.6725 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.1929, allocations: 37.42 kB / 0.6726 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.1931, allocations: 51.41 kB / 0.6726 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of SimCode: time 3.707e-06/0.1931, allocations: 0 / 0.6726 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.2209, allocations: 5.257 MB / 0.6777 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.421, allocations: 18.31 kB / 0.6778 GB, free: 10.43 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)