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.001317/0.001322, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.00138, allocations: 193 kB / 16.66 MB, free: 6.613 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9697/0.9697, allocations: 135.5 MB / 426.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 67.89 kB / 0.5857 GB, free: 3.254 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4063, allocations: 81.02 MB / 0.6648 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002366/0.4087, allocations: 1.472 MB / 0.6663 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008879/0.4096, allocations: 425.7 kB / 0.6667 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.4097, allocations: 3.938 kB / 0.6667 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.766e-05/0.4098, allocations: 5.375 kB / 0.6667 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.4099, allocations: 23.88 kB / 0.6667 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006029/0.4105, allocations: 245.3 kB / 0.6669 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.4108, allocations: 316.1 kB / 0.6673 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.4109, allocations: 17.41 kB / 0.6673 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.4111, allocations: 185.9 kB / 0.6674 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.4113, allocations: 108.8 kB / 0.6675 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.415e-05/0.4114, allocations: 17.94 kB / 0.6676 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.49e-05/0.4115, allocations: 17.84 kB / 0.6676 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.4116, allocations: 81.16 kB / 0.6677 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.4117, allocations: 123.8 kB / 0.6678 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.412, allocations: 282.9 kB / 0.668 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.412, allocations: 0 / 0.668 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4121, allocations: 5.125 kB / 0.6681 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.4121, allocations: 0 / 0.6681 GB, free: 4.527 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.001088/0.4132, allocations: 0.7032 MB / 0.6687 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4132, allocations: 9.469 kB / 0.6687 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.4133, allocations: 41.33 kB / 0.6688 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.029e-05/0.4133, allocations: 34.53 kB / 0.6688 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.4136, allocations: 254.9 kB / 0.6691 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.4136, allocations: 19.8 kB / 0.6691 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.4137, allocations: 23.38 kB / 0.6691 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.4139, allocations: 143.7 kB / 0.6692 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4139, allocations: 0 / 0.6692 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.414, allocations: 13.16 kB / 0.6693 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.414, allocations: 2.719 kB / 0.6693 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.4141, allocations: 41.67 kB / 0.6693 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.4143, allocations: 311.7 kB / 0.6696 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.4146, allocations: 141 kB / 0.6697 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.4147, allocations: 60.42 kB / 0.6698 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.4148, allocations: 6.422 kB / 0.6698 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003976/0.4152, allocations: 209.9 kB / 0.67 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.4152, allocations: 0 / 0.67 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000584/0.4158, allocations: 277.9 kB / 0.6703 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.4158, allocations: 60.34 kB / 0.6703 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.4161, allocations: 291.3 kB / 0.6706 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.4161, allocations: 39.81 kB / 0.6706 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.4162, allocations: 94.39 kB / 0.6707 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.4162, allocations: 50.64 kB / 0.6708 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.4164, allocations: 107.3 kB / 0.6709 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.4165, allocations: 322.5 kB / 0.6712 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.4167, allocations: 90.91 kB / 0.6713 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.417, allocations: 146.6 kB / 0.6714 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.4173, allocations: 248.6 kB / 0.6716 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.4173, allocations: 5.312 kB / 0.6716 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006608/0.418, allocations: 408.5 kB / 0.672 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.85e-05/0.418, allocations: 74.89 kB / 0.6721 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.418, allocations: 1.375 kB / 0.6721 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.4181, allocations: 2.75 kB / 0.6721 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.4183, allocations: 32.59 kB / 0.6721 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.4183, allocations: 2.188 kB / 0.6721 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.4188, allocations: 59.62 kB / 0.6722 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.257e-05/0.4188, allocations: 54.86 kB / 0.6723 GB, free: 1.191 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.000155/0.419, allocations: 169.3 kB / 0.6724 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.4191, allocations: 31.72 kB / 0.6724 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.297e-05/0.4191, allocations: 32.06 kB / 0.6725 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4191, allocations: 6.75 kB / 0.6725 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.4191, allocations: 4 kB / 0.6725 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4191, allocations: 1.25 kB / 0.6725 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007374/0.4199, allocations: 0.5622 MB / 0.673 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.4199, allocations: 3.984 kB / 0.673 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.42, allocations: 6.375 kB / 0.673 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.42, allocations: 1.531 kB / 0.673 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.42, allocations: 13.11 kB / 0.6731 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.42, allocations: 9.641 kB / 0.6731 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.42, allocations: 0 / 0.6731 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.4204, allocations: 337.6 kB / 0.6734 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.4205, allocations: 152.1 kB / 0.6735 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.033e-05/0.4206, allocations: 7.406 kB / 0.6735 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.4208, allocations: 14.08 kB / 0.6736 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.4209, allocations: 12.58 kB / 0.6736 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.4209, allocations: 35.78 kB / 0.6736 GB, free: 112 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001849/0.4211, allocations: 205.7 kB / 0.6738 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4211, allocations: 0 / 0.6738 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003071/0.4214, allocations: 54.17 kB / 0.6739 GB, free: 15.96 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.0007989/0.4222, allocations: 0.8714 MB / 0.6747 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005636/0.4228, allocations: 343.2 kB / 0.675 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4228, allocations: 4.125 kB / 0.675 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.423, allocations: 70.84 kB / 0.6751 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.4234, allocations: 25.22 kB / 0.6751 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.4269, allocations: 2.397 MB / 0.6775 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.4273, allocations: 0.7347 MB / 0.6782 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001326/0.4274, allocations: 39.27 kB / 0.6782 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.4276, allocations: 47.89 kB / 0.6783 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.4276, allocations: 3.938 kB / 0.6783 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.4529, allocations: 5.273 MB / 0.6834 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/8.662, allocations: 13.16 kB / 0.6834 GB, free: 9.566 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)