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.001262/0.001262, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001337/0.001337, allocations: 194.6 kB / 16.14 MB, free: 6.633 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.473/1.473, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9979/0.9979, allocations: 135.1 MB / 425.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001141, allocations: 60.22 kB / 0.5048 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1684, allocations: 80.92 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002637/0.171, allocations: 1.539 MB / 0.5853 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009216/0.172, allocations: 443.4 kB / 0.5857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.172, allocations: 0 / 0.5857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.112e-05/0.1721, allocations: 3.938 kB / 0.5857 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.297e-05/0.1722, allocations: 20.28 kB / 0.5858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.1727, allocations: 219 kB / 0.586 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000281/0.173, allocations: 291.9 kB / 0.5862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.1731, allocations: 8 kB / 0.5862 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.1733, allocations: 214.3 kB / 0.5865 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.1735, allocations: 119.6 kB / 0.5866 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.408e-05/0.1736, allocations: 8 kB / 0.5866 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.099e-05/0.1736, allocations: 8 kB / 0.5866 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1738, allocations: 83.77 kB / 0.5867 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.1739, allocations: 123.3 kB / 0.5868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.1742, allocations: 279.3 kB / 0.587 GB, free: 1.582 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1742, allocations: 0 / 0.587 GB, free: 1.582 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.1742, allocations: 4 kB / 0.587 GB, free: 1.578 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1743, allocations: 4 kB / 0.5871 GB, free: 1.574 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.001131/0.1754, allocations: 0.6939 MB / 0.5877 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1754, allocations: 12.03 kB / 0.5877 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.1755, allocations: 34.55 kB / 0.5878 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.063e-05/0.1756, allocations: 31.72 kB / 0.5878 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.1759, allocations: 266.2 kB / 0.5881 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.1759, allocations: 12 kB / 0.5881 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.176, allocations: 19.98 kB / 0.5881 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.1762, allocations: 153.5 kB / 0.5882 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.1763, allocations: 3.938 kB / 0.5882 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.1763, allocations: 7.984 kB / 0.5882 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.1763, allocations: 0 / 0.5882 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.1764, allocations: 47.97 kB / 0.5883 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.1768, allocations: 309.3 kB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.1771, allocations: 134.7 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.1772, allocations: 56.83 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1772, allocations: 4 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000454/0.1777, allocations: 219.5 kB / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.863e-06/0.1777, allocations: 4 kB / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005579/0.1783, allocations: 267.9 kB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.1783, allocations: 63.3 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.1786, allocations: 290.9 kB / 0.5896 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.1786, allocations: 37.7 kB / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.1787, allocations: 97.12 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.1788, allocations: 43.44 kB / 0.5898 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.1789, allocations: 109.7 kB / 0.5899 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.179, allocations: 322.8 kB / 0.5902 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.1792, allocations: 92.19 kB / 0.5903 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.1795, allocations: 154.3 kB / 0.5904 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.1798, allocations: 235 kB / 0.5906 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1798, allocations: 3.938 kB / 0.5906 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006737/0.1805, allocations: 424.6 kB / 0.591 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.653e-05/0.1806, allocations: 71.39 kB / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1806, allocations: 0 / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1806, allocations: 7.938 kB / 0.5911 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.1808, allocations: 27.97 kB / 0.5911 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1808, allocations: 7.938 kB / 0.5911 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005416/0.1814, allocations: 66.17 kB / 0.5912 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/0.1814, allocations: 47.98 kB / 0.5912 GB, free: 12.94 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.0001773/0.1816, allocations: 172 kB / 0.5914 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.1817, allocations: 23.72 kB / 0.5914 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.028e-05/0.1817, allocations: 34.19 kB / 0.5915 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.1817, allocations: 4 kB / 0.5915 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1818, allocations: 11.94 kB / 0.5915 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1818, allocations: 0 / 0.5915 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007538/0.1825, allocations: 0.5606 MB / 0.592 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1825, allocations: 0 / 0.592 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.1826, allocations: 11.94 kB / 0.592 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1826, allocations: 0 / 0.592 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.1826, allocations: 19.92 kB / 0.5921 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1826, allocations: 0 / 0.5921 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1826, allocations: 7.969 kB / 0.5921 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.1831, allocations: 329 kB / 0.5924 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.1832, allocations: 152.6 kB / 0.5925 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.1833, allocations: 8 kB / 0.5925 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.1835, allocations: 15.98 kB / 0.5926 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.1836, allocations: 11.98 kB / 0.5926 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/0.1836, allocations: 31.97 kB / 0.5926 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001758/0.1838, allocations: 209.9 kB / 0.5928 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1838, allocations: 7.938 kB / 0.5928 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003022/0.1841, allocations: 51.98 kB / 0.5929 GB, free: 11.2 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.0006942/0.1848, allocations: 0.8615 MB / 0.5937 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005247/0.1854, allocations: 348.3 kB / 0.594 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1854, allocations: 0 / 0.594 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.1855, allocations: 75.89 kB / 0.5941 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.1859, allocations: 20.88 kB / 0.5941 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.1887, allocations: 2.459 MB / 0.5965 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1891, allocations: 0.736 MB / 0.5972 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001502/0.1893, allocations: 37.42 kB / 0.5973 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.1894, allocations: 47.42 kB / 0.5973 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1894, allocations: 0 / 0.5973 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.2042, allocations: 5.062 MB / 0.6023 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/0.2044, allocations: 211.3 kB / 0.6025 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.209, allocations: 0 / 0.6025 GB, free: 1.246 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)