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.001669/0.00167, 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.001787/0.001787, allocations: 193.4 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.97/0.97, allocations: 135.1 MB / 425.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001563, allocations: 64.33 kB / 0.5054 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.185, allocations: 80.93 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00308/0.1881, allocations: 1.468 MB / 0.5859 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1892, allocations: 423.1 kB / 0.5863 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.417e-05/0.1893, allocations: 0 / 0.5863 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.1895, allocations: 11.86 kB / 0.5863 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.1896, allocations: 20.23 kB / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008891/0.1905, allocations: 242.6 kB / 0.5866 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004669/0.191, allocations: 315.5 kB / 0.5869 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.1911, allocations: 4 kB / 0.5869 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000323/0.1914, allocations: 191.7 kB / 0.5871 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.1916, allocations: 104 kB / 0.5872 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.302e-05/0.1917, allocations: 20 kB / 0.5872 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.015e-05/0.1918, allocations: 16 kB / 0.5872 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.1919, allocations: 83.77 kB / 0.5873 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.192, allocations: 119.4 kB / 0.5874 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.1924, allocations: 295.3 kB / 0.5877 GB, free: 1.195 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1924, allocations: 0 / 0.5877 GB, free: 1.195 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1924, allocations: 0 / 0.5877 GB, free: 1.195 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.1924, allocations: 0 / 0.5877 GB, free: 1.195 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.001202/0.1936, allocations: 0.696 MB / 0.5883 GB, free: 436 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1937, allocations: 12.02 kB / 0.5884 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.1937, allocations: 38.75 kB / 0.5884 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1938, allocations: 36.66 kB / 0.5884 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.1942, allocations: 259.5 kB / 0.5887 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.1942, allocations: 16.12 kB / 0.5887 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/0.1943, allocations: 19.98 kB / 0.5887 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.1946, allocations: 148.6 kB / 0.5889 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1946, allocations: 4 kB / 0.5889 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.1946, allocations: 0 / 0.5889 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.1947, allocations: 4 kB / 0.5889 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.1948, allocations: 43.97 kB / 0.5889 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.1951, allocations: 317.3 kB / 0.5892 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.1954, allocations: 134.6 kB / 0.5893 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.1956, allocations: 60.84 kB / 0.5894 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.1956, allocations: 3.984 kB / 0.5894 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005006/0.1961, allocations: 215.6 kB / 0.5896 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 3.577e-06/0.1961, allocations: 0 / 0.5896 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006333/0.1968, allocations: 275.5 kB / 0.5899 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.1968, allocations: 59.41 kB / 0.5899 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.1971, allocations: 290.8 kB / 0.5902 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.1972, allocations: 45.69 kB / 0.5902 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/0.1973, allocations: 93.08 kB / 0.5903 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/0.1974, allocations: 43.5 kB / 0.5904 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.1976, allocations: 109.7 kB / 0.5905 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1977, allocations: 318.8 kB / 0.5908 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.198, allocations: 96.17 kB / 0.5909 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.1982, allocations: 155.7 kB / 0.591 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.1986, allocations: 239.1 kB / 0.5912 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1986, allocations: 4 kB / 0.5913 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007118/0.1993, allocations: 422.1 kB / 0.5917 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.308e-05/0.1994, allocations: 75.38 kB / 0.5917 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1994, allocations: 4 kB / 0.5917 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.1995, allocations: 0 / 0.5917 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.1996, allocations: 27.92 kB / 0.5918 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1997, allocations: 4 kB / 0.5918 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/0.2002, allocations: 67.78 kB / 0.5918 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.638e-05/0.2003, allocations: 59.98 kB / 0.5919 GB, free: 12.55 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.0001936/0.2005, allocations: 164 kB / 0.592 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.2005, allocations: 27.66 kB / 0.5921 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.432e-05/0.2006, allocations: 30.25 kB / 0.5921 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2006, allocations: 0 / 0.5921 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2006, allocations: 0 / 0.5921 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2006, allocations: 3.984 kB / 0.5921 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007981/0.2014, allocations: 0.5645 MB / 0.5926 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2014, allocations: 3.938 kB / 0.5927 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/0.2015, allocations: 4 kB / 0.5927 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.2015, allocations: 4 kB / 0.5927 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.2015, allocations: 15.97 kB / 0.5927 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.2015, allocations: 4 kB / 0.5927 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2015, allocations: 4 kB / 0.5927 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.202, allocations: 320.9 kB / 0.593 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.2022, allocations: 156.6 kB / 0.5931 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.236e-05/0.2022, allocations: 8 kB / 0.5931 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.2024, allocations: 11.98 kB / 0.5932 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.2025, allocations: 19.97 kB / 0.5932 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/0.2026, allocations: 27.98 kB / 0.5932 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002084/0.2028, allocations: 213.9 kB / 0.5934 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2028, allocations: 3.938 kB / 0.5934 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003397/0.2031, allocations: 48 kB / 0.5935 GB, free: 10.84 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.0007284/0.2039, allocations: 0.8696 MB / 0.5943 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005657/0.2045, allocations: 358.7 kB / 0.5946 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2045, allocations: 384 / 0.5946 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.2046, allocations: 82.3 kB / 0.5947 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.205, allocations: 28.84 kB / 0.5948 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.2079, allocations: 2.384 MB / 0.5971 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.2082, allocations: 0.7357 MB / 0.5978 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001428/0.2084, allocations: 37.42 kB / 0.5978 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.2085, allocations: 51.41 kB / 0.5979 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.2086, allocations: 0 / 0.5979 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.2315, allocations: 5.258 MB / 0.603 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.205, allocations: 12.73 kB / 0.603 GB, free: 0.9531 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)