Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.005133/0.005133, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001301/0.001301, allocations: 202 kB / 16.68 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.539/1.539, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.076/1.076, allocations: 135.6 MB / 426.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 71.88 kB / 0.5857 GB, free: 3.23 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.448/0.45, allocations: 81.01 MB / 0.6648 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002267/0.4523, allocations: 1.485 MB / 0.6663 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007929/0.4531, allocations: 422.1 kB / 0.6667 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.4531, allocations: 1.188 kB / 0.6667 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.625e-05/0.4533, allocations: 11.92 kB / 0.6667 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.758e-05/0.4534, allocations: 15.88 kB / 0.6667 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006402/0.454, allocations: 250.4 kB / 0.667 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.4544, allocations: 319.7 kB / 0.6673 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.4544, allocations: 5.812 kB / 0.6673 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.4547, allocations: 190.2 kB / 0.6675 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.4549, allocations: 110.4 kB / 0.6676 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.397e-05/0.455, allocations: 21.16 kB / 0.6676 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.787e-05/0.4551, allocations: 18.84 kB / 0.6676 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.4552, allocations: 84.27 kB / 0.6677 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.4553, allocations: 116.2 kB / 0.6678 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.4556, allocations: 285.9 kB / 0.6681 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4556, allocations: 1.188 kB / 0.6681 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4556, allocations: 0 / 0.6681 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.4557, allocations: 0 / 0.6681 GB, free: 4.539 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.001038/0.4567, allocations: 0.6953 MB / 0.6687 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4567, allocations: 10.28 kB / 0.6688 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.819e-05/0.4568, allocations: 41.27 kB / 0.6688 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.635e-05/0.4569, allocations: 34.25 kB / 0.6688 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.4571, allocations: 267 kB / 0.6691 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.4572, allocations: 16.31 kB / 0.6691 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.4572, allocations: 21.98 kB / 0.6691 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.4575, allocations: 144.9 kB / 0.6693 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.4575, allocations: 0 / 0.6693 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.4576, allocations: 5.156 kB / 0.6693 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.4576, allocations: 6.453 kB / 0.6693 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.4577, allocations: 40.88 kB / 0.6693 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.458, allocations: 317.2 kB / 0.6696 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.4582, allocations: 133.2 kB / 0.6697 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.4584, allocations: 58.11 kB / 0.6698 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.4584, allocations: 5.531 kB / 0.6698 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004181/0.4588, allocations: 219.1 kB / 0.67 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.442e-06/0.4588, allocations: 0 / 0.67 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005344/0.4594, allocations: 271.2 kB / 0.6703 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.4594, allocations: 68.78 kB / 0.6703 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.4596, allocations: 286.8 kB / 0.6706 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.4597, allocations: 48.86 kB / 0.6706 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.4597, allocations: 92.88 kB / 0.6707 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.4598, allocations: 47.44 kB / 0.6708 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.4599, allocations: 104.1 kB / 0.6709 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.412e-05/0.46, allocations: 322 kB / 0.6712 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.4602, allocations: 94.55 kB / 0.6713 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.4604, allocations: 154.6 kB / 0.6714 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.4606, allocations: 239.5 kB / 0.6717 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4607, allocations: 1.188 kB / 0.6717 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006136/0.4613, allocations: 408.1 kB / 0.672 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.4613, allocations: 79.59 kB / 0.6721 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4614, allocations: 2.156 kB / 0.6721 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4614, allocations: 6.781 kB / 0.6721 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.4615, allocations: 25.27 kB / 0.6722 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.4616, allocations: 10.48 kB / 0.6722 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.462, allocations: 58.56 kB / 0.6722 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/0.4621, allocations: 54.2 kB / 0.6723 GB, free: 1.195 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.0001441/0.4623, allocations: 162.1 kB / 0.6724 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.4623, allocations: 31.41 kB / 0.6725 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/0.4624, allocations: 39.69 kB / 0.6725 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4624, allocations: 2.125 kB / 0.6725 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4624, allocations: 5.172 kB / 0.6725 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.4624, allocations: 0 / 0.6725 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006719/0.4631, allocations: 0.559 MB / 0.673 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4631, allocations: 0 / 0.673 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.4632, allocations: 10.28 kB / 0.6731 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4632, allocations: 5.078 kB / 0.6731 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.4632, allocations: 9.859 kB / 0.6731 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.4632, allocations: 1.094 kB / 0.6731 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4632, allocations: 4 kB / 0.6731 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.4636, allocations: 333.5 kB / 0.6734 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.4637, allocations: 154.6 kB / 0.6735 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.4638, allocations: 12.33 kB / 0.6736 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.464, allocations: 10.69 kB / 0.6736 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.464, allocations: 16.31 kB / 0.6736 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.4641, allocations: 26.55 kB / 0.6736 GB, free: 136 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001862/0.4643, allocations: 218.2 kB / 0.6738 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4643, allocations: 0 / 0.6738 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003135/0.4646, allocations: 46.34 kB / 0.6739 GB, free: 15.98 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.0008209/0.4654, allocations: 0.8694 MB / 0.6747 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006006/0.466, allocations: 348.2 kB / 0.675 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.4661, allocations: 5.094 kB / 0.675 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.4662, allocations: 67.66 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.0003485/0.4666, allocations: 31.45 kB / 0.6751 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.4699, allocations: 2.393 MB / 0.6775 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.4703, allocations: 0.7406 MB / 0.6782 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.4704, allocations: 38.39 kB / 0.6782 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.4706, allocations: 49.16 kB / 0.6783 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of SimCode: time 7.21e-07/0.4706, allocations: 0 / 0.6783 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.4978, allocations: 5.283 MB / 0.6834 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.515/9.013, allocations: 7.625 kB / 0.6834 GB, free: 9.582 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)