Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.001367/0.001367, 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.001587/0.001587, allocations: 194.7 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8032/0.8032, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 65.61 kB / 0.5019 GB, free: 8.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1456, allocations: 80.2 MB / 0.5802 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002621/0.1482, allocations: 1.478 MB / 0.5816 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009575/0.1492, allocations: 424.2 kB / 0.582 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.1493, allocations: 3.938 kB / 0.582 GB, free: 6.777 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.181e-05/0.1494, allocations: 11.92 kB / 0.582 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.454e-05/0.1495, allocations: 24.22 kB / 0.5821 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006496/0.1501, allocations: 238.3 kB / 0.5823 GB, free: 6.512 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.1504, allocations: 319.5 kB / 0.5826 GB, free: 6.199 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.1505, allocations: 11.98 kB / 0.5826 GB, free: 6.188 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.1507, allocations: 183.8 kB / 0.5828 GB, free: 6.008 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.1509, allocations: 108 kB / 0.5829 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.195e-05/0.151, allocations: 20 kB / 0.5829 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.014e-05/0.1511, allocations: 16 kB / 0.5829 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.631e-05/0.1512, allocations: 79.78 kB / 0.583 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.1513, allocations: 119.4 kB / 0.5831 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.1516, allocations: 295.3 kB / 0.5834 GB, free: 5.383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1516, allocations: 0 / 0.5834 GB, free: 5.383 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1516, allocations: 0 / 0.5834 GB, free: 5.383 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1516, allocations: 4 kB / 0.5834 GB, free: 5.379 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.001088/0.1527, allocations: 0.696 MB / 0.5841 GB, free: 4.609 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1527, allocations: 8.031 kB / 0.5841 GB, free: 4.602 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.036e-05/0.1528, allocations: 38.69 kB / 0.5841 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.013e-05/0.1529, allocations: 32.64 kB / 0.5842 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.1532, allocations: 259.6 kB / 0.5844 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.1532, allocations: 20.11 kB / 0.5844 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.772e-05/0.1533, allocations: 16 kB / 0.5844 GB, free: 4.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.1536, allocations: 149.5 kB / 0.5846 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1536, allocations: 0 / 0.5846 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.1536, allocations: 0 / 0.5846 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1536, allocations: 3.984 kB / 0.5846 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1538, allocations: 50.67 kB / 0.5846 GB, free: 3.992 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.1541, allocations: 313.3 kB / 0.5849 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.1544, allocations: 134.6 kB / 0.5851 GB, free: 3.496 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.1545, allocations: 56.83 kB / 0.5851 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.1545, allocations: 7.984 kB / 0.5851 GB, free: 3.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004181/0.155, allocations: 221.8 kB / 0.5853 GB, free: 3.203 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 2.886e-06/0.155, allocations: 0 / 0.5853 GB, free: 3.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005634/0.1555, allocations: 277 kB / 0.5856 GB, free: 2.926 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.1556, allocations: 55.41 kB / 0.5857 GB, free: 2.859 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.1558, allocations: 294.9 kB / 0.5859 GB, free: 2.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.1559, allocations: 37.7 kB / 0.586 GB, free: 2.527 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.156, allocations: 89.14 kB / 0.5861 GB, free: 2.438 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.156, allocations: 47.5 kB / 0.5861 GB, free: 2.391 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.1562, allocations: 113.6 kB / 0.5862 GB, free: 2.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.1563, allocations: 318.8 kB / 0.5865 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.1565, allocations: 96.17 kB / 0.5866 GB, free: 1.855 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.1567, allocations: 146.4 kB / 0.5867 GB, free: 1.691 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.157, allocations: 242.9 kB / 0.587 GB, free: 1.422 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1571, allocations: 0 / 0.587 GB, free: 1.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006592/0.1577, allocations: 423.2 kB / 0.5874 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.845e-05/0.1578, allocations: 77.25 kB / 0.5875 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1578, allocations: 0 / 0.5875 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1578, allocations: 4 kB / 0.5875 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.158, allocations: 27.92 kB / 0.5875 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.158, allocations: 7.984 kB / 0.5875 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/0.1585, allocations: 67.92 kB / 0.5876 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/0.1586, allocations: 51.98 kB / 0.5876 GB, free: 0.75 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.0001649/0.1588, allocations: 164 kB / 0.5878 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.1588, allocations: 35.55 kB / 0.5878 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.1589, allocations: 30.25 kB / 0.5878 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1589, allocations: 4 kB / 0.5878 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.1589, allocations: 4 kB / 0.5878 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1589, allocations: 4 kB / 0.5878 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008176/0.1598, allocations: 0.5606 MB / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1598, allocations: 0 / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.59e-05/0.1598, allocations: 7.984 kB / 0.5884 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.1598, allocations: 4 kB / 0.5884 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.1599, allocations: 11.98 kB / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1599, allocations: 0 / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1599, allocations: 0 / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.1603, allocations: 328.4 kB / 0.5887 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.1604, allocations: 156.6 kB / 0.5889 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.1605, allocations: 11.98 kB / 0.5889 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.1607, allocations: 11.98 kB / 0.5889 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.1608, allocations: 11.98 kB / 0.5889 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.1608, allocations: 31.98 kB / 0.5889 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000165/0.161, allocations: 209.9 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.161, allocations: 3.938 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000309/0.1613, allocations: 52 kB / 0.5892 GB, free: 15.02 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.0006631/0.162, allocations: 0.8698 MB / 0.59 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005315/0.1625, allocations: 355.1 kB / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1625, allocations: 4.062 kB / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.1627, allocations: 75.84 kB / 0.5904 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.163, allocations: 22.91 kB / 0.5905 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.1657, allocations: 2.383 MB / 0.5928 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.166, allocations: 0.7423 MB / 0.5935 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001334/0.1661, allocations: 37.44 kB / 0.5936 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.1663, allocations: 47.41 kB / 0.5936 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.1663, allocations: 4 kB / 0.5936 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.1898, allocations: 5.244 MB / 0.5987 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.067, allocations: 8.5 kB / 0.5987 GB, free: 5.172 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.csv --start-time 172799 --stop-time 345599 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)