Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_dev_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.007432/0.007432, allocations: 169.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7662/0.7662, allocations: 135.2 MB / 151.1 MB, free: 13.83 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.526/1.526, allocations: 223.2 MB / 406.8 MB, free: 3.145 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.0009548/0.0009547, allocations: 102.7 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004204/0.0004206, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.4825, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1717/0.6542, allocations: 113.2 MB / 0.7601 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.6546, allocations: 79.94 kB / 0.7602 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01494/0.6696, allocations: 4.499 MB / 0.7646 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6696, allocations: 0 / 0.7646 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.048e-05/0.6697, allocations: 8 kB / 0.7646 GB, free: 14.15 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.001273/0.671, allocations: 0.6142 MB / 0.7652 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.671, allocations: 8.031 kB / 0.7652 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.012e-05/0.6711, allocations: 42.55 kB / 0.7652 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.6713, allocations: 31.72 kB / 0.7653 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.6718, allocations: 254.5 kB / 0.7655 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.6718, allocations: 11.98 kB / 0.7655 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.6719, allocations: 24 kB / 0.7655 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.6723, allocations: 145.4 kB / 0.7657 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.6723, allocations: 0 / 0.7657 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.6723, allocations: 8 kB / 0.7657 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.6723, allocations: 0 / 0.7657 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.6725, allocations: 43.97 kB / 0.7657 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.673, allocations: 329.3 kB / 0.766 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.6733, allocations: 134.6 kB / 0.7662 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.6734, allocations: 4 kB / 0.7662 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004697/0.6738, allocations: 215.3 kB / 0.7664 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.974e-06/0.6738, allocations: 3.938 kB / 0.7664 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0006293/0.6745, allocations: 267.6 kB / 0.7666 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.6746, allocations: 67.38 kB / 0.7667 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.6749, allocations: 254.1 kB / 0.7669 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.537e-05/0.6749, allocations: 45.69 kB / 0.767 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/0.675, allocations: 85.14 kB / 0.7671 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.6751, allocations: 39.52 kB / 0.7671 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.6751, allocations: 8 kB / 0.7671 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6753, allocations: 326.8 kB / 0.7674 GB, free: 11 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003142/0.6756, allocations: 100.2 kB / 0.7675 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.6759, allocations: 156.8 kB / 0.7677 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.6762, allocations: 160 kB / 0.7678 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.6762, allocations: 3.953 kB / 0.7678 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008271/0.6771, allocations: 421.2 kB / 0.7682 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.883e-05/0.6772, allocations: 75.39 kB / 0.7683 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.6772, allocations: 0 / 0.7683 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.6772, allocations: 7.938 kB / 0.7683 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.6774, allocations: 32.09 kB / 0.7683 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.6774, allocations: 7.938 kB / 0.7683 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003945/0.6778, allocations: 43.88 kB / 0.7684 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.205e-05/0.6779, allocations: 55.98 kB / 0.7684 GB, free: 9.891 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.0002308/0.6782, allocations: 175.9 kB / 0.7686 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.6782, allocations: 31.58 kB / 0.7686 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.386e-05/0.6783, allocations: 34.25 kB / 0.7687 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.6783, allocations: 0 / 0.7687 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.6783, allocations: 0 / 0.7687 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6783, allocations: 0 / 0.7687 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009071/0.6792, allocations: 0.5547 MB / 0.7692 GB, free: 9.039 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.6792, allocations: 8 kB / 0.7692 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.6793, allocations: 7.984 kB / 0.7692 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.6793, allocations: 7.984 kB / 0.7692 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.6793, allocations: 11.98 kB / 0.7692 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.6794, allocations: 0 / 0.7692 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.6794, allocations: 3.938 kB / 0.7693 GB, free: 9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.6798, allocations: 326.9 kB / 0.7696 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.6801, allocations: 152.7 kB / 0.7697 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/0.6801, allocations: 8 kB / 0.7697 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.6803, allocations: 15.98 kB / 0.7697 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.6804, allocations: 19.97 kB / 0.7698 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.685e-05/0.6804, allocations: 27.98 kB / 0.7698 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002099/0.6807, allocations: 205.9 kB / 0.77 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6807, allocations: 0 / 0.77 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003678/0.681, allocations: 60.38 kB / 0.77 GB, free: 8.164 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.000857/0.6819, allocations: 0.8696 MB / 0.7709 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006562/0.6826, allocations: 355.9 kB / 0.7712 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6826, allocations: 0 / 0.7712 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.6828, allocations: 71.95 kB / 0.7713 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.683, allocations: 18.94 kB / 0.7713 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.6848, allocations: 1.609 MB / 0.7729 GB, free: 5.125 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.6852, allocations: 0.7508 MB / 0.7736 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001663/0.6854, allocations: 37.08 kB / 0.7736 GB, free: 4.316 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.6856, allocations: 43.42 kB / 0.7737 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of SimCode: time 7.22e-07/0.6856, allocations: 0 / 0.7737 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.7084, allocations: 5.338 MB / 0.7789 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.7087, allocations: 184.4 kB / 0.7791 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.49, allocations: 0 / 0.7791 GB, free: 14.83 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)