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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007976/0.007976, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001847/0.001847, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9704/0.9704, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 0.5851 GB, free: 3.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4607, allocations: 80.91 MB / 0.6641 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002589/0.4633, allocations: 1.482 MB / 0.6656 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009085/0.4642, allocations: 422.5 kB / 0.666 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.4643, allocations: 1.281 kB / 0.666 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.4644, allocations: 7.938 kB / 0.666 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.4645, allocations: 23.34 kB / 0.666 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.4652, allocations: 242.7 kB / 0.6662 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.4655, allocations: 320.2 kB / 0.6665 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.4656, allocations: 9.406 kB / 0.6666 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.4658, allocations: 187.5 kB / 0.6667 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.4661, allocations: 111.8 kB / 0.6668 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.839e-05/0.4661, allocations: 18.5 kB / 0.6669 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.447e-05/0.4662, allocations: 21.34 kB / 0.6669 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.751e-05/0.4663, allocations: 81.75 kB / 0.667 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.4664, allocations: 124.1 kB / 0.6671 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.4667, allocations: 284.6 kB / 0.6673 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4667, allocations: 0 / 0.6673 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4667, allocations: 0 / 0.6673 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.4667, allocations: 3.938 kB / 0.6674 GB, free: 4.938 MB / 0.4981 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.001081/0.4678, allocations: 0.6917 MB / 0.668 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4679, allocations: 8.906 kB / 0.668 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.4679, allocations: 37.47 kB / 0.6681 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.337e-05/0.468, allocations: 39.48 kB / 0.6681 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.4683, allocations: 254.6 kB / 0.6684 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.4684, allocations: 20.36 kB / 0.6684 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/0.4684, allocations: 18.09 kB / 0.6684 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.4687, allocations: 147.9 kB / 0.6685 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.4687, allocations: 0 / 0.6685 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.4687, allocations: 5.219 kB / 0.6685 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4687, allocations: 2.594 kB / 0.6685 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.4689, allocations: 44.97 kB / 0.6686 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.4692, allocations: 320.4 kB / 0.6689 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.4695, allocations: 133.4 kB / 0.669 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.4696, allocations: 55.22 kB / 0.6691 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.4696, allocations: 5.578 kB / 0.6691 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004227/0.47, allocations: 217.5 kB / 0.6693 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.442e-06/0.47, allocations: 0 / 0.6693 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000565/0.4706, allocations: 272 kB / 0.6695 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.4707, allocations: 60 kB / 0.6696 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.4709, allocations: 287.2 kB / 0.6699 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.471, allocations: 43.81 kB / 0.6699 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.471, allocations: 93.86 kB / 0.67 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.4711, allocations: 46.78 kB / 0.67 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.4713, allocations: 109 kB / 0.6701 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.4713, allocations: 321 kB / 0.6705 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.4715, allocations: 91.03 kB / 0.6705 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.4718, allocations: 154.6 kB / 0.6707 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.4721, allocations: 244.7 kB / 0.6709 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4721, allocations: 1.531 kB / 0.6709 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000637/0.4727, allocations: 408.4 kB / 0.6713 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.592e-05/0.4728, allocations: 71.33 kB / 0.6714 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4728, allocations: 1.156 kB / 0.6714 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.4728, allocations: 2.5 kB / 0.6714 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.473, allocations: 25.94 kB / 0.6714 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.473, allocations: 10.48 kB / 0.6714 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.4735, allocations: 59.64 kB / 0.6715 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.394e-05/0.4736, allocations: 53.89 kB / 0.6715 GB, free: 1.625 MB / 0.4981 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 (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.0001609/0.4737, allocations: 172.6 kB / 0.6717 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.4738, allocations: 39.59 kB / 0.6717 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/0.4739, allocations: 40.03 kB / 0.6718 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4739, allocations: 2.531 kB / 0.6718 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4739, allocations: 0 / 0.6718 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4739, allocations: 1.344 kB / 0.6718 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007564/0.4746, allocations: 0.5529 MB / 0.6723 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4747, allocations: 0 / 0.6723 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/0.4747, allocations: 14.36 kB / 0.6723 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4747, allocations: 1.062 kB / 0.6723 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.4747, allocations: 9.859 kB / 0.6723 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.4748, allocations: 5.156 kB / 0.6723 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4748, allocations: 0 / 0.6723 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.4752, allocations: 326.1 kB / 0.6727 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.4753, allocations: 155.6 kB / 0.6728 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.4754, allocations: 8.156 kB / 0.6728 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.4756, allocations: 13.92 kB / 0.6728 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.4757, allocations: 16.58 kB / 0.6728 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.4757, allocations: 27.17 kB / 0.6729 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001735/0.4759, allocations: 213 kB / 0.6731 GB, free: 428 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4759, allocations: 0 / 0.6731 GB, free: 428 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003109/0.4762, allocations: 55.23 kB / 0.6731 GB, free: 416 kB / 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.0007109/0.4769, allocations: 0.8692 MB / 0.674 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005788/0.4775, allocations: 345.6 kB / 0.6743 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4775, allocations: 0 / 0.6743 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.4777, allocations: 76.08 kB / 0.6744 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.478, allocations: 23.41 kB / 0.6744 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.4811, allocations: 2.401 MB / 0.6767 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.4816, allocations: 0.7467 MB / 0.6775 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.4817, allocations: 39.23 kB / 0.6775 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.4819, allocations: 45.39 kB / 0.6775 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.4819, allocations: 0 / 0.6775 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.5125, allocations: 5.383 MB / 0.6828 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.592, allocations: 3.781 kB / 0.6828 GB, free: 9.926 MB / 0.5137 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/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)