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.004408/0.004408, allocations: 101.6 kB / 15.73 MB, free: 6.492 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.001072/0.001072, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.369/1.369, 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/package.mo): time 0.7903/0.7903, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.91 kB / 0.5808 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4173, allocations: 80.2 MB / 0.6592 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002659/0.42, allocations: 1.475 MB / 0.6606 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009539/0.421, allocations: 428.8 kB / 0.661 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.441e-05/0.4211, allocations: 1.375 kB / 0.661 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.4212, allocations: 5.391 kB / 0.661 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.4213, allocations: 23.44 kB / 0.661 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006941/0.422, allocations: 248.8 kB / 0.6613 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.4224, allocations: 317.1 kB / 0.6616 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.4224, allocations: 9.672 kB / 0.6616 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.4227, allocations: 189.5 kB / 0.6618 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.423, allocations: 110.4 kB / 0.6619 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.794e-05/0.423, allocations: 23.75 kB / 0.6619 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.4231, allocations: 17.12 kB / 0.6619 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.4232, allocations: 86.12 kB / 0.662 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.4233, allocations: 121.6 kB / 0.6621 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.4237, allocations: 278.3 kB / 0.6624 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4237, allocations: 1.188 kB / 0.6624 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4237, allocations: 0 / 0.6624 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.4237, allocations: 0 / 0.6624 GB, free: 7.98 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.001067/0.4248, allocations: 0.6987 MB / 0.6631 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4248, allocations: 10 kB / 0.6631 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.4249, allocations: 41.36 kB / 0.6631 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.882e-05/0.425, allocations: 30.38 kB / 0.6631 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.4253, allocations: 259.5 kB / 0.6634 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.4253, allocations: 15.56 kB / 0.6634 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.4254, allocations: 23.03 kB / 0.6634 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.4256, allocations: 143.5 kB / 0.6636 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4257, allocations: 0.875 kB / 0.6636 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.4257, allocations: 16.7 kB / 0.6636 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.4257, allocations: 1.875 kB / 0.6636 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.4258, allocations: 45.78 kB / 0.6636 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.4261, allocations: 308.3 kB / 0.6639 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.4264, allocations: 133 kB / 0.664 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.4265, allocations: 58.23 kB / 0.6641 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.4266, allocations: 6.375 kB / 0.6641 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004636/0.4271, allocations: 219 kB / 0.6643 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.4271, allocations: 5.312 kB / 0.6643 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006409/0.4277, allocations: 266.7 kB / 0.6646 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.4278, allocations: 61.22 kB / 0.6646 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.428, allocations: 293.9 kB / 0.6649 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.4281, allocations: 36.33 kB / 0.665 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.4281, allocations: 90.05 kB / 0.665 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.4282, allocations: 46.94 kB / 0.6651 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.4283, allocations: 107.6 kB / 0.6652 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.576e-05/0.4284, allocations: 325 kB / 0.6655 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.4286, allocations: 95.77 kB / 0.6656 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.4288, allocations: 148.5 kB / 0.6657 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.4291, allocations: 243.9 kB / 0.666 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4291, allocations: 2.094 kB / 0.666 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006294/0.4298, allocations: 410.1 kB / 0.6664 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.4298, allocations: 80.44 kB / 0.6664 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4298, allocations: 5.469 kB / 0.6664 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4299, allocations: 2.188 kB / 0.6664 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.43, allocations: 24.83 kB / 0.6665 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.4301, allocations: 11.86 kB / 0.6665 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.4305, allocations: 54.52 kB / 0.6665 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.85e-05/0.4306, allocations: 49.58 kB / 0.6666 GB, free: 4.648 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.0001585/0.4308, allocations: 178.5 kB / 0.6667 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.4308, allocations: 31.62 kB / 0.6668 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.4309, allocations: 36.56 kB / 0.6668 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4309, allocations: 0.9688 kB / 0.6668 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.4309, allocations: 1.281 kB / 0.6668 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.4309, allocations: 0 / 0.6668 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007005/0.4316, allocations: 0.5608 MB / 0.6674 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4316, allocations: 4 kB / 0.6674 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.657e-05/0.4317, allocations: 14.34 kB / 0.6674 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4317, allocations: 1.312 kB / 0.6674 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.4317, allocations: 18.16 kB / 0.6674 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4317, allocations: 0 / 0.6674 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4317, allocations: 5.156 kB / 0.6674 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.4321, allocations: 317.1 kB / 0.6677 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.4323, allocations: 151.7 kB / 0.6678 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.4323, allocations: 7.875 kB / 0.6679 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.4325, allocations: 19.08 kB / 0.6679 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.4326, allocations: 11.55 kB / 0.6679 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/0.4327, allocations: 35.16 kB / 0.6679 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001883/0.4329, allocations: 206.2 kB / 0.6681 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4329, allocations: 0 / 0.6681 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003267/0.4332, allocations: 51.3 kB / 0.6682 GB, free: 3.434 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.0006564/0.4338, allocations: 0.87 MB / 0.669 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004963/0.4344, allocations: 347.4 kB / 0.6693 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4344, allocations: 0 / 0.6693 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.4345, allocations: 67.66 kB / 0.6694 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.4348, allocations: 26.78 kB / 0.6694 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.4373, allocations: 2.401 MB / 0.6718 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.4376, allocations: 0.7428 MB / 0.6725 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.4377, allocations: 36.23 kB / 0.6725 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.4379, allocations: 52.47 kB / 0.6726 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of SimCode: time 4.7e-07/0.4379, allocations: 0 / 0.6726 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.4611, allocations: 5.268 MB / 0.6777 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.296/8.757, allocations: 12.45 kB / 0.6777 GB, free: 13.07 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)