Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001303/0.001303, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001445/0.001445, allocations: 217.3 kB / 22.26 MB, free: 5.113 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 8.02 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.8837/0.8837, allocations: 134 MB / 446.4 MB, free: 10.26 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.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.001996/0.001996, allocations: 70.52 kB / 0.6185 GB, free: 7.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1831, allocations: 85.91 MB / 0.7024 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003181/0.1863, allocations: 1.507 MB / 0.7039 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.1875, allocations: 425.6 kB / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.85e-05/0.1875, allocations: 0 / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.1877, allocations: 11.86 kB / 0.7043 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.1878, allocations: 24.22 kB / 0.7043 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.1886, allocations: 250.5 kB / 0.7046 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.1889, allocations: 299.6 kB / 0.7049 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.189, allocations: 7.938 kB / 0.7049 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.1893, allocations: 199.6 kB / 0.7051 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.1895, allocations: 116 kB / 0.7052 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.297e-05/0.1896, allocations: 16 kB / 0.7052 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.322e-05/0.1896, allocations: 24 kB / 0.7052 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.1898, allocations: 79.77 kB / 0.7053 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.1899, allocations: 123.4 kB / 0.7054 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.1903, allocations: 283.2 kB / 0.7057 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1903, allocations: 0 / 0.7057 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1903, allocations: 0 / 0.7057 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.1903, allocations: 0 / 0.7057 GB, free: 14.11 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.001334/0.1916, allocations: 0.6285 MB / 0.7063 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.1917, allocations: 16.02 kB / 0.7063 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.203e-05/0.1917, allocations: 34.75 kB / 0.7063 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.457e-05/0.1918, allocations: 32.8 kB / 0.7064 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.1922, allocations: 214.5 kB / 0.7066 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.914e-05/0.1923, allocations: 12.12 kB / 0.7066 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.1923, allocations: 19.98 kB / 0.7066 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/0.1927, allocations: 152.4 kB / 0.7067 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1927, allocations: 0 / 0.7067 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.1927, allocations: 0 / 0.7067 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1927, allocations: 4 kB / 0.7067 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.1928, allocations: 47.97 kB / 0.7068 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.1932, allocations: 280.5 kB / 0.7071 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.1935, allocations: 118.6 kB / 0.7072 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.1937, allocations: 48.83 kB / 0.7072 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1937, allocations: 3.984 kB / 0.7072 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000483/0.1942, allocations: 223.6 kB / 0.7074 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.1942, allocations: 3.938 kB / 0.7074 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0005901/0.1948, allocations: 271.6 kB / 0.7077 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.1948, allocations: 63.39 kB / 0.7078 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003175/0.1951, allocations: 288.2 kB / 0.708 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.1952, allocations: 37.7 kB / 0.7081 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.1953, allocations: 97.06 kB / 0.7082 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/0.1953, allocations: 51.62 kB / 0.7082 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.1955, allocations: 101.8 kB / 0.7083 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1956, allocations: 322.8 kB / 0.7086 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.1958, allocations: 92.17 kB / 0.7087 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.1961, allocations: 142.4 kB / 0.7088 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.1964, allocations: 250 kB / 0.7091 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1964, allocations: 3.938 kB / 0.7091 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006745/0.1971, allocations: 413.9 kB / 0.7095 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.192e-05/0.1972, allocations: 79.38 kB / 0.7096 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1972, allocations: 4 kB / 0.7096 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1972, allocations: 4.188 kB / 0.7096 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.1973, allocations: 23.92 kB / 0.7096 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1973, allocations: 4 kB / 0.7096 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.1978, allocations: 67.77 kB / 0.7097 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.208e-05/0.1979, allocations: 55.98 kB / 0.7097 GB, free: 9.676 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.0001868/0.1981, allocations: 172.4 kB / 0.7099 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.1982, allocations: 27.8 kB / 0.7099 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.242e-05/0.1982, allocations: 26.19 kB / 0.7099 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-06/0.1982, allocations: 4 kB / 0.7099 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1982, allocations: 0 / 0.7099 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1982, allocations: 3.984 kB / 0.7099 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000823/0.199, allocations: 0.5363 MB / 0.7105 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.199, allocations: 0 / 0.7105 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.1991, allocations: 4 kB / 0.7105 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1991, allocations: 8 kB / 0.7105 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.1991, allocations: 11.97 kB / 0.7105 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1991, allocations: 0 / 0.7105 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1991, allocations: 0 / 0.7105 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.1996, allocations: 329.5 kB / 0.7108 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.1997, allocations: 89.66 kB / 0.7109 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.1998, allocations: 11.98 kB / 0.7109 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.2, allocations: 11.98 kB / 0.7109 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.2001, allocations: 15.98 kB / 0.7109 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/0.2001, allocations: 31.97 kB / 0.7109 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002179/0.2003, allocations: 211 kB / 0.7111 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2003, allocations: 0 / 0.7111 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003244/0.2006, allocations: 55.98 kB / 0.7112 GB, free: 8.074 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.0008085/0.2015, allocations: 0.8663 MB / 0.712 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005579/0.202, allocations: 312.7 kB / 0.7123 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.202, allocations: 0 / 0.7123 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.2022, allocations: 59.91 kB / 0.7124 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.2025, allocations: 24.97 kB / 0.7124 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.2057, allocations: 2.424 MB / 0.7148 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.2061, allocations: 0.7422 MB / 0.7155 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.2062, allocations: 37.42 kB / 0.7156 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.2063, allocations: 43.42 kB / 0.7156 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.2063, allocations: 0 / 0.7156 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/0.2398, allocations: 5.502 MB / 0.721 GB, free: 14.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.39, allocations: 6.656 kB / 0.721 GB, free: 14.02 MB / 0.545 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.csv --start-time 172799 --stop-time 345599 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.227197117004835] Failed to read output from testmodel.py, exit status != 0: 11.49762899200141 11.525125235 11.330047247 Calling exit ...