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.007363/0.007363, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001253/0.001253, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7797/0.7797, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 0.5808 GB, free: 8.094 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4024, allocations: 80.2 MB / 0.6592 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002564/0.4051, allocations: 1.472 MB / 0.6606 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009905/0.4061, allocations: 425.5 kB / 0.661 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.4061, allocations: 0 / 0.661 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.4063, allocations: 9.469 kB / 0.661 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.4064, allocations: 23.48 kB / 0.661 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007101/0.4072, allocations: 250.3 kB / 0.6613 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003507/0.4075, allocations: 316.6 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.4076, allocations: 5.562 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.4078, allocations: 193.3 kB / 0.6618 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.4081, allocations: 107.5 kB / 0.6619 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.404e-05/0.4081, allocations: 17.28 kB / 0.6619 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.925e-05/0.4082, allocations: 30.47 kB / 0.6619 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.4083, allocations: 78.06 kB / 0.662 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.4084, allocations: 122 kB / 0.6621 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.4087, allocations: 283.6 kB / 0.6624 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4087, allocations: 0 / 0.6624 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.173e-06/0.4088, allocations: 0 / 0.6624 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.4088, allocations: 0 / 0.6624 GB, free: 7.965 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.001026/0.4098, allocations: 0.692 MB / 0.663 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.4098, allocations: 13.62 kB / 0.6631 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.4099, allocations: 45.77 kB / 0.6631 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.11e-05/0.41, allocations: 30.06 kB / 0.6631 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.4102, allocations: 260.1 kB / 0.6634 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.4102, allocations: 18.61 kB / 0.6634 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.4103, allocations: 18.34 kB / 0.6634 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.4106, allocations: 147.1 kB / 0.6636 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.4106, allocations: 1.281 kB / 0.6636 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.4106, allocations: 7.984 kB / 0.6636 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4106, allocations: 2.469 kB / 0.6636 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.4108, allocations: 50.17 kB / 0.6636 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.411, allocations: 306.8 kB / 0.6639 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.4113, allocations: 129.5 kB / 0.664 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.4114, allocations: 58.55 kB / 0.6641 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.4115, allocations: 2.688 kB / 0.6641 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004115/0.4119, allocations: 220 kB / 0.6643 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.4119, allocations: 0 / 0.6643 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000559/0.4125, allocations: 273.2 kB / 0.6646 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.4125, allocations: 65.34 kB / 0.6646 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.4127, allocations: 290 kB / 0.6649 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.4128, allocations: 40.16 kB / 0.6649 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.4129, allocations: 91.05 kB / 0.665 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.4129, allocations: 46.34 kB / 0.6651 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.4131, allocations: 110 kB / 0.6652 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.4131, allocations: 322.8 kB / 0.6655 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.4133, allocations: 87.19 kB / 0.6656 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.4135, allocations: 153.6 kB / 0.6657 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.4138, allocations: 247.1 kB / 0.6659 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.4138, allocations: 1.219 kB / 0.6659 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006017/0.4144, allocations: 411.4 kB / 0.6663 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/0.4145, allocations: 73.86 kB / 0.6664 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4145, allocations: 5.469 kB / 0.6664 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4145, allocations: 7 kB / 0.6664 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.4147, allocations: 36.09 kB / 0.6665 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.4147, allocations: 2.812 kB / 0.6665 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.4152, allocations: 55.36 kB / 0.6665 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.449e-05/0.4152, allocations: 62.02 kB / 0.6666 GB, free: 4.668 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.0001388/0.4154, allocations: 177.4 kB / 0.6667 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.4154, allocations: 27.47 kB / 0.6668 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.801e-05/0.4155, allocations: 32.41 kB / 0.6668 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4155, allocations: 2.219 kB / 0.6668 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4155, allocations: 1.156 kB / 0.6668 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4155, allocations: 0 / 0.6668 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006466/0.4162, allocations: 0.5577 MB / 0.6673 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4162, allocations: 5.016 kB / 0.6674 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.4162, allocations: 5.688 kB / 0.6674 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.4162, allocations: 5.156 kB / 0.6674 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.4163, allocations: 13.95 kB / 0.6674 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4163, allocations: 1.156 kB / 0.6674 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4163, allocations: 5.422 kB / 0.6674 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.4166, allocations: 324.7 kB / 0.6677 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.4168, allocations: 150.2 kB / 0.6678 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.4168, allocations: 9.25 kB / 0.6678 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.417, allocations: 13.67 kB / 0.6679 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.4171, allocations: 17.02 kB / 0.6679 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.4171, allocations: 35.19 kB / 0.6679 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001603/0.4173, allocations: 204.7 kB / 0.6681 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4173, allocations: 1.188 kB / 0.6681 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003122/0.4176, allocations: 49.64 kB / 0.6682 GB, free: 3.465 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.0005441/0.4182, allocations: 0.8695 MB / 0.669 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005075/0.4187, allocations: 350.3 kB / 0.6693 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4187, allocations: 0 / 0.6693 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.4189, allocations: 64.97 kB / 0.6694 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.4192, allocations: 26.69 kB / 0.6694 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.4216, allocations: 2.4 MB / 0.6718 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.4218, allocations: 0.7378 MB / 0.6725 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.422, allocations: 39.58 kB / 0.6725 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.4221, allocations: 52.8 kB / 0.6726 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.4221, allocations: 0 / 0.6726 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.4435, allocations: 5.28 MB / 0.6777 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/8.123, allocations: 6.875 kB / 0.6777 GB, free: 13.09 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)