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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.008738/0.008738, allocations: 170.6 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7763/0.7763, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.727/1.727, allocations: 223.2 MB / 406.8 MB, free: 3.258 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009981/0.0009982, allocations: 108.1 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 8 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.478, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1682/0.6462, allocations: 113.2 MB / 0.7601 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.6465, allocations: 71.97 kB / 0.7602 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01404/0.6606, allocations: 4.495 MB / 0.7646 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6606, allocations: 3.938 kB / 0.7646 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.6607, allocations: 0 / 0.7646 GB, free: 14.19 MB / 0.5417 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.001198/0.6619, allocations: 0.622 MB / 0.7652 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.315e-05/0.662, allocations: 8.031 kB / 0.7652 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.492e-05/0.662, allocations: 42.55 kB / 0.7652 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.6622, allocations: 31.72 kB / 0.7653 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.6627, allocations: 254.5 kB / 0.7655 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/0.6627, allocations: 12 kB / 0.7655 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/0.6628, allocations: 19.98 kB / 0.7655 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.6632, allocations: 146.3 kB / 0.7657 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.6632, allocations: 0 / 0.7657 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.6632, allocations: 0 / 0.7657 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.6632, allocations: 7.938 kB / 0.7657 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.6634, allocations: 43.97 kB / 0.7657 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.6639, allocations: 333.3 kB / 0.766 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.6642, allocations: 134.6 kB / 0.7662 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.6642, allocations: 3.984 kB / 0.7662 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004856/0.6647, allocations: 223.3 kB / 0.7664 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 3.527e-06/0.6648, allocations: 0 / 0.7664 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0006046/0.6654, allocations: 266.5 kB / 0.7666 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.6654, allocations: 63.39 kB / 0.7667 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.6657, allocations: 258.1 kB / 0.7669 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/0.6658, allocations: 37.69 kB / 0.767 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.6659, allocations: 97.14 kB / 0.7671 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.496e-05/0.6659, allocations: 39.5 kB / 0.7671 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.666, allocations: 8 kB / 0.7671 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6661, allocations: 322.8 kB / 0.7674 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.6664, allocations: 104.2 kB / 0.7675 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.6667, allocations: 148.8 kB / 0.7677 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.667, allocations: 164 kB / 0.7678 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.667, allocations: 7.953 kB / 0.7678 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007757/0.6678, allocations: 412.2 kB / 0.7682 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.897e-05/0.6679, allocations: 71.58 kB / 0.7683 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.6679, allocations: 8 kB / 0.7683 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.6679, allocations: 4 kB / 0.7683 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.6681, allocations: 31.91 kB / 0.7683 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.6681, allocations: 4 kB / 0.7683 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.6685, allocations: 47.81 kB / 0.7684 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.546e-05/0.6686, allocations: 55.98 kB / 0.7684 GB, free: 9.922 MB / 0.5417 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002167/0.6688, allocations: 179.9 kB / 0.7686 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.6689, allocations: 35.56 kB / 0.7686 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.669, allocations: 26.25 kB / 0.7687 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.669, allocations: 4 kB / 0.7687 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.669, allocations: 0 / 0.7687 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.669, allocations: 0 / 0.7687 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008353/0.6698, allocations: 0.5583 MB / 0.7692 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6698, allocations: 0 / 0.7692 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.6699, allocations: 8 kB / 0.7692 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.6699, allocations: 0 / 0.7692 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.6699, allocations: 19.97 kB / 0.7692 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.67, allocations: 0 / 0.7692 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.67, allocations: 0 / 0.7692 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004207/0.6704, allocations: 330.8 kB / 0.7696 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.6706, allocations: 152.7 kB / 0.7697 GB, free: 8.527 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.6706, allocations: 12 kB / 0.7697 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.6708, allocations: 15.98 kB / 0.7697 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.6709, allocations: 15.97 kB / 0.7697 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.671, allocations: 31.98 kB / 0.7698 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001883/0.6711, allocations: 205.9 kB / 0.77 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6712, allocations: 0 / 0.77 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003342/0.6715, allocations: 56.38 kB / 0.77 GB, free: 8.195 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007583/0.6723, allocations: 0.8795 MB / 0.7709 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006201/0.6729, allocations: 351.4 kB / 0.7712 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6729, allocations: 0 / 0.7712 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.6731, allocations: 73.83 kB / 0.7713 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.6733, allocations: 17.27 kB / 0.7713 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.6748, allocations: 1.607 MB / 0.7729 GB, free: 5.156 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.6751, allocations: 0.7516 MB / 0.7736 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.6753, allocations: 37.08 kB / 0.7736 GB, free: 4.344 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.6754, allocations: 43.41 kB / 0.7737 GB, free: 4.301 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/0.6754, allocations: 0 / 0.7737 GB, free: 4.301 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.6947, allocations: 5.334 MB / 0.7789 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.695, allocations: 171.8 kB / 0.7791 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.609, allocations: 0 / 0.7791 GB, free: 14.86 MB / 0.5573 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 & /home/hudson/saved_omc/OMSimulator/install/linux/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)