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.001794/0.001794, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002426/0.002426, allocations: 217.2 kB / 22.25 MB, free: 4.852 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.797 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.9393/0.9393, allocations: 134 MB / 446.4 MB, free: 9.957 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.002006/0.002006, allocations: 68.09 kB / 0.6185 GB, free: 6.902 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1755, allocations: 85.91 MB / 0.7024 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002989/0.1785, allocations: 1.487 MB / 0.7038 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1797, allocations: 411.3 kB / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.957e-05/0.1798, allocations: 0 / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.1799, allocations: 7.875 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.18, allocations: 28.22 kB / 0.7042 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007987/0.1808, allocations: 249.8 kB / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000413/0.1812, allocations: 303.5 kB / 0.7048 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.1813, allocations: 4 kB / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003761/0.1816, allocations: 195.7 kB / 0.705 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.1819, allocations: 108 kB / 0.7051 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.954e-05/0.182, allocations: 20 kB / 0.7051 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.406e-05/0.182, allocations: 20 kB / 0.7051 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.1822, allocations: 79.78 kB / 0.7052 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.1823, allocations: 103.5 kB / 0.7053 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003798/0.1827, allocations: 283.2 kB / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1827, allocations: 3.984 kB / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1827, allocations: 4 kB / 0.7055 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.1827, allocations: 0 / 0.7055 GB, free: 13.79 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.001431/0.1842, allocations: 0.6246 MB / 0.7062 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.1842, allocations: 12.03 kB / 0.7062 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.701e-05/0.1843, allocations: 42.67 kB / 0.7062 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.38e-05/0.1844, allocations: 36.8 kB / 0.7062 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.1848, allocations: 202.6 kB / 0.7064 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.1848, allocations: 20.11 kB / 0.7065 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.1849, allocations: 12 kB / 0.7065 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.1852, allocations: 149.5 kB / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1852, allocations: 0 / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.1852, allocations: 7.984 kB / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1852, allocations: 0 / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.1853, allocations: 43.92 kB / 0.7067 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.1857, allocations: 244.6 kB / 0.7069 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.186, allocations: 122.6 kB / 0.707 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.1862, allocations: 48.83 kB / 0.7071 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.1862, allocations: 4 kB / 0.7071 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006544/0.1868, allocations: 215.6 kB / 0.7073 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.934e-06/0.1868, allocations: 8 kB / 0.7073 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0007307/0.1876, allocations: 279.4 kB / 0.7075 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.1876, allocations: 63.34 kB / 0.7076 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.188, allocations: 284.2 kB / 0.7079 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/0.1881, allocations: 45.69 kB / 0.7079 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.1882, allocations: 89.14 kB / 0.708 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/0.1882, allocations: 47.64 kB / 0.708 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.1885, allocations: 105.8 kB / 0.7081 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002297/0.1887, allocations: 322.8 kB / 0.7085 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.1891, allocations: 159.6 kB / 0.7086 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.1894, allocations: 205.8 kB / 0.7088 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.1898, allocations: 255.4 kB / 0.709 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.1898, allocations: 4 kB / 0.709 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007584/0.1905, allocations: 477.3 kB / 0.7095 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.909e-05/0.1906, allocations: 79.41 kB / 0.7096 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1906, allocations: 4 kB / 0.7096 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1906, allocations: 0 / 0.7096 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.1908, allocations: 27.92 kB / 0.7096 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.1909, allocations: 0 / 0.7096 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.1913, allocations: 67.77 kB / 0.7097 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.285e-05/0.1914, allocations: 55.98 kB / 0.7097 GB, free: 9.176 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.0001948/0.1916, allocations: 174.3 kB / 0.7099 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.1916, allocations: 27.8 kB / 0.7099 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.451e-05/0.1917, allocations: 30.19 kB / 0.7099 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1917, allocations: 0 / 0.7099 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1917, allocations: 0 / 0.7099 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1917, allocations: 3.984 kB / 0.71 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008771/0.1926, allocations: 0.5246 MB / 0.7105 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1926, allocations: 0 / 0.7105 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.1926, allocations: 8 kB / 0.7105 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1926, allocations: 4 kB / 0.7105 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.1927, allocations: 15.97 kB / 0.7105 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1927, allocations: 4 kB / 0.7105 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1927, allocations: 0 / 0.7105 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.1931, allocations: 337.7 kB / 0.7108 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.1933, allocations: 81.66 kB / 0.7109 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.1934, allocations: 11.98 kB / 0.7109 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.1936, allocations: 11.98 kB / 0.7109 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.1937, allocations: 15.98 kB / 0.7109 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.1937, allocations: 31.97 kB / 0.711 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002323/0.1939, allocations: 211.1 kB / 0.7112 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1939, allocations: 0 / 0.7112 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003095/0.1942, allocations: 55.92 kB / 0.7112 GB, free: 7.578 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.0008667/0.1951, allocations: 0.872 MB / 0.7121 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006777/0.1958, allocations: 375.8 kB / 0.7124 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1958, allocations: 0 / 0.7124 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.1959, allocations: 59.97 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.0003436/0.1963, allocations: 25.34 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.004147/0.2004, allocations: 2.681 MB / 0.7151 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.2007, allocations: 140.2 kB / 0.7153 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.2008, allocations: 33.44 kB / 0.7153 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.201, allocations: 47.41 kB / 0.7153 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.201, allocations: 0 / 0.7153 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03591/0.2369, allocations: 6.439 MB / 0.7216 GB, free: 12.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/11.98, allocations: 6.5 kB / 0.7216 GB, free: 12.82 MB / 0.545 GB " [Timeout remaining time 648] (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.954837745986879] Failed to read output from testmodel.py, exit status != 0: 12.095924344845116 12.128355467 11.939374933 Calling exit ...