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.009774/0.009774, allocations: 101.3 kB / 15.73 MB, free: 6.438 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.002104/0.002104, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9814/0.9814, allocations: 135.1 MB / 425.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 59.91 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4235, allocations: 80.91 MB / 0.6641 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002376/0.4259, allocations: 1.483 MB / 0.6656 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009744/0.4269, allocations: 429.1 kB / 0.666 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.427, allocations: 0 / 0.666 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.4271, allocations: 7.875 kB / 0.666 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.4272, allocations: 28.81 kB / 0.666 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000672/0.4279, allocations: 238 kB / 0.6662 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.4283, allocations: 316.2 kB / 0.6665 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.4283, allocations: 5.188 kB / 0.6666 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.4286, allocations: 195.8 kB / 0.6667 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.4288, allocations: 112.6 kB / 0.6668 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.4288, allocations: 18.69 kB / 0.6669 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.22e-05/0.4289, allocations: 17.5 kB / 0.6669 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.429, allocations: 78.44 kB / 0.667 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.4292, allocations: 127.1 kB / 0.6671 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.4295, allocations: 279.9 kB / 0.6673 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4295, allocations: 3.984 kB / 0.6674 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4295, allocations: 1.406 kB / 0.6674 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.4295, allocations: 0 / 0.6674 GB, free: 4.934 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.001145/0.4306, allocations: 0.6905 MB / 0.668 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.4307, allocations: 9.781 kB / 0.668 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.4308, allocations: 40.83 kB / 0.6681 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.669e-05/0.4309, allocations: 31.53 kB / 0.6681 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.4311, allocations: 266.3 kB / 0.6684 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.4312, allocations: 19.41 kB / 0.6684 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.4313, allocations: 14.56 kB / 0.6684 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.4316, allocations: 149.3 kB / 0.6685 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.4316, allocations: 0 / 0.6685 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.4316, allocations: 5.109 kB / 0.6685 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.4316, allocations: 2.5 kB / 0.6685 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.4318, allocations: 44.81 kB / 0.6686 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.4321, allocations: 305.4 kB / 0.6689 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.4324, allocations: 140.9 kB / 0.669 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.4325, allocations: 57.73 kB / 0.6691 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.4325, allocations: 2.781 kB / 0.6691 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004423/0.433, allocations: 225.1 kB / 0.6693 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.724e-06/0.433, allocations: 0 / 0.6693 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005708/0.4336, allocations: 272.5 kB / 0.6695 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.4336, allocations: 55.25 kB / 0.6696 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.4339, allocations: 291.4 kB / 0.6699 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.4339, allocations: 44.23 kB / 0.6699 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.434, allocations: 90.61 kB / 0.67 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.434, allocations: 49.84 kB / 0.67 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.4342, allocations: 111.8 kB / 0.6702 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.4343, allocations: 321.3 kB / 0.6705 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.4345, allocations: 95.92 kB / 0.6706 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.4347, allocations: 143.2 kB / 0.6707 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.435, allocations: 242.4 kB / 0.6709 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.435, allocations: 1.531 kB / 0.6709 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006496/0.4357, allocations: 409.2 kB / 0.6713 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.344e-05/0.4357, allocations: 78.91 kB / 0.6714 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4358, allocations: 2.281 kB / 0.6714 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.4358, allocations: 2.062 kB / 0.6714 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.436, allocations: 24.86 kB / 0.6714 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.436, allocations: 3.469 kB / 0.6714 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.4364, allocations: 59.55 kB / 0.6715 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.027e-05/0.4365, allocations: 57.5 kB / 0.6715 GB, free: 1.617 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.0001402/0.4367, allocations: 174.8 kB / 0.6717 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.4367, allocations: 31.53 kB / 0.6717 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.4368, allocations: 37.12 kB / 0.6718 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4368, allocations: 2.062 kB / 0.6718 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4368, allocations: 0 / 0.6718 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.4368, allocations: 3.984 kB / 0.6718 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006956/0.4375, allocations: 0.5569 MB / 0.6723 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4375, allocations: 5.156 kB / 0.6723 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.4376, allocations: 9.094 kB / 0.6723 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4376, allocations: 1.062 kB / 0.6723 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.4376, allocations: 14.62 kB / 0.6723 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4376, allocations: 1.219 kB / 0.6723 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.4376, allocations: 4 kB / 0.6723 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.438, allocations: 322.6 kB / 0.6727 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.4382, allocations: 159.2 kB / 0.6728 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.4382, allocations: 7.688 kB / 0.6728 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.4384, allocations: 9.953 kB / 0.6728 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.4385, allocations: 20.03 kB / 0.6728 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/0.4385, allocations: 27.45 kB / 0.6729 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001614/0.4387, allocations: 213.9 kB / 0.6731 GB, free: 420 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4387, allocations: 0 / 0.6731 GB, free: 420 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003115/0.439, allocations: 50.44 kB / 0.6731 GB, free: 412 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.0007389/0.4398, allocations: 0.8641 MB / 0.674 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005433/0.4403, allocations: 345.9 kB / 0.6743 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4403, allocations: 0 / 0.6743 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.4405, allocations: 72.47 kB / 0.6744 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.4408, allocations: 31.98 kB / 0.6744 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.4438, allocations: 2.413 MB / 0.6767 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.4441, allocations: 0.7387 MB / 0.6775 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.4442, allocations: 44 kB / 0.6775 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.4443, allocations: 44.09 kB / 0.6776 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.4444, allocations: 0 / 0.6776 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.469, allocations: 5.272 MB / 0.6827 GB, free: 10 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/8.289, allocations: 9.156 kB / 0.6827 GB, free: 9.996 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)