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.006912/0.006912, allocations: 96.7 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.001364/0.001365, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.987/0.987, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 71.88 kB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4182, allocations: 80.91 MB / 0.6641 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002461/0.4207, allocations: 1.487 MB / 0.6656 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008797/0.4216, allocations: 414.1 kB / 0.666 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.4217, allocations: 1.25 kB / 0.666 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.4218, allocations: 7.922 kB / 0.666 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.4219, allocations: 32.28 kB / 0.666 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.4225, allocations: 239.5 kB / 0.6662 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.4228, allocations: 323.4 kB / 0.6666 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.4229, allocations: 5.469 kB / 0.6666 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.4231, allocations: 191.2 kB / 0.6667 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.4233, allocations: 107.5 kB / 0.6668 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/0.4234, allocations: 17.88 kB / 0.6669 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.861e-05/0.4234, allocations: 18.5 kB / 0.6669 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.381e-05/0.4235, allocations: 81.09 kB / 0.667 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.4236, allocations: 120.8 kB / 0.6671 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.4239, allocations: 289.8 kB / 0.6673 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4239, allocations: 0 / 0.6673 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4239, allocations: 1.531 kB / 0.6674 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.4239, allocations: 0 / 0.6674 GB, free: 4.926 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.001086/0.425, allocations: 0.6986 MB / 0.668 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4251, allocations: 9 kB / 0.668 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.4251, allocations: 37.38 kB / 0.6681 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.545e-05/0.4252, allocations: 39.39 kB / 0.6681 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.4255, allocations: 271 kB / 0.6684 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.4255, allocations: 15.89 kB / 0.6684 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/0.4256, allocations: 18.75 kB / 0.6684 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.4259, allocations: 148.7 kB / 0.6685 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4259, allocations: 0 / 0.6685 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.4259, allocations: 5.328 kB / 0.6686 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4259, allocations: 1.125 kB / 0.6686 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.4261, allocations: 46.56 kB / 0.6686 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.4264, allocations: 315.8 kB / 0.6689 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.4266, allocations: 137.3 kB / 0.669 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.4268, allocations: 56.12 kB / 0.6691 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.4268, allocations: 6.734 kB / 0.6691 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003874/0.4272, allocations: 217.1 kB / 0.6693 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.4272, allocations: 0 / 0.6693 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005756/0.4278, allocations: 275.7 kB / 0.6696 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.4278, allocations: 61.22 kB / 0.6696 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.4281, allocations: 290.1 kB / 0.6699 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.4281, allocations: 44.44 kB / 0.6699 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.4282, allocations: 90.61 kB / 0.67 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.4282, allocations: 50.02 kB / 0.6701 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.4284, allocations: 107.7 kB / 0.6702 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.612e-05/0.4284, allocations: 326.3 kB / 0.6705 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.4286, allocations: 86.94 kB / 0.6706 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.4289, allocations: 150.9 kB / 0.6707 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.4291, allocations: 248.7 kB / 0.671 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4292, allocations: 0 / 0.671 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006129/0.4298, allocations: 405.1 kB / 0.6713 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.846e-05/0.4298, allocations: 71.39 kB / 0.6714 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4299, allocations: 2.438 kB / 0.6714 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.4299, allocations: 2.938 kB / 0.6714 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.43, allocations: 32.22 kB / 0.6714 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4301, allocations: 3 kB / 0.6714 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005082/0.4306, allocations: 60.16 kB / 0.6715 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-05/0.4307, allocations: 49.05 kB / 0.6715 GB, free: 1.594 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.0001513/0.4308, allocations: 177.3 kB / 0.6717 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.4309, allocations: 32.53 kB / 0.6717 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.4309, allocations: 28.16 kB / 0.6718 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4309, allocations: 6.031 kB / 0.6718 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4309, allocations: 0 / 0.6718 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.431, allocations: 1.062 kB / 0.6718 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006895/0.4316, allocations: 0.5641 MB / 0.6723 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4317, allocations: 3.938 kB / 0.6723 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.783e-05/0.4317, allocations: 10.73 kB / 0.6723 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.4317, allocations: 4.906 kB / 0.6724 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.4318, allocations: 13.89 kB / 0.6724 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4318, allocations: 1.062 kB / 0.6724 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4318, allocations: 7.984 kB / 0.6724 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.4322, allocations: 330.5 kB / 0.6727 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.4323, allocations: 151 kB / 0.6728 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.4324, allocations: 8.125 kB / 0.6728 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.4326, allocations: 14.2 kB / 0.6729 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.4327, allocations: 12.55 kB / 0.6729 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.4327, allocations: 32.02 kB / 0.6729 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000151/0.4329, allocations: 213.2 kB / 0.6731 GB, free: 384 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4329, allocations: 0 / 0.6731 GB, free: 384 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003208/0.4332, allocations: 51.36 kB / 0.6731 GB, free: 376 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.0006458/0.4339, allocations: 0.8715 MB / 0.674 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005479/0.4344, allocations: 346.1 kB / 0.6743 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4344, allocations: 1.25 kB / 0.6743 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.4346, allocations: 76.36 kB / 0.6744 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.4349, allocations: 25.12 kB / 0.6744 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.4379, allocations: 2.401 MB / 0.6768 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.4382, allocations: 0.7471 MB / 0.6775 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.4384, allocations: 39.77 kB / 0.6775 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.4385, allocations: 40.77 kB / 0.6776 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.4385, allocations: 0 / 0.6776 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.4599, allocations: 5.278 MB / 0.6827 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.483, allocations: 9.219 kB / 0.6827 GB, free: 9.957 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)