Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_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.00165/0.00165, allocations: 108 kB / 15.61 MB, free: 152 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.001868/0.001868, allocations: 197 kB / 16.53 MB, free: 6.664 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.758/0.758, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 63.5 kB / 0.5019 GB, free: 8.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1944, allocations: 80.19 MB / 0.5802 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002682/0.1971, allocations: 1.478 MB / 0.5816 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009247/0.1981, allocations: 423.5 kB / 0.582 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.417e-05/0.1981, allocations: 0 / 0.582 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.548e-05/0.1982, allocations: 15.88 kB / 0.582 GB, free: 6.777 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.859e-05/0.1984, allocations: 20.22 kB / 0.5821 GB, free: 6.758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006535/0.199, allocations: 242.4 kB / 0.5823 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.1994, allocations: 319.5 kB / 0.5826 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.1994, allocations: 7.984 kB / 0.5826 GB, free: 6.203 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.1997, allocations: 187.7 kB / 0.5828 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.1999, allocations: 108 kB / 0.5829 GB, free: 5.914 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.546e-05/0.2, allocations: 16 kB / 0.5829 GB, free: 5.898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.332e-05/0.2001, allocations: 20 kB / 0.5829 GB, free: 5.879 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.2002, allocations: 75.78 kB / 0.583 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.2004, allocations: 123.4 kB / 0.5831 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.2007, allocations: 291.3 kB / 0.5834 GB, free: 5.398 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2007, allocations: 0 / 0.5834 GB, free: 5.398 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2007, allocations: 0 / 0.5834 GB, free: 5.398 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.2007, allocations: 0 / 0.5834 GB, free: 5.398 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.001225/0.2019, allocations: 0.6921 MB / 0.5841 GB, free: 4.633 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.202, allocations: 12.03 kB / 0.5841 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.085e-05/0.2021, allocations: 38.73 kB / 0.5841 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.2022, allocations: 32.66 kB / 0.5841 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.2025, allocations: 271.5 kB / 0.5844 GB, free: 4.238 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.2025, allocations: 12.12 kB / 0.5844 GB, free: 4.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/0.2026, allocations: 23.97 kB / 0.5844 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.2029, allocations: 152.5 kB / 0.5846 GB, free: 4.051 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2029, allocations: 0 / 0.5846 GB, free: 4.051 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.2029, allocations: 0 / 0.5846 GB, free: 4.051 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2029, allocations: 4 kB / 0.5846 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.2031, allocations: 47.91 kB / 0.5846 GB, free: 4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.2035, allocations: 309.4 kB / 0.5849 GB, free: 3.648 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.2038, allocations: 130.7 kB / 0.5851 GB, free: 3.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.204, allocations: 56.83 kB / 0.5851 GB, free: 3.453 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.204, allocations: 4 kB / 0.5851 GB, free: 3.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000545/0.2046, allocations: 227.4 kB / 0.5853 GB, free: 3.215 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 3.617e-06/0.2046, allocations: 0 / 0.5853 GB, free: 3.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006015/0.2052, allocations: 266.7 kB / 0.5856 GB, free: 2.949 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.2052, allocations: 71.33 kB / 0.5856 GB, free: 2.867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.2055, allocations: 294.8 kB / 0.5859 GB, free: 2.578 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/0.2056, allocations: 37.7 kB / 0.586 GB, free: 2.535 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.2057, allocations: 93.12 kB / 0.5861 GB, free: 2.441 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.2057, allocations: 43.5 kB / 0.5861 GB, free: 2.398 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.2059, allocations: 109.7 kB / 0.5862 GB, free: 2.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.206, allocations: 322.8 kB / 0.5865 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.2062, allocations: 88.19 kB / 0.5866 GB, free: 1.871 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.2065, allocations: 146.4 kB / 0.5867 GB, free: 1.707 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.2068, allocations: 250.9 kB / 0.587 GB, free: 1.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2068, allocations: 4 kB / 0.587 GB, free: 1.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007072/0.2076, allocations: 413.9 kB / 0.5874 GB, free: 1.004 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.206e-05/0.2076, allocations: 75.39 kB / 0.5874 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.2077, allocations: 4 kB / 0.5874 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.2077, allocations: 4 kB / 0.5875 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.2079, allocations: 27.91 kB / 0.5875 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.2079, allocations: 0 / 0.5875 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005492/0.2085, allocations: 70.98 kB / 0.5875 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.745e-05/0.2086, allocations: 55.98 kB / 0.5876 GB, free: 0.7617 MB / 494.1 MB 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.0001911/0.2088, allocations: 168 kB / 0.5878 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.2088, allocations: 27.66 kB / 0.5878 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.956e-05/0.2089, allocations: 38.25 kB / 0.5878 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2089, allocations: 0 / 0.5878 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.2089, allocations: 4 kB / 0.5878 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2089, allocations: 0 / 0.5878 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008262/0.2098, allocations: 0.5644 MB / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.2098, allocations: 3.984 kB / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.2098, allocations: 8 kB / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2098, allocations: 0 / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.2099, allocations: 11.98 kB / 0.5884 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2099, allocations: 0 / 0.5884 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2099, allocations: 7.984 kB / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.2104, allocations: 324.2 kB / 0.5887 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.2106, allocations: 156.6 kB / 0.5889 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.2106, allocations: 8 kB / 0.5889 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.2108, allocations: 11.98 kB / 0.5889 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.2109, allocations: 15.98 kB / 0.5889 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.2109, allocations: 31.97 kB / 0.5889 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001837/0.2111, allocations: 213.9 kB / 0.5891 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2111, allocations: 3.938 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003369/0.2115, allocations: 51.98 kB / 0.5892 GB, free: 15.02 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.0007601/0.2123, allocations: 0.8638 MB / 0.59 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006261/0.2129, allocations: 354.9 kB / 0.5904 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2129, allocations: 4 kB / 0.5904 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.2131, allocations: 81.2 kB / 0.5905 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.2134, allocations: 24.86 kB / 0.5905 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/0.217, allocations: 2.37 MB / 0.5928 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.2173, allocations: 0.7466 MB / 0.5935 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.2175, allocations: 37.42 kB / 0.5936 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.2176, allocations: 51.41 kB / 0.5936 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.2176, allocations: 0 / 0.5936 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.2397, allocations: 5.236 MB / 0.5987 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/8.386, allocations: 26.27 kB / 0.5987 GB, free: 5.18 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)