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.001163/0.001163, allocations: 112.8 kB / 16.38 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.001247/0.001247, allocations: 188.2 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.182/1.182, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.733/0.733, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 65.89 kB / 0.5862 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1206, allocations: 80.91 MB / 0.6652 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002117/0.1228, allocations: 1.488 MB / 0.6667 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007677/0.1235, allocations: 423.4 kB / 0.6671 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.1236, allocations: 0 / 0.6671 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.195e-05/0.1237, allocations: 7.875 kB / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.212e-05/0.1238, allocations: 24.22 kB / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.1244, allocations: 243.1 kB / 0.6673 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.1247, allocations: 319.5 kB / 0.6676 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.1247, allocations: 12 kB / 0.6677 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.125, allocations: 183.7 kB / 0.6678 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1251, allocations: 108.1 kB / 0.6679 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.831e-05/0.1252, allocations: 20 kB / 0.668 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.455e-05/0.1253, allocations: 19.94 kB / 0.668 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1254, allocations: 79.78 kB / 0.668 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.1255, allocations: 123.4 kB / 0.6682 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.1257, allocations: 279.1 kB / 0.6684 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.1258, allocations: 0 / 0.6684 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1258, allocations: 7.938 kB / 0.6684 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1258, allocations: 0 / 0.6684 GB, free: 2.547 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.001007/0.1268, allocations: 0.6998 MB / 0.6691 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.1268, allocations: 9.109 kB / 0.6691 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.627e-05/0.1269, allocations: 32.66 kB / 0.6692 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.1272, allocations: 255.6 kB / 0.6694 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.1272, allocations: 12.38 kB / 0.6694 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.1273, allocations: 27.91 kB / 0.6694 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.1276, allocations: 149.5 kB / 0.6696 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1276, allocations: 0 / 0.6696 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.1276, allocations: 0 / 0.6696 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1276, allocations: 0 / 0.6696 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.1278, allocations: 51.91 kB / 0.6696 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.1281, allocations: 321.3 kB / 0.6699 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.1284, allocations: 130.7 kB / 0.6701 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.1285, allocations: 60.83 kB / 0.6701 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.1286, allocations: 3.938 kB / 0.6701 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004267/0.129, allocations: 222 kB / 0.6703 GB, free: 416 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.129, allocations: 0 / 0.6703 GB, free: 416 kB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005855/0.1296, allocations: 273.1 kB / 0.6706 GB, free: 136 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.1297, allocations: 59.39 kB / 0.6707 GB, free: 64 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.13, allocations: 287 kB / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.13, allocations: 41.7 kB / 0.671 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.1301, allocations: 93.03 kB / 0.6711 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.1302, allocations: 47.53 kB / 0.6711 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.1303, allocations: 105.6 kB / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.1304, allocations: 322.8 kB / 0.6715 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.1306, allocations: 96.17 kB / 0.6716 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.1309, allocations: 140.7 kB / 0.6717 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.1311, allocations: 247.1 kB / 0.672 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1312, allocations: 0 / 0.672 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006073/0.1318, allocations: 408.7 kB / 0.6724 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.434e-05/0.1318, allocations: 79.38 kB / 0.6724 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1319, allocations: 0 / 0.6724 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1319, allocations: 4 kB / 0.6724 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.132, allocations: 27.91 kB / 0.6725 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1321, allocations: 4 kB / 0.6725 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.1325, allocations: 63.98 kB / 0.6725 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.978e-05/0.1326, allocations: 51.98 kB / 0.6726 GB, free: 13.97 MB / 0.5137 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.0001605/0.1328, allocations: 171.9 kB / 0.6728 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.1328, allocations: 35.55 kB / 0.6728 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/0.1329, allocations: 26.27 kB / 0.6728 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1329, allocations: 7.984 kB / 0.6728 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1329, allocations: 0 / 0.6728 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1329, allocations: 0 / 0.6728 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006872/0.1336, allocations: 0.5664 MB / 0.6734 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1336, allocations: 0 / 0.6734 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.1336, allocations: 11.98 kB / 0.6734 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1337, allocations: 0 / 0.6734 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.1337, allocations: 15.98 kB / 0.6734 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1337, allocations: 0 / 0.6734 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1337, allocations: 0 / 0.6734 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.1341, allocations: 334.8 kB / 0.6737 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.1342, allocations: 152.7 kB / 0.6739 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.1343, allocations: 11.98 kB / 0.6739 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.1345, allocations: 11.98 kB / 0.6739 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.1345, allocations: 15.98 kB / 0.6739 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.1346, allocations: 27.98 kB / 0.6739 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001654/0.1348, allocations: 209.9 kB / 0.6741 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1348, allocations: 0 / 0.6741 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002902/0.1351, allocations: 48 kB / 0.6742 GB, free: 12.24 MB / 0.5137 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.0001115/0.1352, allocations: 124.8 kB / 0.6743 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004956/0.1357, allocations: 348.7 kB / 0.6746 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1357, allocations: 0 / 0.6746 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.1358, allocations: 75.89 kB / 0.6747 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.1361, allocations: 24.81 kB / 0.6747 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.1367, allocations: 413.8 kB / 0.6751 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.137, allocations: 0.7435 MB / 0.6758 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.1371, allocations: 43.41 kB / 0.6759 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1371, allocations: 0 / 0.6759 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.00401/0.1412, allocations: 2.974 MB / 0.6788 GB, free: 7.441 MB / 0.5137 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)