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.001985/0.001985, 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.001895/0.001896, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9563/0.9563, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 65.78 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1642, allocations: 80.92 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002749/0.167, allocations: 1.476 MB / 0.5859 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000895/0.1679, allocations: 419 kB / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.683e-05/0.168, allocations: 4 kB / 0.5863 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.141e-05/0.1681, allocations: 7.922 kB / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.343e-05/0.1682, allocations: 24.23 kB / 0.5863 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006812/0.1689, allocations: 242.6 kB / 0.5866 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003634/0.1692, allocations: 311.5 kB / 0.5869 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.1693, allocations: 8 kB / 0.5869 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.1696, allocations: 187.8 kB / 0.5871 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.1698, allocations: 104 kB / 0.5872 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.158e-05/0.1699, allocations: 16 kB / 0.5872 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.096e-05/0.17, allocations: 20 kB / 0.5872 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.665e-05/0.1701, allocations: 79.77 kB / 0.5873 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.1702, allocations: 123.4 kB / 0.5874 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.1705, allocations: 291.3 kB / 0.5877 GB, free: 1.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1706, allocations: 4 kB / 0.5877 GB, free: 1.176 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1706, allocations: 0 / 0.5877 GB, free: 1.176 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.1706, allocations: 4 kB / 0.5877 GB, free: 1.172 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.1718, allocations: 0.696 MB / 0.5883 GB, free: 412 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1719, allocations: 8.031 kB / 0.5884 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.534e-05/0.172, allocations: 42.73 kB / 0.5884 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.955e-05/0.1721, allocations: 28.66 kB / 0.5884 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1724, allocations: 259.6 kB / 0.5887 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.1724, allocations: 20.12 kB / 0.5887 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.1725, allocations: 20.03 kB / 0.5887 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.1728, allocations: 148.5 kB / 0.5889 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1728, allocations: 3.984 kB / 0.5889 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.1729, allocations: 4 kB / 0.5889 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1729, allocations: 0 / 0.5889 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.173, allocations: 47.97 kB / 0.5889 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.1734, allocations: 309.3 kB / 0.5892 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.1737, allocations: 138.6 kB / 0.5893 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.1738, allocations: 52.84 kB / 0.5894 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.1739, allocations: 7.984 kB / 0.5894 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004544/0.1743, allocations: 215.6 kB / 0.5896 GB, free: 15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.452e-06/0.1743, allocations: 3.938 kB / 0.5896 GB, free: 15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005541/0.1749, allocations: 275.3 kB / 0.5899 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.1749, allocations: 67.25 kB / 0.5899 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.1752, allocations: 286.9 kB / 0.5902 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.1753, allocations: 45.69 kB / 0.5902 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.1753, allocations: 93.14 kB / 0.5903 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.1754, allocations: 35.52 kB / 0.5904 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.1755, allocations: 105.7 kB / 0.5905 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.14e-05/0.1756, allocations: 322.8 kB / 0.5908 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.1759, allocations: 96.17 kB / 0.5909 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.1761, allocations: 159.7 kB / 0.591 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.1764, allocations: 239.1 kB / 0.5912 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1765, allocations: 4 kB / 0.5913 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007005/0.1772, allocations: 418.1 kB / 0.5917 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.912e-05/0.1772, allocations: 75.38 kB / 0.5917 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.1772, allocations: 3.984 kB / 0.5917 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1773, allocations: 4 kB / 0.5917 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.1774, allocations: 31.92 kB / 0.5918 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.1774, allocations: 4 kB / 0.5918 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/0.178, allocations: 74.86 kB / 0.5918 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/0.1781, allocations: 47.98 kB / 0.5919 GB, free: 12.53 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.0001788/0.1782, allocations: 172 kB / 0.592 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.539e-05/0.1783, allocations: 27.66 kB / 0.5921 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.1784, allocations: 26.25 kB / 0.5921 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1784, allocations: 8 kB / 0.5921 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1784, allocations: 0 / 0.5921 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1784, allocations: 3.984 kB / 0.5921 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007675/0.1792, allocations: 0.5605 MB / 0.5927 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1792, allocations: 0 / 0.5927 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.68e-05/0.1792, allocations: 8 kB / 0.5927 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1792, allocations: 3.984 kB / 0.5927 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.1793, allocations: 19.97 kB / 0.5927 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1793, allocations: 0 / 0.5927 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1793, allocations: 7.938 kB / 0.5927 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.1797, allocations: 320.7 kB / 0.593 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.1799, allocations: 152.6 kB / 0.5931 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.805e-05/0.1799, allocations: 8 kB / 0.5932 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.1802, allocations: 15.98 kB / 0.5932 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.1802, allocations: 15.97 kB / 0.5932 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.1803, allocations: 31.98 kB / 0.5932 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001822/0.1805, allocations: 217.9 kB / 0.5934 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1805, allocations: 0 / 0.5934 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003211/0.1808, allocations: 48 kB / 0.5935 GB, free: 10.81 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.0006917/0.1815, allocations: 0.8699 MB / 0.5943 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005448/0.1821, allocations: 354.8 kB / 0.5947 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1821, allocations: 0 / 0.5947 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.1822, allocations: 75.89 kB / 0.5947 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.1826, allocations: 23.06 kB / 0.5947 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.1853, allocations: 2.384 MB / 0.5971 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1856, allocations: 0.7395 MB / 0.5978 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001377/0.1858, allocations: 41.42 kB / 0.5978 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.1859, allocations: 51.41 kB / 0.5979 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.1859, allocations: 0 / 0.5979 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.2167, allocations: 5.256 MB / 0.603 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.144, allocations: 9.531 kB / 0.603 GB, free: 0.9375 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)