Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 88.41 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009268/0.009268, allocations: 172.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9894/0.9894, allocations: 135.3 MB / 426.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003952, allocations: 8.281 kB / 0.5076 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1683, allocations: 82.3 MB / 0.588 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001607/0.1699, allocations: 1.192 MB / 0.5891 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009754/0.1709, allocations: 445.6 kB / 0.5895 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.006e-05/0.171, allocations: 0 / 0.5895 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.855e-05/0.171, allocations: 3.938 kB / 0.5896 GB, free: 1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.433e-05/0.1711, allocations: 24.28 kB / 0.5896 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006375/0.1718, allocations: 222.6 kB / 0.5898 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.1721, allocations: 291.9 kB / 0.5901 GB, free: 488 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.1721, allocations: 4 kB / 0.5901 GB, free: 484 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002874/0.1724, allocations: 210.3 kB / 0.5903 GB, free: 276 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.1727, allocations: 127.6 kB / 0.5904 GB, free: 148 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.1727, allocations: 8 kB / 0.5904 GB, free: 140 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.421e-05/0.1728, allocations: 11.94 kB / 0.5904 GB, free: 128 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1729, allocations: 71.78 kB / 0.5905 GB, free: 56 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.1731, allocations: 145.2 kB / 0.5906 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.1734, allocations: 279.2 kB / 0.5909 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1734, allocations: 0 / 0.5909 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1734, allocations: 0 / 0.5909 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.1734, allocations: 0 / 0.5909 GB, free: 15.63 MB / 0.4981 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.001037/0.1744, allocations: 0.6219 MB / 0.5915 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1745, allocations: 8.031 kB / 0.5915 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.793e-05/0.1746, allocations: 31.72 kB / 0.5915 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.1749, allocations: 258.3 kB / 0.5918 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.1749, allocations: 8 kB / 0.5918 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.608e-05/0.175, allocations: 16 kB / 0.5918 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.1753, allocations: 153.3 kB / 0.5919 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1753, allocations: 3.938 kB / 0.5919 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.1754, allocations: 8 kB / 0.592 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1754, allocations: 4 kB / 0.592 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.1755, allocations: 43.97 kB / 0.592 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.1759, allocations: 313.3 kB / 0.5923 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.1762, allocations: 138.8 kB / 0.5924 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.1763, allocations: 60.83 kB / 0.5925 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.1763, allocations: 7.984 kB / 0.5925 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004339/0.1768, allocations: 219.5 kB / 0.5927 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.915e-06/0.1768, allocations: 7.984 kB / 0.5927 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005637/0.1774, allocations: 271.3 kB / 0.593 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.1774, allocations: 63.39 kB / 0.593 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.1777, allocations: 290.9 kB / 0.5933 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.1777, allocations: 33.7 kB / 0.5933 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.1778, allocations: 97.03 kB / 0.5934 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.1779, allocations: 43.53 kB / 0.5935 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.178, allocations: 33.7 kB / 0.5935 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1781, allocations: 330.8 kB / 0.5938 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.1783, allocations: 92.17 kB / 0.5939 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.1786, allocations: 151.1 kB / 0.5941 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.1789, allocations: 243.1 kB / 0.5943 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.1789, allocations: 0 / 0.5943 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006718/0.1796, allocations: 418 kB / 0.5947 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.503e-05/0.1797, allocations: 79.56 kB / 0.5948 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1797, allocations: 4 kB / 0.5948 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1797, allocations: 7.938 kB / 0.5948 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.1798, allocations: 23.92 kB / 0.5948 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1799, allocations: 4 kB / 0.5948 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.1804, allocations: 75.78 kB / 0.5949 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.301e-05/0.1805, allocations: 55.98 kB / 0.5949 GB, free: 11.16 MB / 0.4981 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.0001754/0.1807, allocations: 164 kB / 0.5951 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.1807, allocations: 23.72 kB / 0.5951 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.172e-05/0.1808, allocations: 30.25 kB / 0.5951 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1808, allocations: 7.938 kB / 0.5951 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1808, allocations: 0 / 0.5951 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1808, allocations: 7.984 kB / 0.5952 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007472/0.1816, allocations: 0.559 MB / 0.5957 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1816, allocations: 0 / 0.5957 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.1816, allocations: 8 kB / 0.5957 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.1816, allocations: 7.984 kB / 0.5957 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.1817, allocations: 7.984 kB / 0.5957 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1817, allocations: 0 / 0.5957 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1817, allocations: 3.938 kB / 0.5957 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.1821, allocations: 323 kB / 0.596 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.1823, allocations: 168.5 kB / 0.5962 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.1823, allocations: 11.98 kB / 0.5962 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.1826, allocations: 8 kB / 0.5962 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.1826, allocations: 19.97 kB / 0.5962 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.1827, allocations: 27.98 kB / 0.5963 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001798/0.1828, allocations: 209.9 kB / 0.5965 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1829, allocations: 4 kB / 0.5965 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000317/0.1832, allocations: 44 kB / 0.5965 GB, free: 9.449 MB / 0.4981 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.0001329/0.1833, allocations: 119.2 kB / 0.5966 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005462/0.1839, allocations: 344.4 kB / 0.5969 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1839, allocations: 0 / 0.5969 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.184, allocations: 71.91 kB / 0.597 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1844, allocations: 32.91 kB / 0.597 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006607/0.1851, allocations: 462.8 kB / 0.5975 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.1854, allocations: 0.7445 MB / 0.5982 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001456/0.1855, allocations: 49.41 kB / 0.5983 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.1856, allocations: 31.42 kB / 0.5983 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of SimCode: time 1.774e-06/0.1856, allocations: 0 / 0.5983 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of Templates: time 0.007216/0.1929, allocations: 3.973 MB / 0.6022 GB, free: 3.598 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)