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.001438/0.001438, 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.001618/0.001618, 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.386/1.386, 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.7865/0.7865, allocations: 135.1 MB / 426.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 0.5068 GB, free: 7.707 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3563, allocations: 80.91 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002208/0.3586, allocations: 1.469 MB / 0.5872 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007684/0.3593, allocations: 427 kB / 0.5876 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.3594, allocations: 1.188 kB / 0.5876 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.033e-05/0.3595, allocations: 8.594 kB / 0.5876 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.735e-05/0.3596, allocations: 24 kB / 0.5876 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005732/0.3602, allocations: 240.7 kB / 0.5879 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.3605, allocations: 314.8 kB / 0.5882 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.3606, allocations: 14.22 kB / 0.5882 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.3608, allocations: 198.6 kB / 0.5884 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.361, allocations: 110.7 kB / 0.5885 GB, free: 23.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.018e-05/0.3611, allocations: 17.53 kB / 0.5885 GB, free: 23.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.175e-05/0.3611, allocations: 18.72 kB / 0.5885 GB, free: 23.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.3613, allocations: 81.06 kB / 0.5886 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.3614, allocations: 121.5 kB / 0.5887 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.3617, allocations: 283.3 kB / 0.589 GB, free: 23.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3617, allocations: 0 / 0.589 GB, free: 23.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3618, allocations: 1.438 kB / 0.589 GB, free: 23.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.3618, allocations: 4 kB / 0.589 GB, free: 23.25 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.001114/0.3629, allocations: 0.6971 MB / 0.5897 GB, free: 22.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3629, allocations: 17.05 kB / 0.5897 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.061e-05/0.363, allocations: 30.5 kB / 0.5897 GB, free: 22.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.3634, allocations: 259.6 kB / 0.59 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.3634, allocations: 12.38 kB / 0.59 GB, free: 22.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.352e-05/0.3635, allocations: 19.94 kB / 0.59 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.3637, allocations: 142.6 kB / 0.5901 GB, free: 21.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3638, allocations: 0 / 0.5901 GB, free: 21.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.3638, allocations: 7.984 kB / 0.5901 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3638, allocations: 4.609 kB / 0.5901 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.3639, allocations: 55.91 kB / 0.5902 GB, free: 21.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.3642, allocations: 302.7 kB / 0.5905 GB, free: 21.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.3645, allocations: 140.9 kB / 0.5906 GB, free: 21.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.3646, allocations: 56.83 kB / 0.5907 GB, free: 21.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.3647, allocations: 4 kB / 0.5907 GB, free: 21.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/0.3651, allocations: 224.1 kB / 0.5909 GB, free: 21.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.3651, allocations: 0 / 0.5909 GB, free: 21.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.000534/0.3656, allocations: 271.5 kB / 0.5911 GB, free: 20.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.3657, allocations: 59.31 kB / 0.5912 GB, free: 20.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.3659, allocations: 291.8 kB / 0.5915 GB, free: 20.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.3659, allocations: 41.7 kB / 0.5915 GB, free: 20.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.366, allocations: 86.3 kB / 0.5916 GB, free: 20.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.366, allocations: 43.45 kB / 0.5916 GB, free: 20.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.3661, allocations: 111.2 kB / 0.5917 GB, free: 20.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.93e-05/0.3662, allocations: 322.8 kB / 0.592 GB, free: 19.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.3664, allocations: 92.17 kB / 0.5921 GB, free: 19.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.3666, allocations: 142.8 kB / 0.5923 GB, free: 19.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.3668, allocations: 254.3 kB / 0.5925 GB, free: 19.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3668, allocations: 0 / 0.5925 GB, free: 19.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000531/0.3673, allocations: 411.2 kB / 0.5929 GB, free: 18.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.3674, allocations: 80.81 kB / 0.593 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3674, allocations: 4 kB / 0.593 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3674, allocations: 4 kB / 0.593 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.3676, allocations: 23.92 kB / 0.593 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3676, allocations: 5.406 kB / 0.593 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.3681, allocations: 52.73 kB / 0.5931 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-05/0.3682, allocations: 57.05 kB / 0.5931 GB, free: 18.71 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.0001609/0.3683, allocations: 173.3 kB / 0.5933 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.3684, allocations: 28.91 kB / 0.5933 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.634e-05/0.3685, allocations: 34.25 kB / 0.5934 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3685, allocations: 0 / 0.5934 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3685, allocations: 2.406 kB / 0.5934 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3685, allocations: 7.984 kB / 0.5934 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006928/0.3692, allocations: 0.5605 MB / 0.5939 GB, free: 17.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3692, allocations: 0 / 0.5939 GB, free: 17.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.3692, allocations: 8 kB / 0.5939 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3693, allocations: 0 / 0.5939 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.3693, allocations: 12.91 kB / 0.5939 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3693, allocations: 4 kB / 0.5939 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3693, allocations: 1.125 kB / 0.5939 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.3696, allocations: 324.4 kB / 0.5942 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.3698, allocations: 164.6 kB / 0.5944 GB, free: 17.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.3698, allocations: 8 kB / 0.5944 GB, free: 17.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.3701, allocations: 11.98 kB / 0.5944 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.3701, allocations: 23.91 kB / 0.5944 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.3702, allocations: 29.27 kB / 0.5945 GB, free: 17.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001253/0.3703, allocations: 209.9 kB / 0.5947 GB, free: 17.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3703, allocations: 0 / 0.5947 GB, free: 17.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.3706, allocations: 48.53 kB / 0.5947 GB, free: 17 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 9.588e-05/0.3707, allocations: 113.1 kB / 0.5948 GB, free: 16.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004444/0.3711, allocations: 347.2 kB / 0.5952 GB, free: 16.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3712, allocations: 1.781 kB / 0.5952 GB, free: 16.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.3713, allocations: 71.91 kB / 0.5952 GB, free: 16.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.3716, allocations: 23.38 kB / 0.5952 GB, free: 16.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/0.3721, allocations: 383.4 kB / 0.5956 GB, free: 16.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.3723, allocations: 0.7396 MB / 0.5963 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.3724, allocations: 36.39 kB / 0.5964 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.689e-05/0.3725, allocations: 34.08 kB / 0.5964 GB, free: 15.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3725, allocations: 0 / 0.5964 GB, free: 15.2 MB / 446.1 MB Notification: Performance of Templates: time 0.006883/0.3794, allocations: 4.076 MB / 0.6004 GB, free: 11.17 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)