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.001239/0.001239, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001302/0.001302, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7894/0.7894, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 59.91 kB / 0.5067 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3702, allocations: 80.91 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002312/0.3726, allocations: 1.483 MB / 0.5872 GB, free: 24.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007903/0.3734, allocations: 418.3 kB / 0.5876 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.3735, allocations: 3.938 kB / 0.5876 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.852e-05/0.3736, allocations: 8.875 kB / 0.5876 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.552e-05/0.3737, allocations: 23.75 kB / 0.5876 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005795/0.3742, allocations: 240.9 kB / 0.5879 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.3746, allocations: 325.1 kB / 0.5882 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.3746, allocations: 17.7 kB / 0.5882 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.3748, allocations: 183.3 kB / 0.5884 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.375, allocations: 113.3 kB / 0.5885 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.3751, allocations: 18.47 kB / 0.5885 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.999e-05/0.3752, allocations: 19 kB / 0.5885 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.811e-05/0.3753, allocations: 82.47 kB / 0.5886 GB, free: 23.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.3754, allocations: 123.5 kB / 0.5887 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.3756, allocations: 283.4 kB / 0.589 GB, free: 23.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3756, allocations: 0 / 0.589 GB, free: 23.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3756, allocations: 2.594 kB / 0.589 GB, free: 23.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.3757, allocations: 0 / 0.589 GB, free: 23.23 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.001091/0.3768, allocations: 0.6958 MB / 0.5897 GB, free: 22.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.3768, allocations: 13.83 kB / 0.5897 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.407e-05/0.3769, allocations: 29.91 kB / 0.5897 GB, free: 22.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.3772, allocations: 259.6 kB / 0.59 GB, free: 22.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.3772, allocations: 12.38 kB / 0.59 GB, free: 22.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/0.3773, allocations: 27.92 kB / 0.59 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.3775, allocations: 138.8 kB / 0.5901 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3775, allocations: 3.938 kB / 0.5901 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.3776, allocations: 8.5 kB / 0.5901 GB, free: 21.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3776, allocations: 0 / 0.5901 GB, free: 21.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3777, allocations: 52.47 kB / 0.5902 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.3779, allocations: 313.8 kB / 0.5905 GB, free: 21.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.3782, allocations: 128.8 kB / 0.5906 GB, free: 21.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.3783, allocations: 61.42 kB / 0.5907 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.3783, allocations: 4 kB / 0.5907 GB, free: 21.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003695/0.3787, allocations: 214.1 kB / 0.5909 GB, free: 21.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.3787, allocations: 4 kB / 0.5909 GB, free: 21.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004986/0.3792, allocations: 270 kB / 0.5911 GB, free: 20.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.3793, allocations: 67.3 kB / 0.5912 GB, free: 20.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.3795, allocations: 288.5 kB / 0.5915 GB, free: 20.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.3795, allocations: 33.7 kB / 0.5915 GB, free: 20.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.3796, allocations: 97.12 kB / 0.5916 GB, free: 20.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.3796, allocations: 45.06 kB / 0.5916 GB, free: 20.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.3797, allocations: 101.7 kB / 0.5917 GB, free: 20.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.883e-05/0.3798, allocations: 326.8 kB / 0.592 GB, free: 19.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.38, allocations: 94.98 kB / 0.5921 GB, free: 19.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.3802, allocations: 143.8 kB / 0.5923 GB, free: 19.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.3804, allocations: 250.1 kB / 0.5925 GB, free: 19.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3804, allocations: 4.656 kB / 0.5925 GB, free: 19.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005361/0.381, allocations: 412.7 kB / 0.5929 GB, free: 18.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.381, allocations: 75.38 kB / 0.593 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.381, allocations: 4 kB / 0.593 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3811, allocations: 4 kB / 0.593 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.3812, allocations: 29.08 kB / 0.593 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3812, allocations: 3.984 kB / 0.593 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/0.3817, allocations: 57.36 kB / 0.5931 GB, free: 18.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.546e-05/0.3818, allocations: 51.98 kB / 0.5931 GB, free: 18.69 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.0001381/0.3819, allocations: 170.8 kB / 0.5933 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.382, allocations: 31.66 kB / 0.5933 GB, free: 18.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.382, allocations: 30.25 kB / 0.5934 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.382, allocations: 0 / 0.5934 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.382, allocations: 0 / 0.5934 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.382, allocations: 5.547 kB / 0.5934 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006463/0.3827, allocations: 0.5672 MB / 0.5939 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3827, allocations: 0 / 0.5939 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.3828, allocations: 9.156 kB / 0.5939 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3828, allocations: 0 / 0.5939 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.3828, allocations: 15.97 kB / 0.5939 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3828, allocations: 4.969 kB / 0.5939 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3828, allocations: 0 / 0.5939 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.3831, allocations: 320 kB / 0.5942 GB, free: 17.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.3833, allocations: 157.9 kB / 0.5944 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.3834, allocations: 8 kB / 0.5944 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.3836, allocations: 15.98 kB / 0.5944 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.3836, allocations: 21.42 kB / 0.5944 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.3837, allocations: 31.98 kB / 0.5945 GB, free: 17.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001291/0.3838, allocations: 205.9 kB / 0.5947 GB, free: 17.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3838, allocations: 5.125 kB / 0.5947 GB, free: 17.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.3841, allocations: 44 kB / 0.5947 GB, free: 16.98 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.0001043/0.3842, allocations: 122.7 kB / 0.5948 GB, free: 16.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004434/0.3847, allocations: 341.1 kB / 0.5952 GB, free: 16.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3847, allocations: 0 / 0.5952 GB, free: 16.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.3848, allocations: 71.91 kB / 0.5952 GB, free: 16.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.3852, allocations: 21.59 kB / 0.5952 GB, free: 16.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005678/0.3857, allocations: 391.2 kB / 0.5956 GB, free: 16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.3859, allocations: 0.7431 MB / 0.5963 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.386, allocations: 31.59 kB / 0.5964 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.789e-05/0.3861, allocations: 40.09 kB / 0.5964 GB, free: 15.18 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3861, allocations: 0.5 kB / 0.5964 GB, free: 15.18 MB / 446.1 MB Notification: Performance of Templates: time 0.006178/0.3923, allocations: 4.073 MB / 0.6004 GB, free: 11.15 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)