Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.001446/0.001445, 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.001663/0.001663, allocations: 198.5 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.53/1.53, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9828/0.9828, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 60.2 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1679, allocations: 80.92 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002783/0.1707, allocations: 1.479 MB / 0.5859 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009933/0.1718, allocations: 417 kB / 0.5863 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.815e-05/0.1719, allocations: 0 / 0.5863 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.172, allocations: 11.86 kB / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.1721, allocations: 20.25 kB / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007365/0.1729, allocations: 246.4 kB / 0.5866 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.1733, allocations: 307.5 kB / 0.5869 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/0.1733, allocations: 11.98 kB / 0.5869 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003187/0.1737, allocations: 183.7 kB / 0.5871 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.1739, allocations: 108 kB / 0.5872 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-05/0.174, allocations: 20 kB / 0.5872 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.468e-05/0.1741, allocations: 20 kB / 0.5872 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1742, allocations: 79.77 kB / 0.5873 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.1743, allocations: 119.4 kB / 0.5874 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.1747, allocations: 287.3 kB / 0.5877 GB, free: 1.195 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1747, allocations: 7.984 kB / 0.5877 GB, free: 1.188 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1747, allocations: 0 / 0.5877 GB, free: 1.188 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1747, allocations: 0 / 0.5877 GB, free: 1.188 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.001165/0.1759, allocations: 0.6921 MB / 0.5883 GB, free: 432 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1759, allocations: 12.03 kB / 0.5884 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.724e-05/0.176, allocations: 38.73 kB / 0.5884 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.324e-05/0.1761, allocations: 32.66 kB / 0.5884 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.1764, allocations: 271.5 kB / 0.5887 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.1764, allocations: 12.12 kB / 0.5887 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.877e-05/0.1765, allocations: 20.03 kB / 0.5887 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.1768, allocations: 145.5 kB / 0.5888 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1768, allocations: 4 kB / 0.5889 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.1768, allocations: 0 / 0.5889 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1768, allocations: 4 kB / 0.5889 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.1769, allocations: 43.97 kB / 0.5889 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.1773, allocations: 309.3 kB / 0.5892 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.1776, allocations: 138.6 kB / 0.5893 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.1777, allocations: 56.84 kB / 0.5894 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1778, allocations: 7.984 kB / 0.5894 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004209/0.1782, allocations: 218.1 kB / 0.5896 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.955e-06/0.1782, allocations: 0 / 0.5896 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005494/0.1788, allocations: 273.1 kB / 0.5899 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.1788, allocations: 67.25 kB / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.1791, allocations: 290.9 kB / 0.5902 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.1791, allocations: 41.62 kB / 0.5902 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.1792, allocations: 93.12 kB / 0.5903 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.1793, allocations: 39.52 kB / 0.5904 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.1794, allocations: 109.7 kB / 0.5905 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1795, allocations: 326.8 kB / 0.5908 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.1798, allocations: 92.17 kB / 0.5909 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.18, allocations: 151.7 kB / 0.591 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.1803, allocations: 243.1 kB / 0.5912 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1803, allocations: 0 / 0.5912 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006678/0.181, allocations: 426.2 kB / 0.5917 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.173e-05/0.1811, allocations: 77.25 kB / 0.5917 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1811, allocations: 4 kB / 0.5917 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1811, allocations: 0 / 0.5917 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1813, allocations: 27.92 kB / 0.5918 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1813, allocations: 0 / 0.5918 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.1818, allocations: 63.73 kB / 0.5918 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.65e-05/0.1819, allocations: 67.98 kB / 0.5919 GB, free: 12.54 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.0001695/0.1821, allocations: 164 kB / 0.592 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.1821, allocations: 27.66 kB / 0.5921 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/0.1822, allocations: 34.25 kB / 0.5921 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1822, allocations: 0 / 0.5921 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1822, allocations: 0 / 0.5921 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1822, allocations: 7.984 kB / 0.5921 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007693/0.183, allocations: 0.5645 MB / 0.5927 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.183, allocations: 0 / 0.5927 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.183, allocations: 8 kB / 0.5927 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.183, allocations: 0 / 0.5927 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.1831, allocations: 11.97 kB / 0.5927 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1831, allocations: 4 kB / 0.5927 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1831, allocations: 0 / 0.5927 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.1835, allocations: 324.8 kB / 0.593 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.1837, allocations: 160.6 kB / 0.5931 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/0.1837, allocations: 8 kB / 0.5931 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.184, allocations: 11.98 kB / 0.5932 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.184, allocations: 19.97 kB / 0.5932 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/0.1841, allocations: 27.98 kB / 0.5932 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001936/0.1843, allocations: 209.9 kB / 0.5934 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1843, allocations: 3.938 kB / 0.5934 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003143/0.1846, allocations: 48 kB / 0.5935 GB, free: 10.83 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.00076/0.1854, allocations: 0.872 MB / 0.5943 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005993/0.186, allocations: 360.4 kB / 0.5947 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.186, allocations: 0 / 0.5947 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.1861, allocations: 76.27 kB / 0.5947 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1865, allocations: 27.22 kB / 0.5947 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.1897, allocations: 2.376 MB / 0.5971 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.1901, allocations: 0.7434 MB / 0.5978 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001448/0.1902, allocations: 41.42 kB / 0.5978 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.1904, allocations: 43.41 kB / 0.5979 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1904, allocations: 3.938 kB / 0.5979 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.2179, allocations: 5.269 MB / 0.603 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/8.425, allocations: 4.266 kB / 0.603 GB, free: 0.9453 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)