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.001251/0.001251, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001234/0.001234, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.441/1.441, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.859/0.859, allocations: 135.2 MB / 426.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 68.11 kB / 0.506 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.35, allocations: 80.92 MB / 0.5851 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002527/0.3526, allocations: 1.474 MB / 0.5865 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008285/0.3534, allocations: 421.7 kB / 0.5869 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.3535, allocations: 1.219 kB / 0.5869 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.3536, allocations: 12.59 kB / 0.5869 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.862e-05/0.3537, allocations: 19.67 kB / 0.5869 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000614/0.3543, allocations: 249.1 kB / 0.5872 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.3546, allocations: 304.9 kB / 0.5875 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.3547, allocations: 18.94 kB / 0.5875 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.3549, allocations: 189.2 kB / 0.5877 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.3551, allocations: 103.2 kB / 0.5878 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.283e-05/0.3552, allocations: 19.06 kB / 0.5878 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.471e-05/0.3553, allocations: 17.62 kB / 0.5878 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.3554, allocations: 76.94 kB / 0.5879 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.3555, allocations: 125.6 kB / 0.588 GB, free: 23.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.3558, allocations: 291.7 kB / 0.5883 GB, free: 22.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3558, allocations: 2.094 kB / 0.5883 GB, free: 22.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3558, allocations: 0 / 0.5883 GB, free: 22.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3558, allocations: 0 / 0.5883 GB, free: 22.96 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.001033/0.3568, allocations: 0.6939 MB / 0.5889 GB, free: 22.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3569, allocations: 12.7 kB / 0.5889 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.751e-05/0.357, allocations: 30.91 kB / 0.589 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.3572, allocations: 263.3 kB / 0.5892 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.3573, allocations: 14.92 kB / 0.5892 GB, free: 22.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.3573, allocations: 22.59 kB / 0.5893 GB, free: 22.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.3576, allocations: 149.9 kB / 0.5894 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.3576, allocations: 0 / 0.5894 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.3577, allocations: 2.375 kB / 0.5894 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3577, allocations: 2.156 kB / 0.5894 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.3578, allocations: 47.62 kB / 0.5895 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.3581, allocations: 309.4 kB / 0.5898 GB, free: 21.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.3583, allocations: 139.7 kB / 0.5899 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.3585, allocations: 65.86 kB / 0.5899 GB, free: 21.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.3585, allocations: 2.312 kB / 0.59 GB, free: 21.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003842/0.3589, allocations: 212.9 kB / 0.5902 GB, free: 21.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.3589, allocations: 0.5 kB / 0.5902 GB, free: 21.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004993/0.3594, allocations: 272.1 kB / 0.5904 GB, free: 20.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.3594, allocations: 63.3 kB / 0.5905 GB, free: 20.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3596, allocations: 289.5 kB / 0.5908 GB, free: 20.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.3597, allocations: 49.62 kB / 0.5908 GB, free: 20.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.3597, allocations: 85.14 kB / 0.5909 GB, free: 20.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.3598, allocations: 47.45 kB / 0.5909 GB, free: 20.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3599, allocations: 101.7 kB / 0.591 GB, free: 20.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.36, allocations: 324.6 kB / 0.5913 GB, free: 19.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.3601, allocations: 96.17 kB / 0.5914 GB, free: 19.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.3604, allocations: 151.8 kB / 0.5916 GB, free: 19.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.3606, allocations: 242.2 kB / 0.5918 GB, free: 19.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3606, allocations: 1.562 kB / 0.5918 GB, free: 19.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005387/0.3612, allocations: 422.1 kB / 0.5922 GB, free: 18.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.3612, allocations: 75.38 kB / 0.5923 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3613, allocations: 0 / 0.5923 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3613, allocations: 4 kB / 0.5923 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.3614, allocations: 23.98 kB / 0.5923 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3614, allocations: 10.59 kB / 0.5923 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/0.3619, allocations: 63.78 kB / 0.5924 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.362, allocations: 47.98 kB / 0.5924 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.0001298/0.3621, allocations: 179.3 kB / 0.5926 GB, free: 18.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.3622, allocations: 35.58 kB / 0.5926 GB, free: 18.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.3622, allocations: 22.86 kB / 0.5926 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3622, allocations: 7.984 kB / 0.5927 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3622, allocations: 5.125 kB / 0.5927 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3623, allocations: 0 / 0.5927 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005885/0.3628, allocations: 0.5558 MB / 0.5932 GB, free: 17.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3629, allocations: 6.344 kB / 0.5932 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.3629, allocations: 11.92 kB / 0.5932 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3629, allocations: 0 / 0.5932 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.3629, allocations: 15.98 kB / 0.5932 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3629, allocations: 0 / 0.5932 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.363, allocations: 0 / 0.5932 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.3633, allocations: 320.3 kB / 0.5935 GB, free: 17.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.3634, allocations: 157.8 kB / 0.5937 GB, free: 17.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.3635, allocations: 11.98 kB / 0.5937 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.3637, allocations: 11.98 kB / 0.5937 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.3637, allocations: 17.55 kB / 0.5937 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.3638, allocations: 31.98 kB / 0.5938 GB, free: 17.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.3639, allocations: 209.9 kB / 0.594 GB, free: 17.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3639, allocations: 1.375 kB / 0.594 GB, free: 17.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.3643, allocations: 48 kB / 0.594 GB, free: 16.99 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.0001261/0.3644, allocations: 118.5 kB / 0.5941 GB, free: 16.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005273/0.3649, allocations: 358.8 kB / 0.5945 GB, free: 16.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3649, allocations: 0.5312 kB / 0.5945 GB, free: 16.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.3651, allocations: 75.69 kB / 0.5945 GB, free: 16.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.3654, allocations: 28.03 kB / 0.5946 GB, free: 16.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006422/0.3661, allocations: 422.3 kB / 0.595 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.3663, allocations: 0.7435 MB / 0.5957 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.3664, allocations: 41.67 kB / 0.5957 GB, free: 15.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3664, allocations: 0 / 0.5957 GB, free: 15.16 MB / 446.1 MB Notification: Performance of Templates: time 0.004216/0.3706, allocations: 2.987 MB / 0.5986 GB, free: 12.21 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)