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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002528/0.002528, allocations: 211.9 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8487/0.8487, allocations: 134 MB / 446.4 MB, free: 9.934 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 68.09 kB / 0.6185 GB, free: 6.902 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1729, allocations: 85.91 MB / 0.7024 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.005186/0.1781, allocations: 1.479 MB / 0.7038 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1797, allocations: 409.7 kB / 0.7042 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1799, allocations: 0 / 0.7042 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.1801, allocations: 15.8 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.1803, allocations: 20.23 kB / 0.7042 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009329/0.1812, allocations: 254.1 kB / 0.7045 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005158/0.1817, allocations: 307.5 kB / 0.7048 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.848e-05/0.1818, allocations: 4 kB / 0.7048 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004342/0.1822, allocations: 195.7 kB / 0.705 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.1826, allocations: 104.1 kB / 0.7051 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.1827, allocations: 20 kB / 0.7051 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.925e-05/0.1828, allocations: 16 kB / 0.7051 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.1829, allocations: 87.7 kB / 0.7052 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.1831, allocations: 103.5 kB / 0.7053 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004872/0.1836, allocations: 279.2 kB / 0.7055 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.1836, allocations: 4 kB / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.487e-06/0.1836, allocations: 0 / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.945e-05/0.1836, allocations: 0 / 0.7055 GB, free: 13.8 MB / 0.5294 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.001661/0.1853, allocations: 0.6323 MB / 0.7062 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.1853, allocations: 8.031 kB / 0.7062 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.649e-05/0.1854, allocations: 38.75 kB / 0.7062 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.1855, allocations: 32.78 kB / 0.7062 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.1859, allocations: 214.5 kB / 0.7064 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.1859, allocations: 12.12 kB / 0.7065 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.187e-05/0.186, allocations: 27.98 kB / 0.7065 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.1863, allocations: 145.5 kB / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.1863, allocations: 0 / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.1863, allocations: 4 kB / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1863, allocations: 4 kB / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.1865, allocations: 43.97 kB / 0.7067 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.1869, allocations: 244.6 kB / 0.7069 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.1872, allocations: 118.6 kB / 0.707 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.1873, allocations: 48.83 kB / 0.7071 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.1873, allocations: 4 kB / 0.7071 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005037/0.1878, allocations: 215.6 kB / 0.7073 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.1878, allocations: 0 / 0.7073 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006436/0.1885, allocations: 269.3 kB / 0.7075 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.1885, allocations: 67.39 kB / 0.7076 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.1889, allocations: 292.2 kB / 0.7079 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.389e-05/0.1889, allocations: 33.7 kB / 0.7079 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/0.189, allocations: 97.12 kB / 0.708 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.923e-05/0.1891, allocations: 47.62 kB / 0.708 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.1893, allocations: 105.8 kB / 0.7081 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1894, allocations: 330.8 kB / 0.7085 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.1897, allocations: 163.5 kB / 0.7086 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.19, allocations: 209.8 kB / 0.7088 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.1904, allocations: 243.7 kB / 0.709 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1904, allocations: 0 / 0.709 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000829/0.1912, allocations: 482.3 kB / 0.7095 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.169e-05/0.1913, allocations: 71.39 kB / 0.7096 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1913, allocations: 0 / 0.7096 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1913, allocations: 4.188 kB / 0.7096 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.1915, allocations: 31.91 kB / 0.7096 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.1915, allocations: 4 kB / 0.7096 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.192, allocations: 63.84 kB / 0.7097 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.039e-05/0.1921, allocations: 51.98 kB / 0.7097 GB, free: 9.191 MB / 0.5294 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.0002036/0.1923, allocations: 172.4 kB / 0.7099 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.1923, allocations: 35.78 kB / 0.7099 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.38e-05/0.1924, allocations: 30.19 kB / 0.7099 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1924, allocations: 4 kB / 0.7099 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1924, allocations: 0 / 0.7099 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1924, allocations: 0 / 0.7099 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008731/0.1933, allocations: 0.5246 MB / 0.7105 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1933, allocations: 0 / 0.7105 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.1934, allocations: 11.98 kB / 0.7105 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.924e-06/0.1934, allocations: 4 kB / 0.7105 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.1934, allocations: 7.984 kB / 0.7105 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1934, allocations: 0 / 0.7105 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1934, allocations: 4 kB / 0.7105 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005226/0.1939, allocations: 337.3 kB / 0.7108 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.1941, allocations: 85.64 kB / 0.7109 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.844e-05/0.1942, allocations: 11.94 kB / 0.7109 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.1944, allocations: 16.73 kB / 0.7109 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.1944, allocations: 15.97 kB / 0.7109 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/0.1945, allocations: 27.98 kB / 0.711 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002186/0.1947, allocations: 211 kB / 0.7112 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1947, allocations: 0 / 0.7112 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003317/0.195, allocations: 48 kB / 0.7112 GB, free: 7.594 MB / 0.5294 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.0008467/0.1959, allocations: 0.8755 MB / 0.7121 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006048/0.1965, allocations: 380 kB / 0.7124 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1965, allocations: 0 / 0.7124 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.1966, allocations: 67.89 kB / 0.7125 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.197, allocations: 24.91 kB / 0.7125 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.2007, allocations: 2.672 MB / 0.7151 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.2008, allocations: 128.6 kB / 0.7152 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.201, allocations: 37.42 kB / 0.7153 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.2011, allocations: 55.41 kB / 0.7153 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of SimCode: time 6.52e-07/0.2011, allocations: 0 / 0.7153 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03736/0.2385, allocations: 6.439 MB / 0.7216 GB, free: 12.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.13, allocations: 8.062 kB / 0.7216 GB, free: 12.83 MB / 0.545 GB " [Timeout remaining time 648] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.99774819985032] Failed to read output from testmodel.py, exit status != 0: 12.238058526068926 12.268635565 12.079081075 Calling exit ...