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.0007497/0.0007497, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008281/0.0008281, allocations: 185.3 kB / 16.92 MB, free: 6.77 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.341/1.341, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9456/0.9456, allocations: 135.3 MB / 427.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003001, allocations: 8 kB / 0.5082 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1415, allocations: 82.31 MB / 0.5886 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001439/0.143, allocations: 1.192 MB / 0.5898 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008814/0.1439, allocations: 443.4 kB / 0.5902 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.1439, allocations: 0 / 0.5902 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.268e-05/0.144, allocations: 3.938 kB / 0.5902 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.771e-05/0.1441, allocations: 24.28 kB / 0.5902 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.1447, allocations: 218.5 kB / 0.5904 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.145, allocations: 299.8 kB / 0.5907 GB, free: 456 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.145, allocations: 4 kB / 0.5907 GB, free: 452 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.1453, allocations: 210.3 kB / 0.5909 GB, free: 244 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.1455, allocations: 131.6 kB / 0.591 GB, free: 112 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.1456, allocations: 8 kB / 0.5911 GB, free: 104 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.647e-05/0.1456, allocations: 12 kB / 0.5911 GB, free: 92 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.594e-05/0.1457, allocations: 71.78 kB / 0.5911 GB, free: 20 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.1459, allocations: 149.2 kB / 0.5913 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.1461, allocations: 195.7 kB / 0.5915 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1461, allocations: 0 / 0.5915 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1461, allocations: 0 / 0.5915 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1461, allocations: 0 / 0.5915 GB, free: 15.68 MB / 0.4981 GB 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.0009802/0.1471, allocations: 0.6219 MB / 0.5921 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1472, allocations: 12.03 kB / 0.5921 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.989e-05/0.1472, allocations: 27.72 kB / 0.5921 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.1475, allocations: 266.2 kB / 0.5924 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.1476, allocations: 8 kB / 0.5924 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.1476, allocations: 23.98 kB / 0.5924 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.1479, allocations: 145.5 kB / 0.5925 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1479, allocations: 0 / 0.5925 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.148, allocations: 4 kB / 0.5925 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.148, allocations: 0 / 0.5925 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.1481, allocations: 47.97 kB / 0.5926 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.1484, allocations: 313.2 kB / 0.5929 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.1487, allocations: 138.8 kB / 0.593 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.1488, allocations: 56.84 kB / 0.5931 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.1489, allocations: 7.984 kB / 0.5931 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004449/0.1493, allocations: 221 kB / 0.5933 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.1494, allocations: 4 kB / 0.5933 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000556/0.1499, allocations: 271.4 kB / 0.5935 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.15, allocations: 55.41 kB / 0.5936 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.1502, allocations: 290.9 kB / 0.5939 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/0.1503, allocations: 41.69 kB / 0.5939 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.1504, allocations: 93.05 kB / 0.594 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.1504, allocations: 43.53 kB / 0.594 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.865e-05/0.1505, allocations: 37.7 kB / 0.5941 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.1506, allocations: 330.8 kB / 0.5944 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.1508, allocations: 92.17 kB / 0.5945 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.1511, allocations: 147.1 kB / 0.5946 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.1514, allocations: 243.1 kB / 0.5949 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1514, allocations: 4 kB / 0.5949 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006561/0.1521, allocations: 421.9 kB / 0.5953 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.266e-05/0.1521, allocations: 75.58 kB / 0.5953 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1521, allocations: 8 kB / 0.5953 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1522, allocations: 0 / 0.5953 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.1523, allocations: 31.91 kB / 0.5954 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1523, allocations: 0 / 0.5954 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005054/0.1528, allocations: 71.8 kB / 0.5954 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/0.1529, allocations: 55.98 kB / 0.5955 GB, free: 11.21 MB / 0.4981 GB 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.0001653/0.1531, allocations: 171.9 kB / 0.5957 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.1532, allocations: 23.72 kB / 0.5957 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/0.1532, allocations: 34.25 kB / 0.5957 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.1532, allocations: 3.984 kB / 0.5957 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1532, allocations: 4 kB / 0.5957 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1533, allocations: 4 kB / 0.5957 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000723/0.154, allocations: 0.5567 MB / 0.5963 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.154, allocations: 0 / 0.5963 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.154, allocations: 11.98 kB / 0.5963 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1541, allocations: 0 / 0.5963 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.1541, allocations: 15.98 kB / 0.5963 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1541, allocations: 3.938 kB / 0.5963 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1541, allocations: 0 / 0.5963 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.1545, allocations: 325.9 kB / 0.5966 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.1547, allocations: 160.5 kB / 0.5968 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.1547, allocations: 11.98 kB / 0.5968 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.1549, allocations: 19.86 kB / 0.5968 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.155, allocations: 15.98 kB / 0.5968 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.155, allocations: 27.98 kB / 0.5968 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001741/0.1552, allocations: 209.9 kB / 0.597 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1552, allocations: 4 kB / 0.597 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003063/0.1555, allocations: 55.98 kB / 0.5971 GB, free: 9.48 MB / 0.4981 GB 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.0001257/0.1557, allocations: 103.2 kB / 0.5972 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005026/0.1562, allocations: 342.6 kB / 0.5975 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1562, allocations: 0 / 0.5975 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.1563, allocations: 79.89 kB / 0.5976 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1567, allocations: 25.25 kB / 0.5976 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006682/0.1573, allocations: 498.7 kB / 0.5981 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.1576, allocations: 0.7447 MB / 0.5988 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.1578, allocations: 35.41 kB / 0.5989 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1578, allocations: 0 / 0.5989 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of Templates: time 0.004786/0.1626, allocations: 2.961 MB / 0.6017 GB, free: 4.645 MB / 0.4981 GB 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)