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.001954/0.001954, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.002309/0.002309, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.613/2.613, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.309/1.309, allocations: 132.2 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005797/0.0005798, allocations: 8 kB / 0.5033 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9591/0.9597, allocations: 81.58 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003467/0.9633, allocations: 1.179 MB / 0.5841 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.9651, allocations: 383.8 kB / 0.5845 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.9653, allocations: 2.312 kB / 0.5845 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.991e-05/0.9654, allocations: 9.859 kB / 0.5845 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.9657, allocations: 22.5 kB / 0.5845 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.9674, allocations: 208.1 kB / 0.5847 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006186/0.968, allocations: 155 kB / 0.5849 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.9681, allocations: 5.094 kB / 0.5849 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000602/0.9688, allocations: 162.6 kB / 0.585 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004753/0.9692, allocations: 124.6 kB / 0.5851 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.8e-05/0.9694, allocations: 11.81 kB / 0.5851 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.488e-05/0.9695, allocations: 10.06 kB / 0.5852 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.9697, allocations: 77.97 kB / 0.5852 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.9699, allocations: 61.27 kB / 0.5853 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007193/0.9707, allocations: 214.7 kB / 0.5855 GB, free: 2.523 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.9707, allocations: 1.062 kB / 0.5855 GB, free: 2.523 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.25e-06/0.9707, allocations: 0 / 0.5855 GB, free: 2.523 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.9707, allocations: 4 kB / 0.5855 GB, free: 2.52 MB / 430.1 MB 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.002257/0.973, allocations: 0.6128 MB / 0.5861 GB, free: 1.941 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001131/0.9731, allocations: 9.5 kB / 0.5861 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.9733, allocations: 39.89 kB / 0.5861 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.9735, allocations: 34.83 kB / 0.5862 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007794/0.9743, allocations: 257.4 kB / 0.5864 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.014e-05/0.9744, allocations: 13.14 kB / 0.5864 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.9745, allocations: 19.45 kB / 0.5865 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000727/0.9753, allocations: 152.7 kB / 0.5866 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.9753, allocations: 0.6562 kB / 0.5866 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.9754, allocations: 1.422 kB / 0.5866 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.9754, allocations: 3.25 kB / 0.5866 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.9757, allocations: 47.77 kB / 0.5867 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000883/0.9766, allocations: 312.2 kB / 0.5869 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005351/0.9771, allocations: 131.2 kB / 0.5871 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.371e-05/0.9772, allocations: 7.578 kB / 0.5871 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008789/0.9781, allocations: 217 kB / 0.5873 GB, free: 1.164 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 2.475e-06/0.9781, allocations: 0 / 0.5873 GB, free: 1.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.001105/0.9792, allocations: 269.3 kB / 0.5875 GB, free: 1.066 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.9793, allocations: 57.56 kB / 0.5876 GB, free: 1.004 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/0.9799, allocations: 294.5 kB / 0.5879 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-05/0.98, allocations: 36.84 kB / 0.5879 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.9801, allocations: 95.91 kB / 0.588 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.991e-05/0.9803, allocations: 46.59 kB / 0.5881 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.9803, allocations: 9.812 kB / 0.5881 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.9804, allocations: 324.3 kB / 0.5884 GB, free: 364 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.9809, allocations: 90.47 kB / 0.5885 GB, free: 336 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/0.9814, allocations: 143.7 kB / 0.5886 GB, free: 248 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/0.9819, allocations: 154.7 kB / 0.5887 GB, free: 136 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.9819, allocations: 0.5 kB / 0.5887 GB, free: 136 kB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001418/0.9833, allocations: 416.5 kB / 0.5891 GB, free: 15.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.9835, allocations: 72.88 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.9835, allocations: 10.25 kB / 0.5892 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.9835, allocations: 3.125 kB / 0.5892 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.9839, allocations: 27.67 kB / 0.5892 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.9839, allocations: 3.344 kB / 0.5893 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009641/0.9849, allocations: 72.92 kB / 0.5893 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/0.9851, allocations: 58.2 kB / 0.5894 GB, free: 15.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004638/0.9856, allocations: 172 kB / 0.5895 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.552e-05/0.9857, allocations: 24.41 kB / 0.5896 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.9858, allocations: 31.66 kB / 0.5896 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.9858, allocations: 2.578 kB / 0.5896 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.9858, allocations: 0.75 kB / 0.5896 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.9859, allocations: 5.562 kB / 0.5896 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.9875, allocations: 0.5624 MB / 0.5902 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.9875, allocations: 1.531 kB / 0.5902 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.965e-05/0.9876, allocations: 7.453 kB / 0.5902 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.9876, allocations: 1.375 kB / 0.5902 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.823e-05/0.9877, allocations: 11.47 kB / 0.5902 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.9877, allocations: 1.188 kB / 0.5902 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.9877, allocations: 3.953 kB / 0.5902 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008183/0.9886, allocations: 329.2 kB / 0.5905 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.9889, allocations: 154.4 kB / 0.5906 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/0.989, allocations: 12.55 kB / 0.5907 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.9894, allocations: 16.83 kB / 0.5907 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.9895, allocations: 14.05 kB / 0.5907 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.784e-05/0.9896, allocations: 32.16 kB / 0.5907 GB, free: 14.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004656/0.9901, allocations: 207 kB / 0.5909 GB, free: 14.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9901, allocations: 1.094 kB / 0.5909 GB, free: 14.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008143/0.991, allocations: 55.42 kB / 0.591 GB, free: 14.82 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001515/0.9925, allocations: 0.8614 MB / 0.5918 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.9939, allocations: 349.3 kB / 0.5921 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.9939, allocations: 4.062 kB / 0.5921 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.9942, allocations: 69.47 kB / 0.5922 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.9947, allocations: 15.28 kB / 0.5922 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.9974, allocations: 1.601 MB / 0.5938 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006067/0.9981, allocations: 0.7517 MB / 0.5945 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003148/0.9984, allocations: 35.12 kB / 0.5946 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.9987, allocations: 50.02 kB / 0.5946 GB, free: 11.65 MB / 446.1 MB Notification: Performance of SimCode: time 2.114e-06/0.9987, allocations: 0.5312 kB / 0.5946 GB, free: 11.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/1.029, allocations: 4.935 MB / 0.5994 GB, free: 9.977 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/1.03, allocations: 177.3 kB / 0.5996 GB, free: 9.738 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.037/4.066, allocations: 3.828 kB / 0.5996 GB, free: 9.738 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: