Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.009244/0.009244, allocations: 98.48 kB / 15.73 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.001665/0.001665, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7605/0.7605, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 66.47 kB / 0.5808 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1636, allocations: 80.2 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00254/0.1661, allocations: 1.475 MB / 0.6606 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009614/0.1671, allocations: 433.7 kB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.1672, allocations: 0 / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.73e-05/0.1673, allocations: 3.938 kB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.1674, allocations: 24.22 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007156/0.1682, allocations: 243 kB / 0.6613 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000371/0.1685, allocations: 323.5 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.1686, allocations: 4 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.1689, allocations: 191.7 kB / 0.6618 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.1691, allocations: 112.1 kB / 0.6619 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.739e-05/0.1692, allocations: 20 kB / 0.6619 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.306e-05/0.1692, allocations: 20 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1694, allocations: 79.72 kB / 0.662 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.1695, allocations: 123.4 kB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.1698, allocations: 279.2 kB / 0.6624 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1699, allocations: 0 / 0.6624 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1699, allocations: 0 / 0.6624 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.1699, allocations: 3.984 kB / 0.6624 GB, free: 10.73 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.001178/0.1711, allocations: 0.7154 MB / 0.6631 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1711, allocations: 8.031 kB / 0.6631 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.132e-05/0.1712, allocations: 42.73 kB / 0.6631 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.991e-05/0.1713, allocations: 32.8 kB / 0.6632 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.1716, allocations: 259.8 kB / 0.6634 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.1716, allocations: 16.12 kB / 0.6634 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.1717, allocations: 16 kB / 0.6634 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.172, allocations: 149.5 kB / 0.6636 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.172, allocations: 0 / 0.6636 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.172, allocations: 7.969 kB / 0.6636 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.172, allocations: 8 kB / 0.6636 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.1722, allocations: 47.97 kB / 0.6636 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.1725, allocations: 301.5 kB / 0.6639 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.1728, allocations: 138.6 kB / 0.6641 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.173, allocations: 60.83 kB / 0.6641 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.173, allocations: 7.984 kB / 0.6641 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004245/0.1734, allocations: 215.6 kB / 0.6643 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.744e-06/0.1734, allocations: 3.938 kB / 0.6643 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005803/0.174, allocations: 275.5 kB / 0.6646 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.1741, allocations: 55.41 kB / 0.6647 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.1744, allocations: 294.9 kB / 0.6649 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.1744, allocations: 41.7 kB / 0.665 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.1745, allocations: 85.14 kB / 0.6651 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.692e-05/0.1745, allocations: 47.67 kB / 0.6651 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.1747, allocations: 113.7 kB / 0.6652 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1748, allocations: 322.8 kB / 0.6655 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.175, allocations: 100.2 kB / 0.6656 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.1753, allocations: 134.4 kB / 0.6657 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.1757, allocations: 253.7 kB / 0.666 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1757, allocations: 0 / 0.666 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007611/0.1765, allocations: 404.7 kB / 0.6664 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.007e-05/0.1766, allocations: 79.38 kB / 0.6664 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1766, allocations: 4.188 kB / 0.6664 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1766, allocations: 4 kB / 0.6665 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.1768, allocations: 23.92 kB / 0.6665 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.1768, allocations: 7.984 kB / 0.6665 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/0.1773, allocations: 55.91 kB / 0.6665 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.032e-05/0.1774, allocations: 51.98 kB / 0.6666 GB, free: 6.082 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.0002007/0.1776, allocations: 179.9 kB / 0.6668 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.1777, allocations: 31.75 kB / 0.6668 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.1777, allocations: 30.25 kB / 0.6668 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1777, allocations: 4 kB / 0.6668 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1777, allocations: 0 / 0.6668 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.1778, allocations: 3.984 kB / 0.6668 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008614/0.1786, allocations: 0.5606 MB / 0.6674 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1786, allocations: 0 / 0.6674 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/0.1787, allocations: 12 kB / 0.6674 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1787, allocations: 3.938 kB / 0.6674 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.1787, allocations: 15.97 kB / 0.6674 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1788, allocations: 0 / 0.6674 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1788, allocations: 0 / 0.6674 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.1792, allocations: 329.3 kB / 0.6677 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.1794, allocations: 152.9 kB / 0.6679 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.1795, allocations: 8 kB / 0.6679 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.1797, allocations: 18.23 kB / 0.6679 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.1798, allocations: 19.97 kB / 0.6679 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.1798, allocations: 31.98 kB / 0.6679 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001905/0.18, allocations: 205.9 kB / 0.6681 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.18, allocations: 0 / 0.6681 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003129/0.1803, allocations: 59.92 kB / 0.6682 GB, free: 4.34 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.0007101/0.1811, allocations: 0.8676 MB / 0.669 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005631/0.1816, allocations: 342.6 kB / 0.6694 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1816, allocations: 0 / 0.6694 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.1818, allocations: 75.91 kB / 0.6694 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1822, allocations: 23.22 kB / 0.6695 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.1853, allocations: 2.402 MB / 0.6718 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1857, allocations: 0.7458 MB / 0.6725 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001336/0.1859, allocations: 37.42 kB / 0.6726 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.186, allocations: 51.41 kB / 0.6726 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of SimCode: time 4.6e-07/0.186, allocations: 4 kB / 0.6726 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.211, allocations: 5.254 MB / 0.6777 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.09, allocations: 19.3 kB / 0.6778 GB, free: 10.48 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)