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.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/package.mo", uses=false) 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.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_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001733/0.001733, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001971/0.001971, allocations: 191 kB / 17.29 MB, free: 5.516 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7882/0.7882, allocations: 132.2 MB / 423.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3742, allocations: 80.18 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002593/0.3768, allocations: 1.471 MB / 0.5829 GB, free: 26.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009008/0.3777, allocations: 431.2 kB / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.3778, allocations: 2.969 kB / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.381e-05/0.3779, allocations: 7.875 kB / 0.5833 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.787e-05/0.378, allocations: 20.83 kB / 0.5834 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006617/0.3787, allocations: 243.8 kB / 0.5836 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.3791, allocations: 319.2 kB / 0.5839 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.954e-05/0.3791, allocations: 20.7 kB / 0.5839 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.3794, allocations: 185.6 kB / 0.5841 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.3796, allocations: 118.5 kB / 0.5842 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.3797, allocations: 18.38 kB / 0.5842 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.3e-05/0.3797, allocations: 18.09 kB / 0.5842 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.3799, allocations: 77.66 kB / 0.5843 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.38, allocations: 124.4 kB / 0.5844 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.3803, allocations: 280.4 kB / 0.5847 GB, free: 25.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3803, allocations: 0.7812 kB / 0.5847 GB, free: 25.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3803, allocations: 0 / 0.5847 GB, free: 25.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.3804, allocations: 0.5 kB / 0.5847 GB, free: 25.29 MB / 446.1 MB 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.001208/0.3816, allocations: 0.6945 MB / 0.5854 GB, free: 24.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.3816, allocations: 12.31 kB / 0.5854 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.3817, allocations: 31.5 kB / 0.5854 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.3821, allocations: 263.4 kB / 0.5857 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.3821, allocations: 13.16 kB / 0.5857 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-05/0.3822, allocations: 26.77 kB / 0.5857 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.3825, allocations: 143.6 kB / 0.5858 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3825, allocations: 1.438 kB / 0.5858 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.3826, allocations: 5.219 kB / 0.5859 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3826, allocations: 2.281 kB / 0.5859 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.3827, allocations: 53.41 kB / 0.5859 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.383, allocations: 309.1 kB / 0.5862 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.3833, allocations: 135.3 kB / 0.5863 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.3835, allocations: 57.92 kB / 0.5864 GB, free: 23.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.3835, allocations: 4.844 kB / 0.5864 GB, free: 23.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004118/0.3839, allocations: 216.3 kB / 0.5866 GB, free: 23.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.3839, allocations: 0.875 kB / 0.5866 GB, free: 23.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.000588/0.3845, allocations: 271.5 kB / 0.5869 GB, free: 23.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.3846, allocations: 73.72 kB / 0.5869 GB, free: 23.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.3849, allocations: 286.5 kB / 0.5872 GB, free: 23.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.385, allocations: 36.98 kB / 0.5872 GB, free: 23.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.385, allocations: 94.59 kB / 0.5873 GB, free: 23.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.3851, allocations: 41.86 kB / 0.5874 GB, free: 23.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.3853, allocations: 101.4 kB / 0.5875 GB, free: 23.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.018e-05/0.3853, allocations: 326.4 kB / 0.5878 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.3855, allocations: 91.61 kB / 0.5879 GB, free: 22.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.3857, allocations: 143 kB / 0.588 GB, free: 22.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.386, allocations: 251.7 kB / 0.5882 GB, free: 22.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.386, allocations: 6.062 kB / 0.5882 GB, free: 22.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006204/0.3867, allocations: 410.8 kB / 0.5886 GB, free: 22.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.969e-05/0.3867, allocations: 75.62 kB / 0.5887 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3867, allocations: 2.344 kB / 0.5887 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.3868, allocations: 7.781 kB / 0.5887 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.387, allocations: 28.14 kB / 0.5887 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.387, allocations: 10.84 kB / 0.5888 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.3875, allocations: 58.92 kB / 0.5888 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.54e-05/0.3876, allocations: 50.36 kB / 0.5889 GB, free: 22.04 MB / 446.1 MB 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.0001794/0.3878, allocations: 172.8 kB / 0.589 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.3878, allocations: 32.72 kB / 0.5891 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.273e-05/0.3879, allocations: 34.5 kB / 0.5891 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3879, allocations: 1.344 kB / 0.5891 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.3879, allocations: 1.531 kB / 0.5891 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3879, allocations: 3.984 kB / 0.5891 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007809/0.3887, allocations: 0.554 MB / 0.5896 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3887, allocations: 1.75 kB / 0.5896 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.3888, allocations: 7.031 kB / 0.5896 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3888, allocations: 1.031 kB / 0.5896 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.3888, allocations: 17.53 kB / 0.5897 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3888, allocations: 3.031 kB / 0.5897 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3888, allocations: 0 / 0.5897 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.3893, allocations: 330.8 kB / 0.59 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.3894, allocations: 157.2 kB / 0.5901 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.3895, allocations: 11.94 kB / 0.5901 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.3897, allocations: 14.11 kB / 0.5902 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.3898, allocations: 15.97 kB / 0.5902 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.3898, allocations: 35.98 kB / 0.5902 GB, free: 20.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.39, allocations: 209.9 kB / 0.5904 GB, free: 20.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.39, allocations: 2.562 kB / 0.5904 GB, free: 20.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.3903, allocations: 48 kB / 0.5905 GB, free: 20.64 MB / 446.1 MB 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.0001206/0.3904, allocations: 110.4 kB / 0.5906 GB, free: 20.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004489/0.3909, allocations: 347.6 kB / 0.5909 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3909, allocations: 0 / 0.5909 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.391, allocations: 72.84 kB / 0.591 GB, free: 20.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3913, allocations: 22.12 kB / 0.591 GB, free: 20.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.3919, allocations: 384.4 kB / 0.5913 GB, free: 19.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.3921, allocations: 0.7402 MB / 0.5921 GB, free: 18.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.3922, allocations: 36.66 kB / 0.5921 GB, free: 18.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3923, allocations: 45.75 kB / 0.5921 GB, free: 18.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3923, allocations: 0 / 0.5921 GB, free: 18.84 MB / 446.1 MB Notification: Performance of Templates: time 0.006158/0.3985, allocations: 4.071 MB / 0.5961 GB, free: 14.83 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (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 & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)