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.005699/0.005699, allocations: 102 kB / 15.73 MB, free: 6.039 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.001194/0.001195, allocations: 194.5 kB / 16.67 MB, free: 5.961 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7977/0.7977, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002582/0.002582, allocations: 65.73 kB / 0.5808 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1676, allocations: 80.23 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002744/0.1704, allocations: 1.469 MB / 0.6606 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000906/0.1713, allocations: 421 kB / 0.661 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.103e-05/0.1714, allocations: 0 / 0.661 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.1715, allocations: 11.86 kB / 0.661 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.1717, allocations: 32.22 kB / 0.6611 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007169/0.1724, allocations: 237.8 kB / 0.6613 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003699/0.1728, allocations: 323.5 kB / 0.6616 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.1728, allocations: 4 kB / 0.6616 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.1731, allocations: 195.6 kB / 0.6618 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.1733, allocations: 108.1 kB / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.681e-05/0.1734, allocations: 16 kB / 0.6619 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.258e-05/0.1734, allocations: 24 kB / 0.6619 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.834e-05/0.1736, allocations: 79.72 kB / 0.662 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.1737, allocations: 119.4 kB / 0.6621 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.174, allocations: 278.6 kB / 0.6624 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.174, allocations: 3.938 kB / 0.6624 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.174, allocations: 0 / 0.6624 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.174, allocations: 0 / 0.6624 GB, free: 7.484 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.001217/0.1753, allocations: 0.7002 MB / 0.6631 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1753, allocations: 12.03 kB / 0.6631 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.1754, allocations: 38.75 kB / 0.6631 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.238e-05/0.1755, allocations: 32.66 kB / 0.6631 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.1758, allocations: 267.4 kB / 0.6634 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.1759, allocations: 12.12 kB / 0.6634 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/0.1759, allocations: 23.98 kB / 0.6634 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.1762, allocations: 145.5 kB / 0.6636 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1763, allocations: 0 / 0.6636 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.1763, allocations: 4 kB / 0.6636 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1763, allocations: 4 kB / 0.6636 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.1764, allocations: 47.97 kB / 0.6636 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.1768, allocations: 313.4 kB / 0.6639 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.1771, allocations: 134.7 kB / 0.6641 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.1772, allocations: 56.84 kB / 0.6641 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1772, allocations: 0 / 0.6641 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004519/0.1777, allocations: 227.5 kB / 0.6643 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.763e-06/0.1777, allocations: 0 / 0.6643 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005742/0.1783, allocations: 270.8 kB / 0.6646 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.1783, allocations: 63.41 kB / 0.6646 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.1786, allocations: 290.9 kB / 0.6649 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.1787, allocations: 41.69 kB / 0.665 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.1787, allocations: 89.14 kB / 0.665 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.471e-05/0.1788, allocations: 43.5 kB / 0.6651 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.1789, allocations: 97.72 kB / 0.6652 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1791, allocations: 326.8 kB / 0.6655 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.1793, allocations: 96.11 kB / 0.6656 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.1795, allocations: 150.3 kB / 0.6657 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.1798, allocations: 248.1 kB / 0.666 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1798, allocations: 0 / 0.666 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006623/0.1805, allocations: 412.5 kB / 0.6664 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-05/0.1806, allocations: 71.39 kB / 0.6664 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1806, allocations: 0 / 0.6664 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1806, allocations: 4.188 kB / 0.6664 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.1808, allocations: 35.91 kB / 0.6665 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1808, allocations: 4 kB / 0.6665 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/0.1813, allocations: 59.8 kB / 0.6665 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.619e-05/0.1814, allocations: 47.98 kB / 0.6666 GB, free: 2.848 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.0001775/0.1816, allocations: 183.9 kB / 0.6667 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.1817, allocations: 27.66 kB / 0.6668 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.1817, allocations: 26.25 kB / 0.6668 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1817, allocations: 4 kB / 0.6668 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1818, allocations: 0 / 0.6668 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1818, allocations: 0 / 0.6668 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008237/0.1826, allocations: 0.5665 MB / 0.6674 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1826, allocations: 0 / 0.6674 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.1827, allocations: 11.98 kB / 0.6674 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.1827, allocations: 4 kB / 0.6674 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.1827, allocations: 15.98 kB / 0.6674 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1827, allocations: 0 / 0.6674 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1827, allocations: 0 / 0.6674 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000442/0.1832, allocations: 323 kB / 0.6677 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.1833, allocations: 144.8 kB / 0.6678 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.1834, allocations: 11.98 kB / 0.6678 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.1836, allocations: 19.98 kB / 0.6679 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.1837, allocations: 15.98 kB / 0.6679 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.1838, allocations: 35.92 kB / 0.6679 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001841/0.1839, allocations: 209.9 kB / 0.6681 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.3e-07/0.184, allocations: 0 / 0.6681 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003669/0.1843, allocations: 48 kB / 0.6682 GB, free: 1.121 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.0007808/0.1851, allocations: 0.8713 MB / 0.669 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000597/0.1857, allocations: 342.5 kB / 0.6693 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.1857, allocations: 4 kB / 0.6693 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.1859, allocations: 77.61 kB / 0.6694 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.1863, allocations: 20.88 kB / 0.6694 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.1892, allocations: 2.385 MB / 0.6718 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.1896, allocations: 0.7435 MB / 0.6725 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001217/0.1897, allocations: 37.42 kB / 0.6725 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.1898, allocations: 51.41 kB / 0.6726 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of SimCode: time 1.172e-06/0.1898, allocations: 192 / 0.6726 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.2142, allocations: 5.383 MB / 0.6778 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/7.963, allocations: 6.094 kB / 0.6778 GB, free: 7.145 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)