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.005327/0.005327, allocations: 99.34 kB / 15.73 MB, free: 6.039 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.001335/0.001335, allocations: 199.6 kB / 16.68 MB, free: 5.961 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.6 MB / 426.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.89 kB / 0.5857 GB, free: 3.246 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4051, allocations: 81.02 MB / 0.6648 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002207/0.4073, allocations: 1.477 MB / 0.6663 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008299/0.4082, allocations: 425 kB / 0.6667 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.793e-05/0.4082, allocations: 1.469 kB / 0.6667 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.402e-05/0.4083, allocations: 7.938 kB / 0.6667 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.686e-05/0.4084, allocations: 27.34 kB / 0.6667 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.409, allocations: 240.6 kB / 0.667 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.4093, allocations: 324.3 kB / 0.6673 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.4094, allocations: 4.062 kB / 0.6673 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.4096, allocations: 191.1 kB / 0.6675 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.4098, allocations: 108.4 kB / 0.6676 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.586e-05/0.4099, allocations: 17.12 kB / 0.6676 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.944e-05/0.41, allocations: 18.09 kB / 0.6676 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.197e-05/0.4101, allocations: 81.44 kB / 0.6677 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.4102, allocations: 128 kB / 0.6678 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.4104, allocations: 278.5 kB / 0.6681 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4105, allocations: 3.984 kB / 0.6681 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4105, allocations: 1.125 kB / 0.6681 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.4105, allocations: 0 / 0.6681 GB, free: 4.531 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.0009798/0.4115, allocations: 0.701 MB / 0.6687 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.4115, allocations: 9.562 kB / 0.6688 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.4115, allocations: 42.14 kB / 0.6688 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.519e-05/0.4116, allocations: 38.31 kB / 0.6688 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.4118, allocations: 259.6 kB / 0.6691 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.4119, allocations: 15.22 kB / 0.6691 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.4119, allocations: 18.69 kB / 0.6691 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.4122, allocations: 146.1 kB / 0.6693 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.4122, allocations: 0 / 0.6693 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.4122, allocations: 9.203 kB / 0.6693 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4122, allocations: 2.5 kB / 0.6693 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.4124, allocations: 45.78 kB / 0.6693 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.4126, allocations: 312 kB / 0.6696 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.4129, allocations: 136.8 kB / 0.6697 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.413, allocations: 58.98 kB / 0.6698 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.4131, allocations: 1.562 kB / 0.6698 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004005/0.4135, allocations: 216.8 kB / 0.67 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.4135, allocations: 0 / 0.67 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005497/0.414, allocations: 272.9 kB / 0.6703 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.4141, allocations: 68.56 kB / 0.6703 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.4143, allocations: 290.8 kB / 0.6706 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.4143, allocations: 39.86 kB / 0.6706 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.4144, allocations: 90.83 kB / 0.6707 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.4144, allocations: 50.92 kB / 0.6708 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.4146, allocations: 103.6 kB / 0.6709 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.294e-05/0.4146, allocations: 321.7 kB / 0.6712 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.4148, allocations: 98.86 kB / 0.6713 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.415, allocations: 155.1 kB / 0.6714 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.4153, allocations: 244.7 kB / 0.6717 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4153, allocations: 0 / 0.6717 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005914/0.4159, allocations: 408.4 kB / 0.672 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/0.416, allocations: 76 kB / 0.6721 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.416, allocations: 1.406 kB / 0.6721 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.416, allocations: 3.188 kB / 0.6721 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.4162, allocations: 28.23 kB / 0.6722 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.4162, allocations: 3.625 kB / 0.6722 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004592/0.4166, allocations: 63.12 kB / 0.6722 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-05/0.4167, allocations: 54 kB / 0.6723 GB, free: 1.199 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.0001393/0.4169, allocations: 165.1 kB / 0.6724 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.4169, allocations: 36.22 kB / 0.6725 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.417, allocations: 36.53 kB / 0.6725 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.417, allocations: 1.125 kB / 0.6725 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.417, allocations: 1.188 kB / 0.6725 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.417, allocations: 11.92 kB / 0.6725 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.4176, allocations: 0.5589 MB / 0.6731 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4176, allocations: 0 / 0.6731 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.4177, allocations: 10.66 kB / 0.6731 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4177, allocations: 0 / 0.6731 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.4177, allocations: 18.25 kB / 0.6731 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4177, allocations: 5.094 kB / 0.6731 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4177, allocations: 1.062 kB / 0.6731 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.4181, allocations: 328.4 kB / 0.6734 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.4183, allocations: 151.4 kB / 0.6735 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.4183, allocations: 7.906 kB / 0.6736 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.4185, allocations: 14.52 kB / 0.6736 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.4186, allocations: 15.81 kB / 0.6736 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.4186, allocations: 32.67 kB / 0.6736 GB, free: 128 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001817/0.4188, allocations: 212.3 kB / 0.6738 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4188, allocations: 1.062 kB / 0.6738 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000301/0.4191, allocations: 46.28 kB / 0.6739 GB, free: 15.97 MB / 0.5137 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.0007966/0.4199, allocations: 0.8693 MB / 0.6747 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005367/0.4205, allocations: 345 kB / 0.675 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4205, allocations: 1.5 kB / 0.675 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.4207, allocations: 70.41 kB / 0.6751 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.421, allocations: 28.34 kB / 0.6751 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.4241, allocations: 2.396 MB / 0.6775 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.4245, allocations: 0.742 MB / 0.6782 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.4246, allocations: 40.42 kB / 0.6782 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.4248, allocations: 47.88 kB / 0.6783 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.4248, allocations: 0 / 0.6783 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.4525, allocations: 5.267 MB / 0.6834 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/8.78, allocations: 6.688 kB / 0.6834 GB, free: 9.582 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)