Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001275/0.001275, allocations: 191.4 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.288/1.288, 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.7954/0.7954, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001147, allocations: 59.91 kB / 0.5067 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3518, allocations: 80.9 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002316/0.3541, allocations: 1.489 MB / 0.5872 GB, free: 24.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007722/0.3549, allocations: 424.7 kB / 0.5876 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.355, allocations: 1.25 kB / 0.5876 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.22e-05/0.355, allocations: 3.938 kB / 0.5876 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.838e-05/0.3552, allocations: 26 kB / 0.5876 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.3557, allocations: 235.6 kB / 0.5879 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.3561, allocations: 326.6 kB / 0.5882 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.3561, allocations: 14.12 kB / 0.5882 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.3563, allocations: 191.2 kB / 0.5884 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.3565, allocations: 109.3 kB / 0.5885 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.016e-05/0.3566, allocations: 17.59 kB / 0.5885 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.497e-05/0.3567, allocations: 19.84 kB / 0.5885 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.433e-05/0.3567, allocations: 85 kB / 0.5886 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.3569, allocations: 119.4 kB / 0.5887 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.3571, allocations: 290.2 kB / 0.589 GB, free: 23.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3571, allocations: 0 / 0.589 GB, free: 23.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3571, allocations: 2.062 kB / 0.589 GB, free: 23.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3571, allocations: 0 / 0.589 GB, free: 23.21 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.0008729/0.358, allocations: 0.6959 MB / 0.5897 GB, free: 22.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.358, allocations: 10.86 kB / 0.5897 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.3581, allocations: 32.66 kB / 0.5897 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.3584, allocations: 263.6 kB / 0.59 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.3584, allocations: 8.375 kB / 0.59 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/0.3585, allocations: 25.14 kB / 0.59 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.3587, allocations: 145.5 kB / 0.5901 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.3587, allocations: 0 / 0.5901 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.3587, allocations: 9.328 kB / 0.5901 GB, free: 21.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3588, allocations: 4 kB / 0.5901 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.3589, allocations: 47.97 kB / 0.5902 GB, free: 21.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002215/0.3591, allocations: 309.9 kB / 0.5905 GB, free: 21.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.3593, allocations: 136.3 kB / 0.5906 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3594, allocations: 57.42 kB / 0.5907 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.3595, allocations: 5.656 kB / 0.5907 GB, free: 21.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003594/0.3598, allocations: 209.9 kB / 0.5909 GB, free: 21.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.3598, allocations: 3.219 kB / 0.5909 GB, free: 21.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.000484/0.3603, allocations: 271.5 kB / 0.5911 GB, free: 20.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.3604, allocations: 63.31 kB / 0.5912 GB, free: 20.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.3606, allocations: 291 kB / 0.5915 GB, free: 20.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.3606, allocations: 37.7 kB / 0.5915 GB, free: 20.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.3607, allocations: 89.14 kB / 0.5916 GB, free: 20.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.3607, allocations: 47.44 kB / 0.5916 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.3608, allocations: 106.2 kB / 0.5917 GB, free: 20.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.505e-05/0.3609, allocations: 323.4 kB / 0.5921 GB, free: 19.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.361, allocations: 92.7 kB / 0.5921 GB, free: 19.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.3612, allocations: 150.1 kB / 0.5923 GB, free: 19.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.3615, allocations: 246.1 kB / 0.5925 GB, free: 19.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3615, allocations: 4 kB / 0.5925 GB, free: 19.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004934/0.362, allocations: 413.1 kB / 0.5929 GB, free: 18.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/0.362, allocations: 75.38 kB / 0.593 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.362, allocations: 0 / 0.593 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3621, allocations: 4 kB / 0.593 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.3622, allocations: 29.33 kB / 0.593 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3622, allocations: 4 kB / 0.593 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/0.3627, allocations: 61.55 kB / 0.5931 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.107e-05/0.3627, allocations: 55.97 kB / 0.5931 GB, free: 18.67 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.0001202/0.3629, allocations: 172.8 kB / 0.5933 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.3629, allocations: 28.84 kB / 0.5933 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.3629, allocations: 26.25 kB / 0.5934 GB, free: 18.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3629, allocations: 6.562 kB / 0.5934 GB, free: 18.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.363, allocations: 0 / 0.5934 GB, free: 18.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.363, allocations: 3.984 kB / 0.5934 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005934/0.3636, allocations: 0.5683 MB / 0.5939 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3636, allocations: 0 / 0.5939 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.824e-05/0.3636, allocations: 4 kB / 0.5939 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3636, allocations: 0.9375 kB / 0.5939 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.3637, allocations: 19.97 kB / 0.5939 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3637, allocations: 3.938 kB / 0.5939 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3637, allocations: 1.469 kB / 0.5939 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.364, allocations: 324.1 kB / 0.5943 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.3641, allocations: 156.6 kB / 0.5944 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.3642, allocations: 8 kB / 0.5944 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.3644, allocations: 11.98 kB / 0.5944 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.3644, allocations: 15.97 kB / 0.5944 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.3645, allocations: 32.67 kB / 0.5945 GB, free: 17.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.3646, allocations: 210.4 kB / 0.5947 GB, free: 17.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3646, allocations: 0 / 0.5947 GB, free: 17.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.3649, allocations: 51.38 kB / 0.5947 GB, free: 16.96 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.0001001/0.365, allocations: 115.8 kB / 0.5948 GB, free: 16.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004115/0.3654, allocations: 342.6 kB / 0.5952 GB, free: 16.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3654, allocations: 0 / 0.5952 GB, free: 16.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.3655, allocations: 72.75 kB / 0.5952 GB, free: 16.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.3658, allocations: 22.16 kB / 0.5952 GB, free: 16.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.3664, allocations: 385.8 kB / 0.5956 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.3666, allocations: 0.7387 MB / 0.5963 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.3667, allocations: 39.27 kB / 0.5964 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.829e-05/0.3668, allocations: 41.77 kB / 0.5964 GB, free: 15.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3668, allocations: 0 / 0.5964 GB, free: 15.16 MB / 446.1 MB Notification: Performance of Templates: time 0.005853/0.3727, allocations: 4.074 MB / 0.6004 GB, free: 11.13 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)