Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_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.006817/0.006817, allocations: 96.16 kB / 15.73 MB, free: 6.043 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.001149/0.001149, allocations: 203.2 kB / 16.68 MB, free: 5.969 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8391/0.8391, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 71.31 kB / 0.5808 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1928, allocations: 80.21 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002855/0.1957, allocations: 1.483 MB / 0.6606 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1967, allocations: 423.2 kB / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.1968, allocations: 0 / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.1969, allocations: 11.86 kB / 0.661 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.1971, allocations: 20.25 kB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007857/0.1979, allocations: 246.6 kB / 0.6613 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.1983, allocations: 315.5 kB / 0.6616 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.1983, allocations: 8 kB / 0.6616 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.1986, allocations: 199.6 kB / 0.6618 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.1989, allocations: 104.1 kB / 0.6619 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.142e-05/0.199, allocations: 16 kB / 0.6619 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.64e-05/0.199, allocations: 20 kB / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1991, allocations: 79.77 kB / 0.662 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.1993, allocations: 123.3 kB / 0.6621 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.1996, allocations: 283.2 kB / 0.6624 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1996, allocations: 0 / 0.6624 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1997, allocations: 4 kB / 0.6624 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.118e-06/0.1997, allocations: 0 / 0.6624 GB, free: 10.75 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.001208/0.2009, allocations: 0.7076 MB / 0.6631 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2009, allocations: 8.031 kB / 0.6631 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.201, allocations: 38.73 kB / 0.6631 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.751e-05/0.2011, allocations: 32.8 kB / 0.6631 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.2014, allocations: 271.7 kB / 0.6634 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.2015, allocations: 12.12 kB / 0.6634 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.2015, allocations: 27.98 kB / 0.6634 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.2018, allocations: 145.5 kB / 0.6636 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2018, allocations: 0 / 0.6636 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.2019, allocations: 0 / 0.6636 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2019, allocations: 4 kB / 0.6636 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.202, allocations: 47.97 kB / 0.6636 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.2024, allocations: 305.4 kB / 0.6639 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.2027, allocations: 130.6 kB / 0.664 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.2028, allocations: 60.83 kB / 0.6641 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.2028, allocations: 0 / 0.6641 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000447/0.2033, allocations: 233.8 kB / 0.6643 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.834e-06/0.2033, allocations: 0 / 0.6643 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005852/0.2039, allocations: 265.3 kB / 0.6646 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.2039, allocations: 63.38 kB / 0.6646 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.2042, allocations: 290.9 kB / 0.6649 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.2043, allocations: 37.7 kB / 0.665 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.2044, allocations: 93.12 kB / 0.665 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.2044, allocations: 51.62 kB / 0.6651 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.2046, allocations: 105.8 kB / 0.6652 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2048, allocations: 322.8 kB / 0.6655 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.205, allocations: 96.11 kB / 0.6656 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.2053, allocations: 146.4 kB / 0.6657 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.2056, allocations: 242.5 kB / 0.666 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2056, allocations: 0 / 0.666 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006597/0.2063, allocations: 423.4 kB / 0.6664 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.704e-05/0.2063, allocations: 75.39 kB / 0.6664 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2064, allocations: 0 / 0.6664 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2064, allocations: 4 kB / 0.6664 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.2065, allocations: 27.91 kB / 0.6665 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2066, allocations: 4 kB / 0.6665 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/0.2071, allocations: 60.09 kB / 0.6665 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/0.2071, allocations: 51.98 kB / 0.6666 GB, free: 6.102 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.0001742/0.2073, allocations: 172.6 kB / 0.6667 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.2074, allocations: 35.73 kB / 0.6668 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.2074, allocations: 22.27 kB / 0.6668 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2074, allocations: 7.984 kB / 0.6668 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2074, allocations: 0 / 0.6668 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2074, allocations: 4 kB / 0.6668 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007744/0.2082, allocations: 0.5624 MB / 0.6674 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.2082, allocations: 4 kB / 0.6674 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/0.2083, allocations: 11.98 kB / 0.6674 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2083, allocations: 0 / 0.6674 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.2083, allocations: 15.98 kB / 0.6674 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2083, allocations: 0 / 0.6674 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2083, allocations: 0 / 0.6674 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.2088, allocations: 329.9 kB / 0.6677 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.209, allocations: 148.9 kB / 0.6678 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.209, allocations: 15.98 kB / 0.6679 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.2092, allocations: 14.61 kB / 0.6679 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.2093, allocations: 19.92 kB / 0.6679 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.2094, allocations: 27.98 kB / 0.6679 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001816/0.2095, allocations: 209.9 kB / 0.6681 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2095, allocations: 0 / 0.6681 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003116/0.2099, allocations: 52 kB / 0.6682 GB, free: 4.375 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.0006918/0.2106, allocations: 0.8657 MB / 0.669 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005388/0.2111, allocations: 338.6 kB / 0.6693 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2111, allocations: 4.375 kB / 0.6693 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.2113, allocations: 86.17 kB / 0.6694 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.2116, allocations: 22.52 kB / 0.6694 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.2145, allocations: 2.398 MB / 0.6718 GB, free: 500 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.2148, allocations: 0.742 MB / 0.6725 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.2149, allocations: 41.41 kB / 0.6726 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.215, allocations: 43.41 kB / 0.6726 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.2151, allocations: 0 / 0.6726 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.2399, allocations: 5.257 MB / 0.6777 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.151, allocations: 17.28 kB / 0.6777 GB, free: 10.51 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)