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.00628/0.00628, allocations: 98.72 kB / 15.73 MB, free: 6.047 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.001204/0.001203, allocations: 184.4 kB / 16.67 MB, free: 5.969 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8639/0.8639, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 62.86 kB / 0.5808 GB, free: 1.285 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1684, allocations: 80.21 MB / 0.6592 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002715/0.1711, allocations: 1.481 MB / 0.6606 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1723, allocations: 415.3 kB / 0.661 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.627e-05/0.1724, allocations: 4 kB / 0.661 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.1725, allocations: 11.86 kB / 0.661 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.1727, allocations: 24.22 kB / 0.661 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008191/0.1735, allocations: 240.6 kB / 0.6613 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.1739, allocations: 315.5 kB / 0.6616 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.635e-05/0.174, allocations: 11.98 kB / 0.6616 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/0.1743, allocations: 191.6 kB / 0.6618 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.1746, allocations: 117.2 kB / 0.6619 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.493e-05/0.1746, allocations: 20 kB / 0.6619 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.716e-05/0.1747, allocations: 16 kB / 0.6619 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1748, allocations: 83.72 kB / 0.662 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.1749, allocations: 123.4 kB / 0.6621 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.1753, allocations: 279.2 kB / 0.6624 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1753, allocations: 0 / 0.6624 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1753, allocations: 0 / 0.6624 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.1753, allocations: 0 / 0.6624 GB, free: 10.84 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.001161/0.1765, allocations: 0.7115 MB / 0.6631 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1765, allocations: 12.03 kB / 0.6631 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.1766, allocations: 38.75 kB / 0.6631 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1767, allocations: 36.78 kB / 0.6632 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.1771, allocations: 263.7 kB / 0.6634 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.1771, allocations: 20.11 kB / 0.6634 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-05/0.1772, allocations: 12 kB / 0.6634 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.1775, allocations: 148.8 kB / 0.6636 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1775, allocations: 0 / 0.6636 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.1775, allocations: 0 / 0.6636 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1776, allocations: 4 kB / 0.6636 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.1777, allocations: 51.91 kB / 0.6636 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.1781, allocations: 317.4 kB / 0.6639 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.1784, allocations: 130.6 kB / 0.6641 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.1785, allocations: 52.84 kB / 0.6641 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1786, allocations: 3.984 kB / 0.6641 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004542/0.179, allocations: 221.4 kB / 0.6643 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/0.179, allocations: 0 / 0.6643 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005895/0.1796, allocations: 269.3 kB / 0.6646 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.1797, allocations: 63.34 kB / 0.6646 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.18, allocations: 290.9 kB / 0.6649 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/0.18, allocations: 45.69 kB / 0.665 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.1801, allocations: 89.14 kB / 0.6651 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.1802, allocations: 47.67 kB / 0.6651 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.1803, allocations: 113.7 kB / 0.6652 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1805, allocations: 314.8 kB / 0.6655 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.1807, allocations: 96.17 kB / 0.6656 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.1809, allocations: 150.4 kB / 0.6657 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.1812, allocations: 246.7 kB / 0.666 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.1812, allocations: 0 / 0.666 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006636/0.1819, allocations: 407.7 kB / 0.6664 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.327e-05/0.182, allocations: 77.83 kB / 0.6664 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.182, allocations: 0 / 0.6664 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.182, allocations: 4 kB / 0.6664 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.1822, allocations: 32.09 kB / 0.6665 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1823, allocations: 8 kB / 0.6665 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.1828, allocations: 51.91 kB / 0.6665 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/0.1829, allocations: 51.98 kB / 0.6666 GB, free: 6.199 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.0002122/0.1831, allocations: 179.9 kB / 0.6668 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.1832, allocations: 35.75 kB / 0.6668 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.612e-05/0.1833, allocations: 30.25 kB / 0.6668 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.1833, allocations: 4 kB / 0.6668 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1833, allocations: 0 / 0.6668 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1833, allocations: 0 / 0.6668 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.1844, allocations: 0.5684 MB / 0.6674 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1844, allocations: 0 / 0.6674 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.1845, allocations: 7.984 kB / 0.6674 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1845, allocations: 0 / 0.6674 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.1845, allocations: 11.98 kB / 0.6674 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1846, allocations: 4 kB / 0.6674 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1846, allocations: 0 / 0.6674 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007217/0.1853, allocations: 335 kB / 0.6677 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.1856, allocations: 152.9 kB / 0.6679 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.748e-05/0.1857, allocations: 8 kB / 0.6679 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.1861, allocations: 11.98 kB / 0.6679 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.1861, allocations: 11.98 kB / 0.6679 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-05/0.1862, allocations: 31.98 kB / 0.6679 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003202/0.1866, allocations: 213.9 kB / 0.6681 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.11e-07/0.1866, allocations: 0 / 0.6681 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005778/0.1872, allocations: 51.98 kB / 0.6682 GB, free: 4.461 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.0009188/0.1881, allocations: 0.8753 MB / 0.669 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007179/0.1888, allocations: 337.4 kB / 0.6694 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1888, allocations: 3.938 kB / 0.6694 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.1891, allocations: 71.95 kB / 0.6694 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.1896, allocations: 20.88 kB / 0.6694 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.193, allocations: 2.402 MB / 0.6718 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.1935, allocations: 0.7435 MB / 0.6725 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001909/0.1937, allocations: 33.44 kB / 0.6726 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.1939, allocations: 51.41 kB / 0.6726 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.1939, allocations: 4 kB / 0.6726 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.2253, allocations: 5.273 MB / 0.6778 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.191, allocations: 11.7 kB / 0.6778 GB, free: 10.6 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)