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.001212/0.001212, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001203/0.001203, allocations: 197.5 kB / 16.91 MB, free: 6.195 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.334/1.334, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.797/0.797, allocations: 135.1 MB / 425.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 63.91 kB / 0.5055 GB, free: 8.777 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3591, allocations: 80.91 MB / 0.5845 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002328/0.3615, allocations: 1.535 MB / 0.586 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007408/0.3622, allocations: 412 kB / 0.5864 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.346e-05/0.3623, allocations: 5.25 kB / 0.5864 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.623e-05/0.3624, allocations: 3.984 kB / 0.5864 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.074e-05/0.3625, allocations: 23.58 kB / 0.5864 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.363, allocations: 232.5 kB / 0.5867 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.3633, allocations: 317 kB / 0.587 GB, free: 23.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.3634, allocations: 9.125 kB / 0.587 GB, free: 23.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.3636, allocations: 228.9 kB / 0.5872 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.3638, allocations: 128 kB / 0.5873 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.3639, allocations: 19.53 kB / 0.5873 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.588e-05/0.364, allocations: 18.66 kB / 0.5873 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.3641, allocations: 78.69 kB / 0.5874 GB, free: 23.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.3642, allocations: 130.8 kB / 0.5875 GB, free: 23.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.3644, allocations: 210.1 kB / 0.5877 GB, free: 22.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3644, allocations: 2.094 kB / 0.5877 GB, free: 22.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3644, allocations: 0 / 0.5877 GB, free: 22.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.3644, allocations: 1.094 kB / 0.5877 GB, free: 22.95 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.001088/0.3655, allocations: 0.7046 MB / 0.5884 GB, free: 22.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3656, allocations: 11.86 kB / 0.5884 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.942e-05/0.3657, allocations: 29.84 kB / 0.5885 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.3659, allocations: 258.7 kB / 0.5887 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.366, allocations: 12.19 kB / 0.5887 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/0.366, allocations: 18.52 kB / 0.5887 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.3663, allocations: 144.9 kB / 0.5889 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.3663, allocations: 0 / 0.5889 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.3664, allocations: 1.969 kB / 0.5889 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3664, allocations: 9.266 kB / 0.5889 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.3665, allocations: 50.84 kB / 0.5889 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.3668, allocations: 320.8 kB / 0.5892 GB, free: 21.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.3671, allocations: 123.7 kB / 0.5894 GB, free: 21.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.3672, allocations: 58.89 kB / 0.5894 GB, free: 21.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3672, allocations: 6.125 kB / 0.5894 GB, free: 21.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004336/0.3677, allocations: 221.6 kB / 0.5896 GB, free: 21.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.3677, allocations: 0 / 0.5896 GB, free: 21.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005066/0.3682, allocations: 271.5 kB / 0.5899 GB, free: 21.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.3682, allocations: 69.17 kB / 0.59 GB, free: 20.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.3684, allocations: 286.9 kB / 0.5902 GB, free: 20.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.3685, allocations: 41.7 kB / 0.5903 GB, free: 20.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.3685, allocations: 94.38 kB / 0.5904 GB, free: 20.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.3686, allocations: 43.44 kB / 0.5904 GB, free: 20.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.3687, allocations: 105.7 kB / 0.5905 GB, free: 20.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.487e-05/0.3688, allocations: 324.7 kB / 0.5908 GB, free: 20.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.369, allocations: 96.17 kB / 0.5909 GB, free: 19.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.3692, allocations: 143.6 kB / 0.591 GB, free: 19.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.3694, allocations: 250.9 kB / 0.5913 GB, free: 19.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3694, allocations: 0 / 0.5913 GB, free: 19.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005631/0.37, allocations: 420.6 kB / 0.5917 GB, free: 19.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/0.3701, allocations: 71.39 kB / 0.5918 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3701, allocations: 0 / 0.5918 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3701, allocations: 4 kB / 0.5918 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.3703, allocations: 31.91 kB / 0.5918 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.3703, allocations: 8.578 kB / 0.5918 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/0.3708, allocations: 61.3 kB / 0.5919 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.3709, allocations: 53.23 kB / 0.5919 GB, free: 18.88 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.0001391/0.371, allocations: 182.2 kB / 0.5921 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.371, allocations: 23.72 kB / 0.5921 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.3711, allocations: 26.25 kB / 0.5921 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3711, allocations: 4 kB / 0.5921 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3711, allocations: 0 / 0.5921 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3711, allocations: 1.906 kB / 0.5921 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006111/0.3717, allocations: 0.5606 MB / 0.5927 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3718, allocations: 0 / 0.5927 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.3718, allocations: 8 kB / 0.5927 GB, free: 18.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3718, allocations: 0.875 kB / 0.5927 GB, free: 18.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.3718, allocations: 15.98 kB / 0.5927 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3718, allocations: 8.766 kB / 0.5927 GB, free: 17.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3719, allocations: 3.938 kB / 0.5927 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.3722, allocations: 323.4 kB / 0.593 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.3723, allocations: 156.6 kB / 0.5932 GB, free: 17.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.3724, allocations: 12 kB / 0.5932 GB, free: 17.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.3726, allocations: 16.89 kB / 0.5932 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.3726, allocations: 17.08 kB / 0.5932 GB, free: 17.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.3727, allocations: 31.97 kB / 0.5933 GB, free: 17.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.3728, allocations: 205.9 kB / 0.5934 GB, free: 17.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3728, allocations: 1.219 kB / 0.5934 GB, free: 17.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.3731, allocations: 51.98 kB / 0.5935 GB, free: 17.16 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.0001116/0.3732, allocations: 114.2 kB / 0.5936 GB, free: 17.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.3737, allocations: 347.6 kB / 0.5939 GB, free: 16.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.3737, allocations: 6.562 kB / 0.5939 GB, free: 16.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.3739, allocations: 71.95 kB / 0.594 GB, free: 16.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.3742, allocations: 25.89 kB / 0.594 GB, free: 16.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.3748, allocations: 0.4961 MB / 0.5945 GB, free: 16.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.375, allocations: 0.7411 MB / 0.5952 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.3751, allocations: 42.12 kB / 0.5953 GB, free: 15.26 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3751, allocations: 0 / 0.5953 GB, free: 15.26 MB / 446.1 MB Notification: Performance of Templates: time 0.003965/0.3791, allocations: 2.991 MB / 0.5982 GB, free: 12.32 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)