Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",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.001142/0.001142, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001145/0.001145, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.1 MB / 425.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.62 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1675, allocations: 80.93 MB / 0.5838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003349/0.1709, allocations: 1.528 MB / 0.5853 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.172, allocations: 435.4 kB / 0.5857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.1721, allocations: 0 / 0.5857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.1722, allocations: 7.922 kB / 0.5857 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.1723, allocations: 20.23 kB / 0.5857 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.1729, allocations: 230.6 kB / 0.586 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.1732, allocations: 287.9 kB / 0.5862 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.1733, allocations: 7.984 kB / 0.5862 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.1736, allocations: 206.4 kB / 0.5864 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.1738, allocations: 123.6 kB / 0.5866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.587e-05/0.1739, allocations: 8 kB / 0.5866 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.741e-05/0.1739, allocations: 19.94 kB / 0.5866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1741, allocations: 71.78 kB / 0.5867 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.1742, allocations: 123.3 kB / 0.5868 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.1745, allocations: 283.3 kB / 0.587 GB, free: 1.574 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1745, allocations: 4 kB / 0.587 GB, free: 1.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1746, allocations: 0 / 0.587 GB, free: 1.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1746, allocations: 0 / 0.587 GB, free: 1.57 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.00125/0.1758, allocations: 0.6997 MB / 0.5877 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.1759, allocations: 12.03 kB / 0.5877 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.781e-05/0.1759, allocations: 38.56 kB / 0.5878 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.345e-05/0.176, allocations: 31.7 kB / 0.5878 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.1764, allocations: 258.2 kB / 0.5881 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.1764, allocations: 19.98 kB / 0.5881 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.1765, allocations: 20 kB / 0.5881 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.1768, allocations: 145.5 kB / 0.5882 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1768, allocations: 4 kB / 0.5882 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.1768, allocations: 4 kB / 0.5882 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1768, allocations: 0 / 0.5882 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.177, allocations: 51.97 kB / 0.5883 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.1774, allocations: 313.4 kB / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.1777, allocations: 126.7 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.1778, allocations: 56.83 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.1778, allocations: 4 kB / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004978/0.1783, allocations: 223.5 kB / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.1783, allocations: 0 / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005793/0.1789, allocations: 268 kB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.179, allocations: 63.41 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.1793, allocations: 302.8 kB / 0.5896 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/0.1793, allocations: 37.7 kB / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.1794, allocations: 89.14 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.471e-05/0.1794, allocations: 43.5 kB / 0.5897 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.1796, allocations: 105.6 kB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1797, allocations: 326.8 kB / 0.5902 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.18, allocations: 92.17 kB / 0.5902 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.1802, allocations: 154.4 kB / 0.5904 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.1806, allocations: 242.8 kB / 0.5906 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1806, allocations: 3.938 kB / 0.5906 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006804/0.1813, allocations: 408.6 kB / 0.591 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.633e-05/0.1813, allocations: 79.38 kB / 0.5911 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1814, allocations: 0 / 0.5911 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1814, allocations: 16.11 kB / 0.5911 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.1816, allocations: 27.86 kB / 0.5911 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.1816, allocations: 7.984 kB / 0.5911 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.1821, allocations: 59.8 kB / 0.5912 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-05/0.1822, allocations: 51.98 kB / 0.5913 GB, free: 12.92 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.0001863/0.1824, allocations: 172 kB / 0.5914 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.1824, allocations: 27.7 kB / 0.5914 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.1825, allocations: 30.19 kB / 0.5915 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1825, allocations: 4 kB / 0.5915 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1825, allocations: 0 / 0.5915 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1825, allocations: 0 / 0.5915 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007755/0.1833, allocations: 0.5644 MB / 0.592 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1833, allocations: 4 kB / 0.592 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/0.1834, allocations: 15.98 kB / 0.592 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1834, allocations: 0 / 0.592 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.1834, allocations: 11.98 kB / 0.5921 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1834, allocations: 3.984 kB / 0.5921 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1835, allocations: 0 / 0.5921 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.1839, allocations: 329 kB / 0.5924 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.1841, allocations: 160.6 kB / 0.5925 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.1842, allocations: 11.98 kB / 0.5925 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.1844, allocations: 11.98 kB / 0.5925 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.1845, allocations: 15.98 kB / 0.5926 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.1845, allocations: 27.98 kB / 0.5926 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001865/0.1847, allocations: 209.9 kB / 0.5928 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1847, allocations: 0 / 0.5928 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003257/0.185, allocations: 48 kB / 0.5928 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.0007395/0.1858, allocations: 0.8691 MB / 0.5937 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000544/0.1863, allocations: 344.1 kB / 0.594 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1864, allocations: 0 / 0.594 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1865, allocations: 79.88 kB / 0.5941 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1869, allocations: 20.88 kB / 0.5941 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.1899, allocations: 2.452 MB / 0.5965 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.1902, allocations: 0.7438 MB / 0.5972 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001505/0.1904, allocations: 41.41 kB / 0.5973 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.1905, allocations: 43.59 kB / 0.5973 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.1906, allocations: 7.938 kB / 0.5973 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.2057, allocations: 5.058 MB / 0.6023 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/0.2059, allocations: 198.1 kB / 0.6024 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.181, allocations: 7.438 kB / 0.6025 GB, free: 1.238 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)