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.001527/0.001527, allocations: 102.2 kB / 16.27 MB, free: 6 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.001517/0.001517, allocations: 191 kB / 17.2 MB, free: 5.609 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8429/0.8429, allocations: 135.2 MB / 426.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.89 kB / 0.506 GB, free: 8.336 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.349, allocations: 80.93 MB / 0.5851 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002307/0.3514, allocations: 1.462 MB / 0.5865 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008045/0.3522, allocations: 430.8 kB / 0.5869 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.3523, allocations: 1.25 kB / 0.5869 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.448e-05/0.3524, allocations: 8.875 kB / 0.5869 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.874e-05/0.3525, allocations: 24.31 kB / 0.5869 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005704/0.3531, allocations: 241.2 kB / 0.5872 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.3533, allocations: 305.1 kB / 0.5875 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.3534, allocations: 14.27 kB / 0.5875 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.3536, allocations: 195.5 kB / 0.5877 GB, free: 23.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.3538, allocations: 104.8 kB / 0.5878 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.517e-05/0.3539, allocations: 18.06 kB / 0.5878 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-05/0.354, allocations: 19.44 kB / 0.5878 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.244e-05/0.3541, allocations: 76.94 kB / 0.5879 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.3542, allocations: 126 kB / 0.588 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.3544, allocations: 291.4 kB / 0.5883 GB, free: 22.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3545, allocations: 0.5 kB / 0.5883 GB, free: 22.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3545, allocations: 0.9062 kB / 0.5883 GB, free: 22.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3545, allocations: 1.625 kB / 0.5883 GB, free: 22.92 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.000996/0.3555, allocations: 0.6972 MB / 0.5889 GB, free: 22.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3555, allocations: 10.3 kB / 0.589 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.388e-05/0.3556, allocations: 35.56 kB / 0.589 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.3559, allocations: 263.9 kB / 0.5892 GB, free: 22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.3559, allocations: 11.75 kB / 0.5892 GB, free: 21.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-05/0.356, allocations: 23.45 kB / 0.5893 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.3562, allocations: 151.4 kB / 0.5894 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.3563, allocations: 0 / 0.5894 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.3563, allocations: 2.094 kB / 0.5894 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3563, allocations: 1.375 kB / 0.5894 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.3564, allocations: 48.16 kB / 0.5895 GB, free: 21.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.3567, allocations: 313.6 kB / 0.5898 GB, free: 21.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.3569, allocations: 135.1 kB / 0.5899 GB, free: 21.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.357, allocations: 54.03 kB / 0.5899 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.3571, allocations: 7.984 kB / 0.59 GB, free: 21.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003665/0.3574, allocations: 215 kB / 0.5902 GB, free: 21.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 2.615e-06/0.3575, allocations: 1.125 kB / 0.5902 GB, free: 21.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004923/0.358, allocations: 271.4 kB / 0.5904 GB, free: 20.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.358, allocations: 71.25 kB / 0.5905 GB, free: 20.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.3582, allocations: 284 kB / 0.5908 GB, free: 20.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.3582, allocations: 41.69 kB / 0.5908 GB, free: 20.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.3583, allocations: 90.17 kB / 0.5909 GB, free: 20.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.3583, allocations: 47.39 kB / 0.5909 GB, free: 20.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.3585, allocations: 107.5 kB / 0.591 GB, free: 20.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.545e-05/0.3585, allocations: 322.8 kB / 0.5913 GB, free: 19.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.3587, allocations: 96.17 kB / 0.5914 GB, free: 19.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.3589, allocations: 149 kB / 0.5916 GB, free: 19.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.3591, allocations: 244 kB / 0.5918 GB, free: 19.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3592, allocations: 0 / 0.5918 GB, free: 19.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005354/0.3597, allocations: 418.4 kB / 0.5922 GB, free: 18.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.3597, allocations: 75.38 kB / 0.5923 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3598, allocations: 4 kB / 0.5923 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3598, allocations: 5.531 kB / 0.5923 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.3599, allocations: 27.92 kB / 0.5923 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.36, allocations: 0 / 0.5923 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.3604, allocations: 65.81 kB / 0.5924 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/0.3605, allocations: 59.92 kB / 0.5924 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.0001311/0.3607, allocations: 174.5 kB / 0.5926 GB, free: 18.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.3607, allocations: 30.06 kB / 0.5926 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.3607, allocations: 30.25 kB / 0.5927 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3608, allocations: 0 / 0.5927 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3608, allocations: 0 / 0.5927 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3608, allocations: 7.984 kB / 0.5927 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005925/0.3614, allocations: 0.5581 MB / 0.5932 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3614, allocations: 0 / 0.5932 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.3614, allocations: 8 kB / 0.5932 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3614, allocations: 1.375 kB / 0.5932 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.3615, allocations: 19.97 kB / 0.5932 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3615, allocations: 4 kB / 0.5932 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3615, allocations: 0 / 0.5932 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.3618, allocations: 323.4 kB / 0.5935 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.3619, allocations: 156.6 kB / 0.5937 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.362, allocations: 12 kB / 0.5937 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.3622, allocations: 12.95 kB / 0.5937 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.3623, allocations: 15.97 kB / 0.5937 GB, free: 17.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.3623, allocations: 33.42 kB / 0.5938 GB, free: 17.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.3624, allocations: 209.9 kB / 0.594 GB, free: 17 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.3624, allocations: 0 / 0.594 GB, free: 17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000289/0.3627, allocations: 49.34 kB / 0.594 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 9.217e-05/0.3628, allocations: 116.7 kB / 0.5941 GB, free: 16.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004534/0.3633, allocations: 353 kB / 0.5945 GB, free: 16.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3633, allocations: 0 / 0.5945 GB, free: 16.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.3634, allocations: 74.41 kB / 0.5945 GB, free: 16.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.3638, allocations: 28.86 kB / 0.5946 GB, free: 16.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006999/0.3645, allocations: 421.4 kB / 0.595 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.3647, allocations: 0.7408 MB / 0.5957 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.3648, allocations: 41.06 kB / 0.5957 GB, free: 15.13 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3648, allocations: 0.8438 kB / 0.5957 GB, free: 15.13 MB / 446.1 MB Notification: Performance of Templates: time 0.004393/0.3692, allocations: 3.004 MB / 0.5987 GB, free: 12.18 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)