Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_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.007821/0.007821, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.001542/0.001542, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8364/0.8364, allocations: 132.2 MB / 422.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001905, allocations: 63.91 kB / 0.5808 GB, free: 8.035 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4215, allocations: 80.21 MB / 0.6592 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002374/0.4239, allocations: 1.469 MB / 0.6606 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008929/0.4249, allocations: 434.8 kB / 0.661 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.4249, allocations: 1.375 kB / 0.661 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.4251, allocations: 5.25 kB / 0.661 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.4252, allocations: 19.92 kB / 0.661 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007899/0.426, allocations: 248.4 kB / 0.6613 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003804/0.4264, allocations: 318.5 kB / 0.6616 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.4264, allocations: 5.984 kB / 0.6616 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.4267, allocations: 193.8 kB / 0.6618 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.427, allocations: 114.3 kB / 0.6619 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.511e-05/0.427, allocations: 22.06 kB / 0.6619 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.198e-05/0.4271, allocations: 17.31 kB / 0.6619 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.4273, allocations: 79.23 kB / 0.662 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.4274, allocations: 129 kB / 0.6621 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.4278, allocations: 278 kB / 0.6624 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4278, allocations: 1.406 kB / 0.6624 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4278, allocations: 0 / 0.6624 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4278, allocations: 0 / 0.6624 GB, free: 7.977 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.001034/0.4289, allocations: 0.707 MB / 0.6631 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.4289, allocations: 9.5 kB / 0.6631 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.428e-05/0.4289, allocations: 37.47 kB / 0.6631 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.589e-05/0.429, allocations: 31.55 kB / 0.6631 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.4293, allocations: 267 kB / 0.6634 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.4293, allocations: 14.97 kB / 0.6634 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.445e-05/0.4293, allocations: 18.67 kB / 0.6634 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.4296, allocations: 148.9 kB / 0.6636 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.4296, allocations: 0 / 0.6636 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.4297, allocations: 1.25 kB / 0.6636 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4297, allocations: 6.438 kB / 0.6636 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.4298, allocations: 46.81 kB / 0.6636 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.4301, allocations: 312.6 kB / 0.6639 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.4304, allocations: 136.8 kB / 0.6641 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.4305, allocations: 54.53 kB / 0.6641 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.4305, allocations: 6.375 kB / 0.6641 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003718/0.4309, allocations: 214.5 kB / 0.6643 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.4309, allocations: 3.938 kB / 0.6643 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005557/0.4315, allocations: 276.3 kB / 0.6646 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.4315, allocations: 59.61 kB / 0.6646 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.4318, allocations: 290.7 kB / 0.6649 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.4319, allocations: 37.33 kB / 0.665 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.4319, allocations: 93.19 kB / 0.665 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.432, allocations: 47.38 kB / 0.6651 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.4321, allocations: 107.8 kB / 0.6652 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.876e-05/0.4322, allocations: 321.9 kB / 0.6655 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.4324, allocations: 98.52 kB / 0.6656 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.4326, allocations: 149.3 kB / 0.6657 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.4329, allocations: 248.1 kB / 0.666 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.4329, allocations: 0 / 0.666 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006267/0.4335, allocations: 411.6 kB / 0.6664 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.4336, allocations: 75.48 kB / 0.6664 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4336, allocations: 9.219 kB / 0.6664 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.4337, allocations: 4.031 kB / 0.6665 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.4338, allocations: 24.97 kB / 0.6665 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.4338, allocations: 5.719 kB / 0.6665 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.4343, allocations: 55.53 kB / 0.6665 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.4344, allocations: 54.05 kB / 0.6666 GB, free: 4.633 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.0001866/0.4346, allocations: 169.3 kB / 0.6667 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.4347, allocations: 36.92 kB / 0.6668 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.4347, allocations: 30.91 kB / 0.6668 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.4347, allocations: 10.09 kB / 0.6668 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4347, allocations: 1.344 kB / 0.6668 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4348, allocations: 0 / 0.6668 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006665/0.4354, allocations: 0.5626 MB / 0.6674 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4354, allocations: 0 / 0.6674 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.4355, allocations: 18.48 kB / 0.6674 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4355, allocations: 1.625 kB / 0.6674 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.4355, allocations: 9.422 kB / 0.6674 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4355, allocations: 5.047 kB / 0.6674 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4355, allocations: 0 / 0.6674 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.4359, allocations: 324.7 kB / 0.6677 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.4361, allocations: 155.8 kB / 0.6679 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/0.4361, allocations: 12.17 kB / 0.6679 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.4363, allocations: 13.42 kB / 0.6679 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.4364, allocations: 16.39 kB / 0.6679 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.4364, allocations: 27.36 kB / 0.6679 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000165/0.4366, allocations: 210.2 kB / 0.6681 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4366, allocations: 0 / 0.6681 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003151/0.4369, allocations: 50.47 kB / 0.6682 GB, free: 3.414 MB / 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.0005485/0.4375, allocations: 0.8688 MB / 0.669 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005163/0.438, allocations: 344.8 kB / 0.6694 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.438, allocations: 1.406 kB / 0.6694 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.4382, allocations: 76.55 kB / 0.6694 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.4385, allocations: 20.62 kB / 0.6694 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.4411, allocations: 2.393 MB / 0.6718 GB, free: 488 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.4414, allocations: 0.7463 MB / 0.6725 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001338/0.4416, allocations: 35.62 kB / 0.6725 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.4417, allocations: 51.81 kB / 0.6726 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/0.4417, allocations: 0 / 0.6726 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.4685, allocations: 5.276 MB / 0.6778 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.674, allocations: 16.42 kB / 0.6778 GB, free: 13.04 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)