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: "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_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.001811/0.001811, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7813/0.7813, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 60.02 kB / 0.5019 GB, free: 8.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1502, allocations: 80.21 MB / 0.5802 GB, free: 8.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002676/0.1529, allocations: 1.478 MB / 0.5816 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.154, allocations: 424.5 kB / 0.582 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.1541, allocations: 0 / 0.582 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.1542, allocations: 7.922 kB / 0.582 GB, free: 6.758 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.1543, allocations: 28.22 kB / 0.5821 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007775/0.1551, allocations: 235 kB / 0.5823 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003786/0.1555, allocations: 319.5 kB / 0.5826 GB, free: 6.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.05e-05/0.1556, allocations: 11.98 kB / 0.5826 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.1559, allocations: 187.7 kB / 0.5828 GB, free: 5.996 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.1561, allocations: 104 kB / 0.5829 GB, free: 5.895 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.343e-05/0.1562, allocations: 16 kB / 0.5829 GB, free: 5.879 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.185e-05/0.1563, allocations: 20 kB / 0.5829 GB, free: 5.859 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.1564, allocations: 79.77 kB / 0.583 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.1566, allocations: 123.4 kB / 0.5831 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.1569, allocations: 287.3 kB / 0.5834 GB, free: 5.379 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1569, allocations: 4 kB / 0.5834 GB, free: 5.375 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1569, allocations: 4 kB / 0.5834 GB, free: 5.371 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1569, allocations: 3.938 kB / 0.5834 GB, free: 5.367 MB / 494.1 MB 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.001217/0.1582, allocations: 0.696 MB / 0.5841 GB, free: 4.598 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1582, allocations: 8.031 kB / 0.5841 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/0.1583, allocations: 38.75 kB / 0.5841 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.355e-05/0.1584, allocations: 28.66 kB / 0.5842 GB, free: 4.516 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.1587, allocations: 259.6 kB / 0.5844 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.1587, allocations: 24.11 kB / 0.5844 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/0.1588, allocations: 16 kB / 0.5844 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.1591, allocations: 145.5 kB / 0.5846 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1591, allocations: 3.938 kB / 0.5846 GB, free: 4.031 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.1591, allocations: 8 kB / 0.5846 GB, free: 4.023 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.1592, allocations: 0 / 0.5846 GB, free: 4.023 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.1593, allocations: 43.97 kB / 0.5846 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.1597, allocations: 305.4 kB / 0.5849 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.16, allocations: 138.6 kB / 0.5851 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.1601, allocations: 60.77 kB / 0.5851 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1601, allocations: 4 kB / 0.5851 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004761/0.1606, allocations: 219.5 kB / 0.5853 GB, free: 3.195 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 2.945e-06/0.1606, allocations: 0 / 0.5853 GB, free: 3.195 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005904/0.1612, allocations: 275.6 kB / 0.5856 GB, free: 2.922 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.1613, allocations: 63.34 kB / 0.5856 GB, free: 2.848 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.1616, allocations: 294.8 kB / 0.5859 GB, free: 2.559 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.452e-05/0.1616, allocations: 41.69 kB / 0.586 GB, free: 2.512 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.1617, allocations: 93.14 kB / 0.5861 GB, free: 2.418 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.65e-05/0.1618, allocations: 43.5 kB / 0.5861 GB, free: 2.375 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.162, allocations: 101.7 kB / 0.5862 GB, free: 2.266 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1621, allocations: 326.8 kB / 0.5865 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.1623, allocations: 92.17 kB / 0.5866 GB, free: 1.848 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.1626, allocations: 150.4 kB / 0.5867 GB, free: 1.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.1629, allocations: 242.9 kB / 0.587 GB, free: 1.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1629, allocations: 4 kB / 0.587 GB, free: 1.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006976/0.1636, allocations: 413.5 kB / 0.5874 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.965e-05/0.1637, allocations: 83.31 kB / 0.5874 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.1637, allocations: 4 kB / 0.5875 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1638, allocations: 4 kB / 0.5875 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.1639, allocations: 23.92 kB / 0.5875 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.164, allocations: 4 kB / 0.5875 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/0.1645, allocations: 71.91 kB / 0.5876 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.619e-05/0.1646, allocations: 51.98 kB / 0.5876 GB, free: 0.7344 MB / 494.1 MB 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.0002184/0.1648, allocations: 168 kB / 0.5878 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.1649, allocations: 27.66 kB / 0.5878 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.85e-05/0.165, allocations: 26.25 kB / 0.5878 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.165, allocations: 11.98 kB / 0.5878 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.165, allocations: 0 / 0.5878 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.165, allocations: 0 / 0.5878 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009161/0.1659, allocations: 0.5605 MB / 0.5884 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.166, allocations: 0 / 0.5884 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.166, allocations: 11.98 kB / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.166, allocations: 0 / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.1661, allocations: 15.98 kB / 0.5884 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1661, allocations: 0 / 0.5884 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1661, allocations: 4 kB / 0.5884 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.1665, allocations: 325.3 kB / 0.5887 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.1667, allocations: 152.6 kB / 0.5889 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/0.1667, allocations: 19.98 kB / 0.5889 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.1669, allocations: 7.984 kB / 0.5889 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.167, allocations: 19.97 kB / 0.5889 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.1671, allocations: 27.98 kB / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001849/0.1673, allocations: 213.9 kB / 0.5891 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.346e-06/0.1673, allocations: 0 / 0.5891 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003181/0.1676, allocations: 51.94 kB / 0.5892 GB, free: 15 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.0007594/0.1684, allocations: 0.864 MB / 0.59 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006009/0.169, allocations: 358.9 kB / 0.5904 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.169, allocations: 0 / 0.5904 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.1691, allocations: 75.81 kB / 0.5904 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.1695, allocations: 22.12 kB / 0.5905 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.1725, allocations: 2.384 MB / 0.5928 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1728, allocations: 0.7427 MB / 0.5935 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001379/0.173, allocations: 41.42 kB / 0.5936 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.1731, allocations: 47.41 kB / 0.5936 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.1731, allocations: 0 / 0.5936 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.1954, allocations: 5.241 MB / 0.5987 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/7.787, allocations: 20.75 kB / 0.5987 GB, free: 5.148 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)