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.001164/0.001164, allocations: 104.6 kB / 16.41 MB, free: 6.484 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.001228/0.001228, allocations: 193.5 kB / 17.34 MB, free: 5.766 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.183/1.183, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7032/0.7032, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 74.03 kB / 0.5862 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1208, allocations: 80.92 MB / 0.6653 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002238/0.123, allocations: 1.483 MB / 0.6667 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008129/0.1239, allocations: 427.3 kB / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.1239, allocations: 4 kB / 0.6671 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.692e-05/0.124, allocations: 3.938 kB / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.528e-05/0.1241, allocations: 20.23 kB / 0.6672 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006161/0.1248, allocations: 243.1 kB / 0.6674 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.1251, allocations: 323.5 kB / 0.6677 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.446e-05/0.1251, allocations: 4 kB / 0.6677 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.1254, allocations: 191.7 kB / 0.6679 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.1256, allocations: 112.1 kB / 0.668 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.046e-05/0.1257, allocations: 16 kB / 0.668 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.473e-05/0.1257, allocations: 20 kB / 0.668 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.995e-05/0.1258, allocations: 79.72 kB / 0.6681 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1259, allocations: 123.4 kB / 0.6682 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.1262, allocations: 283.1 kB / 0.6685 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1262, allocations: 0 / 0.6685 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1262, allocations: 0 / 0.6685 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.1262, allocations: 0 / 0.6685 GB, free: 2.527 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.001061/0.1273, allocations: 0.6998 MB / 0.6692 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.1273, allocations: 9.109 kB / 0.6692 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.851e-05/0.1274, allocations: 36.66 kB / 0.6692 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.1277, allocations: 263.6 kB / 0.6695 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.1277, allocations: 12.38 kB / 0.6695 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.474e-05/0.1278, allocations: 15.94 kB / 0.6695 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.1281, allocations: 149.5 kB / 0.6696 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.1281, allocations: 0 / 0.6696 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.1281, allocations: 3.984 kB / 0.6696 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1281, allocations: 4 kB / 0.6696 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.1283, allocations: 43.97 kB / 0.6697 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.1286, allocations: 325.3 kB / 0.67 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.1288, allocations: 138.5 kB / 0.6701 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.129, allocations: 56.83 kB / 0.6702 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.129, allocations: 4 kB / 0.6702 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/0.1293, allocations: 215.5 kB / 0.6704 GB, free: 392 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.1293, allocations: 0 / 0.6704 GB, free: 392 kB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005012/0.1299, allocations: 270.7 kB / 0.6706 GB, free: 116 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1299, allocations: 67.39 kB / 0.6707 GB, free: 36 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.1302, allocations: 287 kB / 0.671 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.1302, allocations: 37.7 kB / 0.671 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.1303, allocations: 93.05 kB / 0.6711 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.1303, allocations: 43.58 kB / 0.6712 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.1305, allocations: 105.6 kB / 0.6713 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.1306, allocations: 318.8 kB / 0.6716 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.1308, allocations: 96.17 kB / 0.6716 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.131, allocations: 152.6 kB / 0.6718 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.1313, allocations: 245.8 kB / 0.672 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1313, allocations: 0 / 0.672 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006053/0.1319, allocations: 406.7 kB / 0.6724 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.669e-05/0.132, allocations: 75.38 kB / 0.6725 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.132, allocations: 4 kB / 0.6725 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.132, allocations: 0 / 0.6725 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.1322, allocations: 23.92 kB / 0.6725 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1322, allocations: 4.188 kB / 0.6725 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.1327, allocations: 63.8 kB / 0.6726 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-05/0.1327, allocations: 59.97 kB / 0.6726 GB, free: 13.95 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.000145/0.1329, allocations: 164 kB / 0.6728 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.1329, allocations: 31.56 kB / 0.6728 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.133, allocations: 34.25 kB / 0.6729 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.133, allocations: 4 kB / 0.6729 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.133, allocations: 0 / 0.6729 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.133, allocations: 3.984 kB / 0.6729 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006751/0.1337, allocations: 0.5702 MB / 0.6734 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1337, allocations: 0 / 0.6734 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.1338, allocations: 4 kB / 0.6734 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1338, allocations: 8 kB / 0.6734 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.1338, allocations: 11.97 kB / 0.6734 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-06/0.1338, allocations: 7.938 kB / 0.6735 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1338, allocations: 0 / 0.6735 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.1342, allocations: 328.6 kB / 0.6738 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.1344, allocations: 156.7 kB / 0.6739 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.1344, allocations: 8 kB / 0.6739 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.1346, allocations: 11.92 kB / 0.6739 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.1347, allocations: 19.97 kB / 0.674 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.1347, allocations: 27.98 kB / 0.674 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001667/0.1349, allocations: 213.9 kB / 0.6742 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1349, allocations: 0 / 0.6742 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003002/0.1352, allocations: 52 kB / 0.6742 GB, free: 12.21 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.0001119/0.1353, allocations: 115.8 kB / 0.6743 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004794/0.1358, allocations: 346.5 kB / 0.6747 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1358, allocations: 384 / 0.6747 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.136, allocations: 79.91 kB / 0.6747 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.1363, allocations: 23.06 kB / 0.6748 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.1368, allocations: 405.4 kB / 0.6752 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.1371, allocations: 0.7457 MB / 0.6759 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.1372, allocations: 35.42 kB / 0.6759 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1372, allocations: 3.938 kB / 0.6759 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of Templates: time 0.004046/0.1413, allocations: 2.998 MB / 0.6789 GB, free: 7.406 MB / 0.5137 GB 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)