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.001415/0.001415, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001522/0.001522, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.542/1.542, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.8869/0.8869, allocations: 133.9 MB / 443.5 MB, free: 13.79 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.001984/0.001984, allocations: 67.98 kB / 0.6141 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1613, allocations: 85.86 MB / 0.6979 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00293/0.1642, allocations: 1.487 MB / 0.6994 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009968/0.1652, allocations: 435.8 kB / 0.6998 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.1653, allocations: 0 / 0.6998 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1654, allocations: 7.922 kB / 0.6998 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.1655, allocations: 24.66 kB / 0.6998 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007739/0.1663, allocations: 244.8 kB / 0.7001 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000375/0.1667, allocations: 301 kB / 0.7003 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.1667, allocations: 6.75 kB / 0.7004 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.167, allocations: 193.4 kB / 0.7005 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.1672, allocations: 119.8 kB / 0.7007 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.327e-05/0.1672, allocations: 23.19 kB / 0.7007 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.935e-05/0.1673, allocations: 17.88 kB / 0.7007 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1674, allocations: 76.64 kB / 0.7008 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.1675, allocations: 124.5 kB / 0.7009 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.1679, allocations: 279.2 kB / 0.7011 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1679, allocations: 0 / 0.7011 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1679, allocations: 5.469 kB / 0.7012 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.1679, allocations: 0 / 0.7012 GB, free: 11.31 MB / 0.5137 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.001266/0.1692, allocations: 0.6987 MB / 0.7018 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1692, allocations: 15.33 kB / 0.7018 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.395e-05/0.1692, allocations: 1.438 kB / 0.7019 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.1693, allocations: 41.8 kB / 0.7019 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.388e-05/0.1694, allocations: 31.27 kB / 0.7019 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.1697, allocations: 266.9 kB / 0.7022 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.1697, allocations: 15.19 kB / 0.7022 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/0.1698, allocations: 18.95 kB / 0.7022 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.1701, allocations: 148.9 kB / 0.7024 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1701, allocations: 0 / 0.7024 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.1702, allocations: 1.125 kB / 0.7024 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1702, allocations: 1.406 kB / 0.7024 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.1703, allocations: 45.84 kB / 0.7024 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.1707, allocations: 316.5 kB / 0.7027 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.171, allocations: 118.7 kB / 0.7028 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.1712, allocations: 48.83 kB / 0.7029 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.1712, allocations: 8 kB / 0.7029 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004704/0.1717, allocations: 220.6 kB / 0.7031 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.1717, allocations: 0 / 0.7031 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006295/0.1723, allocations: 270.9 kB / 0.7033 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.1724, allocations: 63.39 kB / 0.7034 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.1727, allocations: 287 kB / 0.7037 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/0.1727, allocations: 37.7 kB / 0.7037 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.1728, allocations: 93.12 kB / 0.7038 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.1729, allocations: 51.62 kB / 0.7038 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.1731, allocations: 105.8 kB / 0.7039 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.1732, allocations: 322.8 kB / 0.7043 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.1735, allocations: 100.1 kB / 0.7043 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.1737, allocations: 147.6 kB / 0.7045 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.1741, allocations: 236 kB / 0.7047 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1741, allocations: 0 / 0.7047 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007585/0.1749, allocations: 412.6 kB / 0.7051 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.704e-05/0.175, allocations: 83.31 kB / 0.7052 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.175, allocations: 7.938 kB / 0.7052 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.175, allocations: 4 kB / 0.7052 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.1752, allocations: 27.91 kB / 0.7052 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1752, allocations: 4 kB / 0.7052 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/0.1757, allocations: 60.03 kB / 0.7053 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-05/0.1758, allocations: 55.98 kB / 0.7053 GB, free: 6.969 MB / 0.5137 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.0002091/0.176, allocations: 168.6 kB / 0.7055 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.1761, allocations: 35.73 kB / 0.7055 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.655e-05/0.1762, allocations: 38.27 kB / 0.7056 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1762, allocations: 3.984 kB / 0.7056 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1762, allocations: 0 / 0.7056 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1762, allocations: 4 kB / 0.7056 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000894/0.1771, allocations: 0.5546 MB / 0.7061 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1771, allocations: 0 / 0.7061 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.1771, allocations: 11.98 kB / 0.7061 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1771, allocations: 0 / 0.7061 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.1771, allocations: 7.984 kB / 0.7061 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1772, allocations: 4 kB / 0.7061 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1772, allocations: 4 kB / 0.7061 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.1776, allocations: 321.1 kB / 0.7065 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.1778, allocations: 168.7 kB / 0.7066 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/0.1779, allocations: 11.98 kB / 0.7066 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.1781, allocations: 11.98 kB / 0.7066 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.1782, allocations: 19.92 kB / 0.7067 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.1782, allocations: 27.98 kB / 0.7067 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002005/0.1784, allocations: 213.9 kB / 0.7069 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1784, allocations: 0 / 0.7069 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003304/0.1787, allocations: 51.94 kB / 0.7069 GB, free: 5.238 MB / 0.5137 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.0008451/0.1796, allocations: 0.8628 MB / 0.7078 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006164/0.1802, allocations: 316.3 kB / 0.7081 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1802, allocations: 0 / 0.7081 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.1804, allocations: 67.89 kB / 0.7081 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.1807, allocations: 24.86 kB / 0.7082 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003499/0.1842, allocations: 2.41 MB / 0.7105 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.1846, allocations: 0.7435 MB / 0.7112 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001422/0.1848, allocations: 41.42 kB / 0.7113 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.1849, allocations: 43.41 kB / 0.7113 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of SimCode: time 1.022e-06/0.1849, allocations: 0 / 0.7113 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.2098, allocations: 5.321 MB / 0.7165 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.979/9.188, allocations: 12.7 kB / 0.7165 GB, free: 11.36 MB / 0.5294 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.968164622026961] Failed to read output from testmodel.py, exit status != 0: 9.576480527000967 9.331328047 9.16037838 Calling exit ...