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.001172/0.001177, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00136/0.00136, allocations: 194.4 kB / 16.14 MB, free: 6.66 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7762/0.7762, allocations: 132.2 MB / 422.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.94 kB / 0.5012 GB, free: 4.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3592, allocations: 80.2 MB / 0.5795 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002481/0.3617, allocations: 1.545 MB / 0.581 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.3628, allocations: 449 kB / 0.5814 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.3628, allocations: 0 / 0.5814 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.363, allocations: 6.5 kB / 0.5814 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.3631, allocations: 22.77 kB / 0.5815 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006312/0.3637, allocations: 226.6 kB / 0.5817 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003307/0.364, allocations: 284.8 kB / 0.5819 GB, free: 3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.515e-05/0.3641, allocations: 5.078 kB / 0.582 GB, free: 3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003481/0.3645, allocations: 209.6 kB / 0.5822 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.3647, allocations: 128.7 kB / 0.5823 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.047e-05/0.3648, allocations: 9.281 kB / 0.5823 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.456e-05/0.3648, allocations: 9.156 kB / 0.5823 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.365, allocations: 71.39 kB / 0.5824 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.3652, allocations: 119.4 kB / 0.5825 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.3655, allocations: 284.7 kB / 0.5827 GB, free: 2.715 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3655, allocations: 0 / 0.5827 GB, free: 2.715 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3655, allocations: 3.938 kB / 0.5827 GB, free: 2.711 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3656, allocations: 0.8438 kB / 0.5827 GB, free: 2.711 MB / 430.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.00108/0.3666, allocations: 0.7024 MB / 0.5834 GB, free: 2.102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3667, allocations: 9.719 kB / 0.5834 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.3667, allocations: 39.52 kB / 0.5835 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.773e-05/0.3668, allocations: 31.75 kB / 0.5835 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.3671, allocations: 256.4 kB / 0.5838 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.3671, allocations: 8.469 kB / 0.5838 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.298e-05/0.3672, allocations: 20.8 kB / 0.5838 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.3675, allocations: 145.6 kB / 0.5839 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.3675, allocations: 7.938 kB / 0.5839 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.3675, allocations: 5.828 kB / 0.5839 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3675, allocations: 1.031 kB / 0.5839 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3677, allocations: 50.06 kB / 0.584 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.368, allocations: 316.4 kB / 0.5843 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.3683, allocations: 131.7 kB / 0.5844 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.3685, allocations: 62.41 kB / 0.5845 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3685, allocations: 1.344 kB / 0.5845 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004778/0.369, allocations: 220.9 kB / 0.5847 GB, free: 1.297 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.369, allocations: 0 / 0.5847 GB, free: 1.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005935/0.3696, allocations: 273.7 kB / 0.5849 GB, free: 1.199 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.3696, allocations: 62.3 kB / 0.585 GB, free: 1.133 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.3699, allocations: 286.8 kB / 0.5853 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.3699, allocations: 38.56 kB / 0.5853 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.37, allocations: 91.42 kB / 0.5854 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.3701, allocations: 46.86 kB / 0.5854 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.3702, allocations: 112.6 kB / 0.5856 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.122e-05/0.3703, allocations: 324.6 kB / 0.5859 GB, free: 456 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.3705, allocations: 91.25 kB / 0.586 GB, free: 432 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.3707, allocations: 144.9 kB / 0.5861 GB, free: 344 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.3711, allocations: 247.4 kB / 0.5863 GB, free: 152 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3711, allocations: 5.188 kB / 0.5863 GB, free: 148 kB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007917/0.3719, allocations: 415.2 kB / 0.5867 GB, free: 15.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.398e-05/0.372, allocations: 76.25 kB / 0.5868 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.372, allocations: 2.75 kB / 0.5868 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.372, allocations: 7.328 kB / 0.5868 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.3722, allocations: 27.05 kB / 0.5868 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.3722, allocations: 2.297 kB / 0.5868 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/0.3728, allocations: 56.48 kB / 0.5869 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.052e-05/0.3729, allocations: 59.06 kB / 0.5869 GB, free: 15.86 MB / 446.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.0002147/0.3731, allocations: 171.9 kB / 0.5871 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.3732, allocations: 28.56 kB / 0.5871 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.245e-05/0.3732, allocations: 35 kB / 0.5872 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3733, allocations: 1.844 kB / 0.5872 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3733, allocations: 1.422 kB / 0.5872 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3733, allocations: 2 kB / 0.5872 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000875/0.3742, allocations: 0.56 MB / 0.5877 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3742, allocations: 5.297 kB / 0.5877 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.3742, allocations: 7.734 kB / 0.5877 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3742, allocations: 1.156 kB / 0.5877 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.3743, allocations: 12.16 kB / 0.5877 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3743, allocations: 0 / 0.5877 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.3743, allocations: 2.094 kB / 0.5877 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.3748, allocations: 329.9 kB / 0.5881 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.3749, allocations: 159.8 kB / 0.5882 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.375, allocations: 8.5 kB / 0.5882 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.3752, allocations: 13.11 kB / 0.5882 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.3753, allocations: 17.44 kB / 0.5883 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.3754, allocations: 32.81 kB / 0.5883 GB, free: 14.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.3756, allocations: 208.2 kB / 0.5885 GB, free: 14.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3756, allocations: 0 / 0.5885 GB, free: 14.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003484/0.3759, allocations: 52.62 kB / 0.5885 GB, free: 14.84 MB / 446.1 MB 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.0007718/0.3767, allocations: 0.8652 MB / 0.5894 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005925/0.3773, allocations: 349.2 kB / 0.5897 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3773, allocations: 0 / 0.5897 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.3775, allocations: 82.25 kB / 0.5898 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3779, allocations: 28.86 kB / 0.5898 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.3811, allocations: 2.454 MB / 0.5922 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.3814, allocations: 0.7414 MB / 0.5929 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.3816, allocations: 38.7 kB / 0.593 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.3818, allocations: 46.64 kB / 0.593 GB, free: 11.33 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3818, allocations: 0 / 0.593 GB, free: 11.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05546/0.4372, allocations: 5.057 MB / 0.598 GB, free: 9.484 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/0.4375, allocations: 200 kB / 0.5981 GB, free: 9.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.274, allocations: 0 / 0.5981 GB, free: 9.23 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)