Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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: "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005066/0.005066, allocations: 101.8 kB / 15.73 MB, free: 6 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.001177/0.001177, allocations: 196 kB / 16.68 MB, free: 5.926 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.78/0.78, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 62.56 kB / 0.5851 GB, free: 22.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1438, allocations: 80.93 MB / 0.6641 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002695/0.1465, allocations: 1.476 MB / 0.6656 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000918/0.1475, allocations: 425 kB / 0.666 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.644e-05/0.1475, allocations: 0 / 0.666 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.1477, allocations: 7.922 kB / 0.666 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.1478, allocations: 28.22 kB / 0.666 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008308/0.1487, allocations: 239.2 kB / 0.6662 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004665/0.1491, allocations: 315.5 kB / 0.6665 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.1492, allocations: 15.98 kB / 0.6665 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004049/0.1496, allocations: 191.7 kB / 0.6667 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.1499, allocations: 114 kB / 0.6668 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.829e-05/0.15, allocations: 16 kB / 0.6669 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.246e-05/0.1501, allocations: 23.94 kB / 0.6669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1502, allocations: 79.72 kB / 0.667 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.1503, allocations: 119.4 kB / 0.6671 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.1508, allocations: 278.5 kB / 0.6673 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1509, allocations: 0 / 0.6673 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.374e-06/0.1509, allocations: 0 / 0.6673 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.1509, allocations: 4 kB / 0.6673 GB, free: 3.02 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.001543/0.1524, allocations: 0.7002 MB / 0.668 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1525, allocations: 9.109 kB / 0.668 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.528e-05/0.1525, allocations: 38.75 kB / 0.6681 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.09e-05/0.1526, allocations: 32.66 kB / 0.6681 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.153, allocations: 259.6 kB / 0.6683 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.153, allocations: 16.12 kB / 0.6684 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.557e-05/0.1531, allocations: 23.98 kB / 0.6684 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.1534, allocations: 149.5 kB / 0.6685 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1534, allocations: 0 / 0.6685 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.1534, allocations: 0 / 0.6685 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.1535, allocations: 0 / 0.6685 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.1536, allocations: 47.97 kB / 0.6686 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.154, allocations: 309.3 kB / 0.6689 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.1543, allocations: 146.7 kB / 0.669 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.1544, allocations: 56.84 kB / 0.6691 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.1545, allocations: 7.969 kB / 0.6691 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004694/0.1549, allocations: 219.5 kB / 0.6693 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.1549, allocations: 0 / 0.6693 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0007867/0.1557, allocations: 275.2 kB / 0.6695 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.1558, allocations: 55.41 kB / 0.6696 GB, free: 500 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.1561, allocations: 287 kB / 0.6699 GB, free: 204 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.1562, allocations: 41.7 kB / 0.6699 GB, free: 156 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.1563, allocations: 93.03 kB / 0.67 GB, free: 60 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.641e-05/0.1564, allocations: 47.59 kB / 0.67 GB, free: 12 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.1565, allocations: 101.6 kB / 0.6701 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1567, allocations: 326.8 kB / 0.6704 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.1569, allocations: 96.17 kB / 0.6705 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.1571, allocations: 144.7 kB / 0.6707 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.1575, allocations: 242.9 kB / 0.6709 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.1575, allocations: 4 kB / 0.6709 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006387/0.1581, allocations: 408.7 kB / 0.6713 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/0.1582, allocations: 75.39 kB / 0.6714 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.1582, allocations: 0 / 0.6714 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1582, allocations: 4 kB / 0.6714 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.1584, allocations: 31.84 kB / 0.6714 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1584, allocations: 4 kB / 0.6714 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000481/0.1589, allocations: 63.98 kB / 0.6715 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/0.159, allocations: 51.98 kB / 0.6715 GB, free: 14.39 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.0001708/0.1592, allocations: 168 kB / 0.6717 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.1592, allocations: 31.56 kB / 0.6717 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.617e-05/0.1593, allocations: 34.25 kB / 0.6717 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1593, allocations: 0 / 0.6717 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.1593, allocations: 4 kB / 0.6717 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1593, allocations: 4 kB / 0.6718 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008123/0.1601, allocations: 0.5606 MB / 0.6723 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1602, allocations: 0 / 0.6723 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.1602, allocations: 11.98 kB / 0.6723 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1602, allocations: 0 / 0.6723 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.1602, allocations: 11.98 kB / 0.6723 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1603, allocations: 7.938 kB / 0.6723 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1603, allocations: 0 / 0.6723 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.1607, allocations: 336.6 kB / 0.6727 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.1609, allocations: 148.8 kB / 0.6728 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.1609, allocations: 11.98 kB / 0.6728 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.1611, allocations: 11.98 kB / 0.6728 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.1612, allocations: 15.98 kB / 0.6728 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.1613, allocations: 27.98 kB / 0.6729 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002008/0.1615, allocations: 209.9 kB / 0.6731 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1615, allocations: 0 / 0.6731 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000308/0.1618, allocations: 48 kB / 0.6731 GB, free: 12.67 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.0007025/0.1625, allocations: 0.872 MB / 0.674 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005535/0.1631, allocations: 346.5 kB / 0.6743 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1631, allocations: 384 / 0.6743 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.1634, allocations: 77.78 kB / 0.6744 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.1637, allocations: 28.86 kB / 0.6744 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.1669, allocations: 2.385 MB / 0.6767 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.1673, allocations: 0.7485 MB / 0.6774 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.1674, allocations: 33.62 kB / 0.6775 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.1675, allocations: 59.28 kB / 0.6775 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.1675, allocations: 0 / 0.6775 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.1915, allocations: 5.364 MB / 0.6828 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.835/8.026, allocations: 6.438 kB / 0.6828 GB, free: 2.652 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)