Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 110.4 kB / 16.41 MB, free: 6.488 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.001209/0.001209, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.411/1.411, 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/package.mo): time 0.7789/0.7789, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 72.14 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1375, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002747/0.1402, allocations: 1.467 MB / 0.6617 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009545/0.1412, allocations: 427.3 kB / 0.6621 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.1413, allocations: 3.938 kB / 0.6621 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.962e-05/0.1414, allocations: 3.938 kB / 0.6622 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.1416, allocations: 20.23 kB / 0.6622 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007896/0.1424, allocations: 253.8 kB / 0.6624 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.1428, allocations: 315.5 kB / 0.6627 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.1428, allocations: 8 kB / 0.6627 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.1431, allocations: 187.7 kB / 0.6629 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.1434, allocations: 116 kB / 0.663 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.283e-05/0.1435, allocations: 20 kB / 0.663 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.202e-05/0.1436, allocations: 16 kB / 0.663 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1437, allocations: 83.72 kB / 0.6631 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1438, allocations: 119.4 kB / 0.6632 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.1441, allocations: 283.1 kB / 0.6635 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1441, allocations: 0 / 0.6635 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1441, allocations: 0 / 0.6635 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.1442, allocations: 4 kB / 0.6635 GB, free: 7 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.001191/0.1454, allocations: 0.696 MB / 0.6642 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1454, allocations: 8.031 kB / 0.6642 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.1455, allocations: 32.66 kB / 0.6642 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.1458, allocations: 267.5 kB / 0.6645 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.1458, allocations: 8.375 kB / 0.6645 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-05/0.1459, allocations: 27.92 kB / 0.6645 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.1462, allocations: 149.5 kB / 0.6647 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1462, allocations: 3.938 kB / 0.6647 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.1463, allocations: 0 / 0.6647 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1463, allocations: 0 / 0.6647 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.1464, allocations: 47.97 kB / 0.6647 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.1468, allocations: 313.4 kB / 0.665 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.1471, allocations: 130.7 kB / 0.6651 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.1472, allocations: 64.77 kB / 0.6652 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1472, allocations: 0 / 0.6652 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004301/0.1477, allocations: 223.5 kB / 0.6654 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.1477, allocations: 0 / 0.6654 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005626/0.1482, allocations: 267 kB / 0.6657 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.1483, allocations: 67.38 kB / 0.6657 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.1486, allocations: 290.9 kB / 0.666 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.1486, allocations: 37.7 kB / 0.666 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.1487, allocations: 93.12 kB / 0.6661 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.1488, allocations: 35.61 kB / 0.6662 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.1489, allocations: 105.6 kB / 0.6663 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.149, allocations: 326.8 kB / 0.6666 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.1493, allocations: 92.17 kB / 0.6667 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.1495, allocations: 146.4 kB / 0.6668 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.1498, allocations: 252 kB / 0.667 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1498, allocations: 3.984 kB / 0.6671 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006623/0.1505, allocations: 420.6 kB / 0.6675 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.718e-05/0.1506, allocations: 71.39 kB / 0.6675 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1506, allocations: 3.938 kB / 0.6675 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1506, allocations: 4 kB / 0.6675 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.1508, allocations: 31.91 kB / 0.6676 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1508, allocations: 4 kB / 0.6676 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/0.1513, allocations: 63.95 kB / 0.6676 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/0.1514, allocations: 47.98 kB / 0.6677 GB, free: 2.406 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.0001823/0.1516, allocations: 172 kB / 0.6678 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.1517, allocations: 31.64 kB / 0.6679 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.1517, allocations: 26.25 kB / 0.6679 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1517, allocations: 4 kB / 0.6679 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1517, allocations: 0 / 0.6679 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1517, allocations: 0 / 0.6679 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007773/0.1525, allocations: 0.5698 MB / 0.6684 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1525, allocations: 0 / 0.6684 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.77e-05/0.1526, allocations: 11.98 kB / 0.6685 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1526, allocations: 0 / 0.6685 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.1526, allocations: 15.98 kB / 0.6685 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1526, allocations: 0 / 0.6685 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1526, allocations: 0 / 0.6685 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004207/0.1531, allocations: 329 kB / 0.6688 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.1532, allocations: 148.7 kB / 0.6689 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.896e-05/0.1533, allocations: 11.98 kB / 0.6689 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.1535, allocations: 15.98 kB / 0.669 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.1536, allocations: 11.98 kB / 0.669 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.866e-05/0.1537, allocations: 35.98 kB / 0.669 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001882/0.1539, allocations: 209.9 kB / 0.6692 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1539, allocations: 0 / 0.6692 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003238/0.1542, allocations: 48 kB / 0.6693 GB, free: 0.6875 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.0001188/0.1543, allocations: 122.8 kB / 0.6694 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005319/0.1549, allocations: 346.5 kB / 0.6697 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1549, allocations: 0 / 0.6697 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.155, allocations: 67.91 kB / 0.6698 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.1554, allocations: 30.73 kB / 0.6698 GB, free: 100 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006747/0.156, allocations: 405.8 kB / 0.6702 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.1564, allocations: 0.7435 MB / 0.6709 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.1565, allocations: 39.42 kB / 0.6709 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of SimCode: time 3.8e-07/0.1565, allocations: 0 / 0.6709 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.005533/0.162, allocations: 2.991 MB / 0.6739 GB, free: 11.89 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)