Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_dev_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.001317/0.001317, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 198 kB / 16.54 MB, free: 6.672 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9658/0.9658, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.19 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1692, allocations: 80.93 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002795/0.172, allocations: 1.463 MB / 0.5859 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009479/0.173, allocations: 421 kB / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.1731, allocations: 4 kB / 0.5863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.1732, allocations: 7.875 kB / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.1734, allocations: 28.16 kB / 0.5863 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007729/0.1741, allocations: 245.3 kB / 0.5866 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003982/0.1746, allocations: 311.5 kB / 0.5869 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.1746, allocations: 11.92 kB / 0.5869 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.1749, allocations: 183.8 kB / 0.5871 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.1752, allocations: 108 kB / 0.5872 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.186e-05/0.1753, allocations: 16 kB / 0.5872 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.944e-05/0.1753, allocations: 20 kB / 0.5872 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.1755, allocations: 75.78 kB / 0.5873 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.1756, allocations: 131.4 kB / 0.5874 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.176, allocations: 287.3 kB / 0.5877 GB, free: 1.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.176, allocations: 0 / 0.5877 GB, free: 1.152 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.176, allocations: 0 / 0.5877 GB, free: 1.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.176, allocations: 0 / 0.5877 GB, free: 1.152 MB / 494.1 MB 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.001268/0.1773, allocations: 0.696 MB / 0.5883 GB, free: 392 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1773, allocations: 12.03 kB / 0.5884 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.24e-05/0.1774, allocations: 38.73 kB / 0.5884 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.378e-05/0.1775, allocations: 40.59 kB / 0.5884 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.1778, allocations: 259.7 kB / 0.5887 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.1778, allocations: 16.06 kB / 0.5887 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.1779, allocations: 15.98 kB / 0.5887 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.1782, allocations: 149.5 kB / 0.5889 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1782, allocations: 0 / 0.5889 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.1782, allocations: 4 kB / 0.5889 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1782, allocations: 0 / 0.5889 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.1784, allocations: 47.91 kB / 0.5889 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.1787, allocations: 317.3 kB / 0.5892 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.179, allocations: 130.7 kB / 0.5893 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.1791, allocations: 56.83 kB / 0.5894 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.1792, allocations: 4 kB / 0.5894 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004681/0.1796, allocations: 215.6 kB / 0.5896 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 3.246e-06/0.1797, allocations: 0 / 0.5896 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006041/0.1803, allocations: 277.1 kB / 0.5899 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.1803, allocations: 67.3 kB / 0.5899 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.1806, allocations: 290.9 kB / 0.5902 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.1807, allocations: 37.7 kB / 0.5902 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.1808, allocations: 97.12 kB / 0.5903 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.1808, allocations: 39.5 kB / 0.5904 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.181, allocations: 105.7 kB / 0.5905 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.1811, allocations: 322.8 kB / 0.5908 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.1814, allocations: 92.19 kB / 0.5909 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.1816, allocations: 159.7 kB / 0.591 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.1819, allocations: 247.1 kB / 0.5912 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.182, allocations: 0 / 0.5912 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006835/0.1826, allocations: 418.1 kB / 0.5916 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.861e-05/0.1827, allocations: 73.11 kB / 0.5917 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1827, allocations: 0 / 0.5917 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1828, allocations: 4 kB / 0.5917 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.1829, allocations: 31.91 kB / 0.5917 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1829, allocations: 8.188 kB / 0.5918 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005065/0.1835, allocations: 63.73 kB / 0.5918 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.995e-05/0.1835, allocations: 47.98 kB / 0.5919 GB, free: 12.52 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.0001766/0.1837, allocations: 176 kB / 0.592 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.1838, allocations: 31.64 kB / 0.5921 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.229e-05/0.1838, allocations: 30.25 kB / 0.5921 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1838, allocations: 4 kB / 0.5921 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1838, allocations: 0 / 0.5921 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1839, allocations: 0 / 0.5921 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007508/0.1846, allocations: 0.5605 MB / 0.5926 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1846, allocations: 3.984 kB / 0.5926 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.464e-05/0.1847, allocations: 8 kB / 0.5927 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1847, allocations: 0 / 0.5927 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.1847, allocations: 19.98 kB / 0.5927 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1847, allocations: 0 / 0.5927 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1847, allocations: 3.984 kB / 0.5927 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.1851, allocations: 324.8 kB / 0.593 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.1853, allocations: 152.6 kB / 0.5931 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.1854, allocations: 12 kB / 0.5931 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.1856, allocations: 15.98 kB / 0.5932 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.1856, allocations: 11.98 kB / 0.5932 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.1857, allocations: 39.97 kB / 0.5932 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001727/0.1859, allocations: 205.9 kB / 0.5934 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1859, allocations: 3.938 kB / 0.5934 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000322/0.1862, allocations: 51.98 kB / 0.5935 GB, free: 10.79 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.0006862/0.1869, allocations: 0.8697 MB / 0.5943 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005519/0.1875, allocations: 350.8 kB / 0.5946 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1875, allocations: 0 / 0.5946 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.1876, allocations: 71.91 kB / 0.5947 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.188, allocations: 30.83 kB / 0.5947 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.1908, allocations: 2.388 MB / 0.5971 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.1911, allocations: 0.7434 MB / 0.5978 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.1912, allocations: 37.42 kB / 0.5978 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.1914, allocations: 51.41 kB / 0.5979 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1914, allocations: 0 / 0.5979 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.214, allocations: 5.251 MB / 0.603 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/8.372, allocations: 12.27 kB / 0.603 GB, free: 0.9219 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)