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.001896/0.001896, allocations: 102.3 kB / 19.7 MB, free: 2.246 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.002525/0.002525, allocations: 222.5 kB / 23.01 MB, free: 5.086 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.889/0.889, allocations: 134 MB / 447.2 MB, free: 10.25 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: translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") [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.002037/0.002037, allocations: 71.02 kB / 0.6198 GB, free: 6.773 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1646, allocations: 85.9 MB / 0.7036 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003168/0.1677, allocations: 1.52 MB / 0.7051 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1688, allocations: 430.8 kB / 0.7055 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.1689, allocations: 0 / 0.7055 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.169, allocations: 11.86 kB / 0.7055 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.1691, allocations: 28.17 kB / 0.7056 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008494/0.17, allocations: 238.5 kB / 0.7058 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004983/0.1705, allocations: 299.6 kB / 0.7061 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.1705, allocations: 7.984 kB / 0.7061 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003841/0.1709, allocations: 199.7 kB / 0.7063 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.1712, allocations: 120 kB / 0.7064 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.101e-05/0.1713, allocations: 16 kB / 0.7064 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.535e-05/0.1713, allocations: 20 kB / 0.7064 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1714, allocations: 75.78 kB / 0.7065 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.1716, allocations: 119.4 kB / 0.7066 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.172, allocations: 286.9 kB / 0.7069 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.172, allocations: 0 / 0.7069 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.172, allocations: 7.938 kB / 0.7069 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.172, allocations: 0 / 0.7069 GB, free: 13.6 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.001278/0.1733, allocations: 0.6285 MB / 0.7075 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1733, allocations: 12.03 kB / 0.7075 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.81e-05/0.1734, allocations: 28.8 kB / 0.7075 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.1738, allocations: 210.6 kB / 0.7078 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.1738, allocations: 8.375 kB / 0.7078 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/0.1739, allocations: 31.92 kB / 0.7078 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.1742, allocations: 149.1 kB / 0.7079 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1742, allocations: 7.984 kB / 0.7079 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.1742, allocations: 0 / 0.7079 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1742, allocations: 0 / 0.7079 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.1744, allocations: 51.91 kB / 0.708 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.1747, allocations: 276.5 kB / 0.7083 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.175, allocations: 118.7 kB / 0.7084 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.1752, allocations: 48.83 kB / 0.7084 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.1752, allocations: 7.938 kB / 0.7084 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004679/0.1757, allocations: 215.6 kB / 0.7086 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.1757, allocations: 4 kB / 0.7086 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006211/0.1763, allocations: 279.2 kB / 0.7089 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.1763, allocations: 63.39 kB / 0.709 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.1767, allocations: 288.2 kB / 0.7092 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.191e-05/0.1767, allocations: 33.7 kB / 0.7093 GB, free: 11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.1768, allocations: 101.1 kB / 0.7094 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.615e-05/0.1769, allocations: 47.64 kB / 0.7094 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.177, allocations: 105.8 kB / 0.7095 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002231/0.1773, allocations: 326.8 kB / 0.7098 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.1775, allocations: 88.17 kB / 0.7099 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.1777, allocations: 142.4 kB / 0.71 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.1781, allocations: 246.1 kB / 0.7103 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.1781, allocations: 0 / 0.7103 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000734/0.1788, allocations: 417.6 kB / 0.7107 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.703e-05/0.1789, allocations: 79.38 kB / 0.7107 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1789, allocations: 0 / 0.7107 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1789, allocations: 8 kB / 0.7108 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.1791, allocations: 23.92 kB / 0.7108 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.1791, allocations: 7.984 kB / 0.7108 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.1796, allocations: 67.97 kB / 0.7108 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-05/0.1797, allocations: 51.98 kB / 0.7109 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.0001954/0.1799, allocations: 168.4 kB / 0.7111 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.18, allocations: 27.8 kB / 0.7111 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.18, allocations: 26.19 kB / 0.7111 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.18, allocations: 4 kB / 0.7111 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.18, allocations: 0 / 0.7111 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.18, allocations: 7.984 kB / 0.7111 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/0.181, allocations: 0.5306 MB / 0.7116 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.181, allocations: 0 / 0.7116 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-05/0.181, allocations: 8 kB / 0.7116 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.181, allocations: 0 / 0.7116 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.1811, allocations: 19.97 kB / 0.7117 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1811, allocations: 0 / 0.7117 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1811, allocations: 3.984 kB / 0.7117 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.1815, allocations: 331 kB / 0.712 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.1817, allocations: 81.66 kB / 0.7121 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/0.1818, allocations: 15.98 kB / 0.7121 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.182, allocations: 11.98 kB / 0.7121 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.1821, allocations: 15.98 kB / 0.7121 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.704e-05/0.1821, allocations: 31.97 kB / 0.7121 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002064/0.1823, allocations: 207.1 kB / 0.7123 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1823, allocations: 3.938 kB / 0.7123 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003373/0.1827, allocations: 47.98 kB / 0.7124 GB, free: 7.625 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.0001489/0.1828, allocations: 125.6 kB / 0.7125 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005805/0.1834, allocations: 312.3 kB / 0.7128 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1834, allocations: 0 / 0.7128 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.1835, allocations: 63.91 kB / 0.7129 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.1839, allocations: 24.91 kB / 0.7129 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008074/0.1847, allocations: 432 kB / 0.7133 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.1851, allocations: 0.7395 MB / 0.714 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.1852, allocations: 43.42 kB / 0.7141 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.1852, allocations: 0 / 0.7141 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of Templates: time 0.005852/0.1911, allocations: 2.981 MB / 0.717 GB, free: 2.848 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.676784955197945] Failed to read output from testmodel.py, exit status != 0: 0.19911223999224603 0.215453684 0.040222363000000004 Calling exit ...