Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_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.007974/0.007974, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.00184/0.001841, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8329/0.8329, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 63.91 kB / 0.5808 GB, free: 8.098 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3939, allocations: 80.21 MB / 0.6592 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002121/0.396, allocations: 1.472 MB / 0.6606 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008606/0.3969, allocations: 427.7 kB / 0.661 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.842e-05/0.397, allocations: 1.25 kB / 0.661 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.597e-05/0.3971, allocations: 9.375 kB / 0.661 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.096e-05/0.3972, allocations: 19.7 kB / 0.661 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006622/0.3978, allocations: 252.2 kB / 0.6613 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.3982, allocations: 311.6 kB / 0.6616 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.3983, allocations: 9.688 kB / 0.6616 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.3985, allocations: 193.2 kB / 0.6618 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.3987, allocations: 115 kB / 0.6619 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.197e-05/0.3988, allocations: 21.78 kB / 0.6619 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.862e-05/0.3989, allocations: 18.22 kB / 0.6619 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.621e-05/0.399, allocations: 78.45 kB / 0.662 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.3991, allocations: 125.5 kB / 0.6621 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.3995, allocations: 276.5 kB / 0.6624 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3995, allocations: 0 / 0.6624 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3995, allocations: 0.5156 kB / 0.6624 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3995, allocations: 5.188 kB / 0.6624 GB, free: 8.004 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.00099/0.4005, allocations: 0.7098 MB / 0.6631 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.4005, allocations: 9.344 kB / 0.6631 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.4006, allocations: 42.27 kB / 0.6631 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.825e-05/0.4007, allocations: 30.95 kB / 0.6632 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.4009, allocations: 258.8 kB / 0.6634 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.4009, allocations: 19.14 kB / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.401, allocations: 14.78 kB / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.4013, allocations: 145.4 kB / 0.6636 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4013, allocations: 7.938 kB / 0.6636 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.4013, allocations: 4.922 kB / 0.6636 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4013, allocations: 1.125 kB / 0.6636 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.4015, allocations: 46.16 kB / 0.6636 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.4017, allocations: 307.6 kB / 0.6639 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.402, allocations: 134.4 kB / 0.6641 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.4022, allocations: 66.7 kB / 0.6641 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.4022, allocations: 1.188 kB / 0.6641 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004472/0.4026, allocations: 217.9 kB / 0.6643 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.4026, allocations: 0 / 0.6643 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005777/0.4032, allocations: 272.3 kB / 0.6646 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.4033, allocations: 60.33 kB / 0.6646 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.4036, allocations: 294.3 kB / 0.6649 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.4036, allocations: 40.39 kB / 0.665 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.4037, allocations: 86.2 kB / 0.665 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.4037, allocations: 47.53 kB / 0.6651 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.4039, allocations: 115.8 kB / 0.6652 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.169e-05/0.404, allocations: 321.3 kB / 0.6655 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.4042, allocations: 94.86 kB / 0.6656 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.4044, allocations: 141.5 kB / 0.6657 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.4048, allocations: 247.4 kB / 0.666 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4048, allocations: 0 / 0.666 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006728/0.4055, allocations: 415.6 kB / 0.6664 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-05/0.4055, allocations: 75.64 kB / 0.6664 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.4056, allocations: 6.422 kB / 0.6664 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4056, allocations: 6.75 kB / 0.6665 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.4058, allocations: 24.55 kB / 0.6665 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.4058, allocations: 2.375 kB / 0.6665 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.4063, allocations: 55.97 kB / 0.6665 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-05/0.4064, allocations: 58.48 kB / 0.6666 GB, free: 4.664 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.000167/0.4066, allocations: 173 kB / 0.6668 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.4066, allocations: 31.59 kB / 0.6668 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/0.4067, allocations: 35.62 kB / 0.6668 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4067, allocations: 2.188 kB / 0.6668 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4067, allocations: 1.125 kB / 0.6668 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.4067, allocations: 0 / 0.6668 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007246/0.4074, allocations: 0.5699 MB / 0.6674 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4074, allocations: 0 / 0.6674 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.4075, allocations: 11.06 kB / 0.6674 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4075, allocations: 1.312 kB / 0.6674 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.4075, allocations: 9.172 kB / 0.6674 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4075, allocations: 5.328 kB / 0.6674 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4075, allocations: 0 / 0.6674 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.4079, allocations: 328.1 kB / 0.6677 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.408, allocations: 159.8 kB / 0.6679 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.4081, allocations: 8.062 kB / 0.6679 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.4083, allocations: 9.766 kB / 0.6679 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.4084, allocations: 16.95 kB / 0.6679 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.4084, allocations: 30.94 kB / 0.6679 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001496/0.4086, allocations: 205.8 kB / 0.6681 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4086, allocations: 0 / 0.6681 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003205/0.4089, allocations: 55.23 kB / 0.6682 GB, free: 3.445 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.0005676/0.4095, allocations: 0.8721 MB / 0.669 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000556/0.41, allocations: 341.5 kB / 0.6694 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.41, allocations: 0 / 0.6694 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.4102, allocations: 73.06 kB / 0.6694 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.4106, allocations: 28.12 kB / 0.6695 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.4133, allocations: 2.388 MB / 0.6718 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.4136, allocations: 0.7457 MB / 0.6725 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000131/0.4138, allocations: 43.67 kB / 0.6726 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.4139, allocations: 44.86 kB / 0.6726 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of SimCode: time 8.22e-07/0.4139, allocations: 0 / 0.6726 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.4409, allocations: 5.28 MB / 0.6778 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.299/8.74, allocations: 8.75 kB / 0.6778 GB, free: 13.07 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)