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.004861/0.004861, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001153/0.001153, allocations: 193.8 kB / 16.68 MB, free: 5.93 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8174/0.8174, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 62.42 kB / 0.5851 GB, free: 22.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1801, allocations: 80.91 MB / 0.6641 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002914/0.1831, allocations: 1.492 MB / 0.6656 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1841, allocations: 429.2 kB / 0.666 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.1842, allocations: 0 / 0.666 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.1844, allocations: 3.938 kB / 0.666 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.1846, allocations: 24.23 kB / 0.666 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008283/0.1854, allocations: 246.6 kB / 0.6662 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.1858, allocations: 311.5 kB / 0.6665 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.1859, allocations: 12 kB / 0.6666 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.1862, allocations: 191.7 kB / 0.6667 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.1865, allocations: 112.1 kB / 0.6668 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.442e-05/0.1866, allocations: 19.98 kB / 0.6669 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.244e-05/0.1866, allocations: 20 kB / 0.6669 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1867, allocations: 71.73 kB / 0.6669 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.1869, allocations: 123.3 kB / 0.6671 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.1872, allocations: 282.6 kB / 0.6673 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1872, allocations: 0 / 0.6673 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1872, allocations: 4 kB / 0.6673 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.1872, allocations: 0 / 0.6673 GB, free: 3.039 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.001262/0.1885, allocations: 0.6963 MB / 0.668 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1886, allocations: 9.109 kB / 0.668 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.1886, allocations: 34.75 kB / 0.6681 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.336e-05/0.1887, allocations: 36.64 kB / 0.6681 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.1891, allocations: 259.6 kB / 0.6683 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.1891, allocations: 20.11 kB / 0.6684 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.1892, allocations: 20 kB / 0.6684 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.1895, allocations: 149.5 kB / 0.6685 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1895, allocations: 0 / 0.6685 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.1895, allocations: 0 / 0.6685 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.1895, allocations: 3.984 kB / 0.6685 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.1897, allocations: 51.34 kB / 0.6686 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.19, allocations: 309.3 kB / 0.6689 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.1903, allocations: 146.7 kB / 0.669 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.1904, allocations: 52.84 kB / 0.6691 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.1905, allocations: 7.984 kB / 0.6691 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003928/0.1909, allocations: 215.5 kB / 0.6693 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.1909, allocations: 3.938 kB / 0.6693 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005635/0.1914, allocations: 270.9 kB / 0.6695 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.1915, allocations: 59.34 kB / 0.6696 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.1918, allocations: 287 kB / 0.6699 GB, free: 228 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.1918, allocations: 41.69 kB / 0.6699 GB, free: 180 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.1919, allocations: 101 kB / 0.67 GB, free: 76 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.656e-05/0.192, allocations: 39.55 kB / 0.67 GB, free: 36 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.1921, allocations: 109.8 kB / 0.6701 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1923, allocations: 322.8 kB / 0.6705 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.1925, allocations: 92.19 kB / 0.6705 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.1927, allocations: 144.6 kB / 0.6707 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.193, allocations: 247.3 kB / 0.6709 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1931, allocations: 4 kB / 0.6709 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000665/0.1937, allocations: 410 kB / 0.6713 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.296e-05/0.1938, allocations: 75.39 kB / 0.6714 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1938, allocations: 3.938 kB / 0.6714 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.1939, allocations: 4 kB / 0.6714 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.194, allocations: 23.97 kB / 0.6714 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.194, allocations: 7.938 kB / 0.6714 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004757/0.1945, allocations: 63.98 kB / 0.6715 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.114e-05/0.1946, allocations: 55.97 kB / 0.6715 GB, free: 14.4 MB / 0.5137 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.0001767/0.1948, allocations: 164 kB / 0.6717 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.1949, allocations: 31.56 kB / 0.6717 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.029e-05/0.1949, allocations: 30.25 kB / 0.6718 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1949, allocations: 11.88 kB / 0.6718 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1949, allocations: 4 kB / 0.6718 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.195, allocations: 0 / 0.6718 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008461/0.1958, allocations: 0.5546 MB / 0.6723 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1958, allocations: 0 / 0.6723 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.133e-05/0.1959, allocations: 19.92 kB / 0.6723 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1959, allocations: 0 / 0.6723 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.1959, allocations: 11.98 kB / 0.6723 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1959, allocations: 0 / 0.6723 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1959, allocations: 0 / 0.6723 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.1964, allocations: 334.9 kB / 0.6727 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.1966, allocations: 156.7 kB / 0.6728 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.1966, allocations: 8 kB / 0.6728 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.1968, allocations: 11.98 kB / 0.6728 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.1969, allocations: 15.98 kB / 0.6728 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.197, allocations: 27.98 kB / 0.6729 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001935/0.1972, allocations: 209.9 kB / 0.6731 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1972, allocations: 0 / 0.6731 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003167/0.1975, allocations: 55.98 kB / 0.6731 GB, free: 12.68 MB / 0.5137 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.0006903/0.1982, allocations: 0.8679 MB / 0.674 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005144/0.1987, allocations: 348.5 kB / 0.6743 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1987, allocations: 4.375 kB / 0.6743 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.1989, allocations: 75.91 kB / 0.6744 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.1992, allocations: 20.88 kB / 0.6744 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.2021, allocations: 2.388 MB / 0.6767 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.2025, allocations: 0.7446 MB / 0.6775 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.2026, allocations: 37.42 kB / 0.6775 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.2027, allocations: 47.36 kB / 0.6775 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.2027, allocations: 0 / 0.6775 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.2271, allocations: 5.38 MB / 0.6828 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/8.354, allocations: 7.031 kB / 0.6828 GB, free: 2.668 MB / 0.5137 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)