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.001414/0.001414, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.0015/0.0015, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.445/1.445, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.8398/0.8398, allocations: 134 MB / 442.8 MB, free: 11.28 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.002445/0.002445, allocations: 66.39 kB / 0.6134 GB, free: 8.785 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1654, allocations: 85.85 MB / 0.6972 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002799/0.1682, allocations: 1.498 MB / 0.6987 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009991/0.1692, allocations: 418.6 kB / 0.6991 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.1692, allocations: 0 / 0.6991 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.1694, allocations: 15.86 kB / 0.6991 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.1695, allocations: 20.23 kB / 0.6991 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.1702, allocations: 247.2 kB / 0.6994 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.1706, allocations: 303.5 kB / 0.6997 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.1706, allocations: 8 kB / 0.6997 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.1709, allocations: 195.6 kB / 0.6999 GB, free: 320 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.1711, allocations: 115.7 kB / 0.7 GB, free: 208 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.1711, allocations: 16 kB / 0.7 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.726e-05/0.1712, allocations: 20 kB / 0.7 GB, free: 172 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1713, allocations: 79.77 kB / 0.7001 GB, free: 92 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.1714, allocations: 119.4 kB / 0.7002 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.1718, allocations: 291.1 kB / 0.7005 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1718, allocations: 0 / 0.7005 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1718, allocations: 4 kB / 0.7005 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1718, allocations: 0 / 0.7005 GB, free: 15.68 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.001308/0.1731, allocations: 0.6999 MB / 0.7012 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1731, allocations: 13.11 kB / 0.7012 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.98e-05/0.1732, allocations: 34.73 kB / 0.7012 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.005e-05/0.1733, allocations: 32.8 kB / 0.7012 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.1737, allocations: 271.7 kB / 0.7015 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.1737, allocations: 12.12 kB / 0.7015 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.1738, allocations: 23.98 kB / 0.7015 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.1741, allocations: 145.5 kB / 0.7017 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1741, allocations: 0 / 0.7017 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.1741, allocations: 0 / 0.7017 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1741, allocations: 4 kB / 0.7017 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.1743, allocations: 47.97 kB / 0.7017 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.1747, allocations: 321.3 kB / 0.702 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.175, allocations: 114.7 kB / 0.7021 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.1751, allocations: 56.81 kB / 0.7022 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1751, allocations: 0 / 0.7022 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004855/0.1756, allocations: 223.6 kB / 0.7024 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.1756, allocations: 0 / 0.7024 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006356/0.1762, allocations: 267.2 kB / 0.7027 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.1763, allocations: 67.33 kB / 0.7027 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.1766, allocations: 290.9 kB / 0.703 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/0.1767, allocations: 37.7 kB / 0.703 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/0.1768, allocations: 97.12 kB / 0.7031 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.652e-05/0.1768, allocations: 51.62 kB / 0.7032 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.177, allocations: 97.81 kB / 0.7033 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1772, allocations: 326.8 kB / 0.7036 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.1774, allocations: 92.17 kB / 0.7037 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.1777, allocations: 142.4 kB / 0.7038 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.178, allocations: 241.2 kB / 0.704 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.178, allocations: 7.938 kB / 0.704 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007212/0.1787, allocations: 413.6 kB / 0.7044 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.111e-05/0.1788, allocations: 79.38 kB / 0.7045 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1788, allocations: 0 / 0.7045 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1789, allocations: 4 kB / 0.7045 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.179, allocations: 23.92 kB / 0.7045 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.179, allocations: 7.984 kB / 0.7045 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/0.1796, allocations: 67.97 kB / 0.7046 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.497e-05/0.1797, allocations: 51.98 kB / 0.7047 GB, free: 11.05 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.0002074/0.1799, allocations: 168 kB / 0.7048 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.1799, allocations: 27.8 kB / 0.7048 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.413e-05/0.18, allocations: 26.25 kB / 0.7049 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.18, allocations: 4 kB / 0.7049 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.18, allocations: 4 kB / 0.7049 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.18, allocations: 3.984 kB / 0.7049 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008881/0.1809, allocations: 0.5587 MB / 0.7054 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1809, allocations: 4 kB / 0.7054 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.1809, allocations: 8 kB / 0.7054 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1809, allocations: 0 / 0.7054 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.181, allocations: 15.97 kB / 0.7055 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.181, allocations: 0 / 0.7055 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.181, allocations: 0 / 0.7055 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.1814, allocations: 331 kB / 0.7058 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.1816, allocations: 164.8 kB / 0.7059 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.1816, allocations: 8 kB / 0.7059 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.1819, allocations: 7.984 kB / 0.7059 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.1819, allocations: 19.97 kB / 0.706 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.182, allocations: 31.98 kB / 0.706 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001995/0.1822, allocations: 209.9 kB / 0.7062 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1822, allocations: 0 / 0.7062 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003262/0.1825, allocations: 55.94 kB / 0.7062 GB, free: 9.328 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.0008747/0.1834, allocations: 0.8737 MB / 0.7071 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006337/0.184, allocations: 306.9 kB / 0.7074 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.184, allocations: 4.062 kB / 0.7074 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.1842, allocations: 70.55 kB / 0.7075 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.1846, allocations: 33.89 kB / 0.7075 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.1879, allocations: 2.401 MB / 0.7098 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.1883, allocations: 0.7396 MB / 0.7106 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000114/0.1884, allocations: 41.42 kB / 0.7106 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.1885, allocations: 43.41 kB / 0.7106 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.1885, allocations: 0 / 0.7106 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.22, allocations: 5.28 MB / 0.7158 GB, free: 15.47 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.365, allocations: 9.75 kB / 0.7158 GB, free: 15.46 MB / 0.545 GB " [Timeout remaining time 652] (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: 11.983011119009461] Failed to read output from testmodel.py, exit status != 0: 8.437144309995347 8.460838427 8.284783587 Calling exit ...