Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 107 kB / 16.36 MB, free: 6.336 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.001258/0.001258, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7751/0.7751, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 0.5067 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3579, allocations: 80.92 MB / 0.5858 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002174/0.3601, allocations: 1.461 MB / 0.5872 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000711/0.3609, allocations: 433.9 kB / 0.5876 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.3609, allocations: 0 / 0.5876 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.435e-05/0.361, allocations: 7.875 kB / 0.5876 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.811e-05/0.3611, allocations: 24.44 kB / 0.5876 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.3617, allocations: 243.8 kB / 0.5879 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.362, allocations: 315.5 kB / 0.5882 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.362, allocations: 13.09 kB / 0.5882 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.3623, allocations: 190.9 kB / 0.5884 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.3625, allocations: 112.2 kB / 0.5885 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.3625, allocations: 19.25 kB / 0.5885 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.893e-05/0.3626, allocations: 18.75 kB / 0.5885 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.171e-05/0.3627, allocations: 76.47 kB / 0.5886 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.3628, allocations: 125.9 kB / 0.5887 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.363, allocations: 281.8 kB / 0.589 GB, free: 23.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.363, allocations: 3.984 kB / 0.589 GB, free: 23.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.363, allocations: 0 / 0.589 GB, free: 23.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3631, allocations: 4.562 kB / 0.589 GB, free: 23.4 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.0009553/0.364, allocations: 0.6936 MB / 0.5896 GB, free: 22.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.3641, allocations: 14.48 kB / 0.5897 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.802e-05/0.3641, allocations: 32.66 kB / 0.5897 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.3644, allocations: 259.6 kB / 0.5899 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.3644, allocations: 12.31 kB / 0.5899 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.3645, allocations: 25.27 kB / 0.59 GB, free: 22.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.3647, allocations: 145.5 kB / 0.5901 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3647, allocations: 0 / 0.5901 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.3648, allocations: 1.062 kB / 0.5901 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3648, allocations: 4 kB / 0.5901 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.3649, allocations: 43.97 kB / 0.5902 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.3651, allocations: 314.3 kB / 0.5905 GB, free: 21.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.3654, allocations: 140.2 kB / 0.5906 GB, free: 21.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.3655, allocations: 61.48 kB / 0.5906 GB, free: 21.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3655, allocations: 4.797 kB / 0.5907 GB, free: 21.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003004/0.3658, allocations: 218.6 kB / 0.5909 GB, free: 21.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.3658, allocations: 0 / 0.5909 GB, free: 21.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004474/0.3663, allocations: 268 kB / 0.5911 GB, free: 21.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.3663, allocations: 64.83 kB / 0.5912 GB, free: 20.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.3665, allocations: 287 kB / 0.5915 GB, free: 20.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.3665, allocations: 41.7 kB / 0.5915 GB, free: 20.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.3666, allocations: 90.75 kB / 0.5916 GB, free: 20.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.3666, allocations: 47.44 kB / 0.5916 GB, free: 20.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.3667, allocations: 105.7 kB / 0.5917 GB, free: 20.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.022e-05/0.3668, allocations: 319.4 kB / 0.592 GB, free: 20.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.367, allocations: 97.86 kB / 0.5921 GB, free: 19.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.3671, allocations: 148.6 kB / 0.5923 GB, free: 19.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.3674, allocations: 238.4 kB / 0.5925 GB, free: 19.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3674, allocations: 0 / 0.5925 GB, free: 19.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005194/0.3679, allocations: 425.5 kB / 0.5929 GB, free: 19.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.368, allocations: 75.39 kB / 0.593 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.368, allocations: 3.984 kB / 0.593 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.368, allocations: 7.938 kB / 0.593 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.3682, allocations: 23.97 kB / 0.593 GB, free: 18.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3682, allocations: 8.438 kB / 0.593 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.3686, allocations: 57.83 kB / 0.5931 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/0.3687, allocations: 53.58 kB / 0.5931 GB, free: 18.86 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.0001244/0.3688, allocations: 172.8 kB / 0.5933 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.3688, allocations: 33.67 kB / 0.5933 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/0.3689, allocations: 30.25 kB / 0.5933 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3689, allocations: 7.938 kB / 0.5934 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3689, allocations: 0 / 0.5934 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3689, allocations: 0 / 0.5934 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005922/0.3695, allocations: 0.5535 MB / 0.5939 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3695, allocations: 2.219 kB / 0.5939 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.3696, allocations: 15.92 kB / 0.5939 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3696, allocations: 0 / 0.5939 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.3696, allocations: 11.98 kB / 0.5939 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3696, allocations: 0 / 0.5939 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3696, allocations: 0 / 0.5939 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.3699, allocations: 322.6 kB / 0.5942 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.3701, allocations: 158.4 kB / 0.5944 GB, free: 17.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.3701, allocations: 19.92 kB / 0.5944 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.3703, allocations: 7.984 kB / 0.5944 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.3704, allocations: 21.47 kB / 0.5944 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.3704, allocations: 27.98 kB / 0.5945 GB, free: 17.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.3706, allocations: 209.9 kB / 0.5947 GB, free: 17.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3706, allocations: 0 / 0.5947 GB, free: 17.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.3708, allocations: 53.22 kB / 0.5947 GB, free: 17.14 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 8.679e-05/0.3709, allocations: 112.8 kB / 0.5948 GB, free: 17.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004105/0.3714, allocations: 347.6 kB / 0.5951 GB, free: 16.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3714, allocations: 0 / 0.5951 GB, free: 16.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.3715, allocations: 68.56 kB / 0.5952 GB, free: 16.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.3718, allocations: 26.25 kB / 0.5952 GB, free: 16.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.3723, allocations: 385.9 kB / 0.5956 GB, free: 16.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.3725, allocations: 0.7484 MB / 0.5963 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.784e-05/0.3726, allocations: 35.02 kB / 0.5964 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.379e-05/0.3727, allocations: 38.95 kB / 0.5964 GB, free: 15.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3727, allocations: 0 / 0.5964 GB, free: 15.34 MB / 446.1 MB Notification: Performance of Templates: time 0.005609/0.3783, allocations: 4.059 MB / 0.6004 GB, free: 11.33 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)