Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.001689/0.001689, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001525/0.001525, allocations: 219 kB / 23.03 MB, free: 4.945 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 / 256.8 MB, free: 7.793 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.8438/0.8438, allocations: 134 MB / 447.2 MB, free: 9.961 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.CalendarTimeMonths,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="cs",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.001978/0.001978, allocations: 61.62 kB / 0.6192 GB, free: 6.934 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1812, allocations: 85.92 MB / 0.7031 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003389/0.1846, allocations: 1.488 MB / 0.7046 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.1856, allocations: 399.4 kB / 0.7049 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.1857, allocations: 4 kB / 0.705 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.581e-05/0.1858, allocations: 7.875 kB / 0.705 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.1859, allocations: 24.22 kB / 0.705 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008713/0.1867, allocations: 254.4 kB / 0.7052 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004849/0.1872, allocations: 299.6 kB / 0.7055 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.477e-05/0.1873, allocations: 4 kB / 0.7055 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.1877, allocations: 203.6 kB / 0.7057 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.1881, allocations: 112.1 kB / 0.7058 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.529e-05/0.1882, allocations: 20 kB / 0.7058 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.1882, allocations: 20 kB / 0.7059 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.1884, allocations: 75.72 kB / 0.7059 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.1885, allocations: 103.5 kB / 0.706 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.1889, allocations: 287.2 kB / 0.7063 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1889, allocations: 0 / 0.7063 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1889, allocations: 4 kB / 0.7063 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.1889, allocations: 0 / 0.7063 GB, free: 13.84 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.001368/0.1903, allocations: 0.6284 MB / 0.7069 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1903, allocations: 15.97 kB / 0.7069 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.332e-05/0.1904, allocations: 192 / 0.7069 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.985e-05/0.1904, allocations: 42.73 kB / 0.707 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.1905, allocations: 28.8 kB / 0.707 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.1909, allocations: 214.6 kB / 0.7072 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.1909, allocations: 11.94 kB / 0.7072 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.968e-05/0.191, allocations: 24 kB / 0.7072 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.1913, allocations: 149.5 kB / 0.7074 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1913, allocations: 0 / 0.7074 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.1913, allocations: 7.938 kB / 0.7074 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1914, allocations: 0 / 0.7074 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.1915, allocations: 47.97 kB / 0.7074 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.1919, allocations: 248.5 kB / 0.7077 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.1922, allocations: 106.7 kB / 0.7078 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.1923, allocations: 64.7 kB / 0.7078 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1924, allocations: 0 / 0.7078 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004733/0.1928, allocations: 211.6 kB / 0.708 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.1928, allocations: 0 / 0.708 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.000642/0.1935, allocations: 279.4 kB / 0.7083 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.1935, allocations: 71.38 kB / 0.7084 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.1939, allocations: 288.2 kB / 0.7086 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/0.1939, allocations: 33.7 kB / 0.7087 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/0.194, allocations: 93.14 kB / 0.7088 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.194, allocations: 47.62 kB / 0.7088 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.1942, allocations: 105.8 kB / 0.7089 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1944, allocations: 330.8 kB / 0.7092 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.1947, allocations: 159.6 kB / 0.7094 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.195, allocations: 205.8 kB / 0.7096 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.1953, allocations: 243.5 kB / 0.7098 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1953, allocations: 0 / 0.7098 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007996/0.1961, allocations: 481.9 kB / 0.7103 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.054e-05/0.1962, allocations: 75.56 kB / 0.7103 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1962, allocations: 4 kB / 0.7103 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.1963, allocations: 4 kB / 0.7103 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.1964, allocations: 27.91 kB / 0.7104 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1964, allocations: 4 kB / 0.7104 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/0.197, allocations: 59.84 kB / 0.7104 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.372e-05/0.1971, allocations: 51.98 kB / 0.7105 GB, free: 9.219 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.0002148/0.1973, allocations: 172.4 kB / 0.7107 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.663e-05/0.1973, allocations: 35.77 kB / 0.7107 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.109e-05/0.1974, allocations: 30.19 kB / 0.7107 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1974, allocations: 4 kB / 0.7107 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1974, allocations: 0 / 0.7107 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1974, allocations: 0 / 0.7107 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000869/0.1983, allocations: 0.5246 MB / 0.7112 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1983, allocations: 0 / 0.7112 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.1983, allocations: 4 kB / 0.7112 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1983, allocations: 0 / 0.7112 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.1984, allocations: 23.97 kB / 0.7113 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1984, allocations: 0 / 0.7113 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1984, allocations: 0 / 0.7113 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.1988, allocations: 337.5 kB / 0.7116 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.199, allocations: 85.64 kB / 0.7117 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.072e-05/0.1991, allocations: 12 kB / 0.7117 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.1994, allocations: 15.98 kB / 0.7117 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.1994, allocations: 11.97 kB / 0.7117 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-05/0.1995, allocations: 35.92 kB / 0.7117 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000228/0.1997, allocations: 211 kB / 0.7119 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1997, allocations: 4 kB / 0.7119 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003394/0.2, allocations: 51.94 kB / 0.712 GB, free: 7.609 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.0009176/0.201, allocations: 0.869 MB / 0.7128 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006955/0.2017, allocations: 380 kB / 0.7132 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2017, allocations: 0 / 0.7132 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.2018, allocations: 63.91 kB / 0.7133 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.2022, allocations: 25.33 kB / 0.7133 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.206, allocations: 2.673 MB / 0.7159 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.2062, allocations: 132.6 kB / 0.716 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.2063, allocations: 37.42 kB / 0.7161 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.2065, allocations: 47.42 kB / 0.7161 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.2065, allocations: 0 / 0.7161 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.2346, allocations: 6.082 MB / 0.722 GB, free: 13.22 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.8, allocations: 14.45 kB / 0.7221 GB, free: 13.21 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.451388088986278] Failed to read output from testmodel.py, exit status != 0: 11.95928010402713 11.977706295 11.785566325 Calling exit ...