Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.0009013/0.0009012, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001037/0.001037, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7699/0.7699, allocations: 132.3 MB / 423.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 9.906 kB / 0.5035 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4803/0.4806, allocations: 81.56 MB / 0.5831 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001438/0.4821, allocations: 1.193 MB / 0.5843 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008618/0.483, allocations: 410.4 kB / 0.5847 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.483, allocations: 0.6875 kB / 0.5847 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.79e-05/0.4831, allocations: 6.328 kB / 0.5847 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.4832, allocations: 19.14 kB / 0.5847 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006507/0.4839, allocations: 210.4 kB / 0.5849 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.4842, allocations: 246.2 kB / 0.5852 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.4842, allocations: 8.766 kB / 0.5852 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003464/0.4846, allocations: 215.7 kB / 0.5854 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.4848, allocations: 138.1 kB / 0.5855 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/0.4849, allocations: 10.22 kB / 0.5855 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.909e-05/0.485, allocations: 12.94 kB / 0.5855 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.4851, allocations: 77.62 kB / 0.5856 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.374e-05/0.4852, allocations: 69.05 kB / 0.5857 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.4854, allocations: 206.6 kB / 0.5859 GB, free: 2.465 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.4855, allocations: 0.9375 kB / 0.5859 GB, free: 2.465 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4855, allocations: 0 / 0.5859 GB, free: 2.465 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.4855, allocations: 0 / 0.5859 GB, free: 2.465 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.0009171/0.4864, allocations: 0.6208 MB / 0.5865 GB, free: 1.879 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.4864, allocations: 10.39 kB / 0.5865 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.4865, allocations: 39.72 kB / 0.5865 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.861e-05/0.4866, allocations: 33.78 kB / 0.5865 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.4868, allocations: 250.7 kB / 0.5868 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.4869, allocations: 12.69 kB / 0.5868 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.4869, allocations: 20.23 kB / 0.5868 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.4872, allocations: 145 kB / 0.587 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4872, allocations: 0 / 0.587 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.4873, allocations: 6.219 kB / 0.587 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.4873, allocations: 5.688 kB / 0.587 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.4874, allocations: 48.86 kB / 0.587 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.4878, allocations: 311.9 kB / 0.5873 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.4881, allocations: 126.9 kB / 0.5874 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.4882, allocations: 56.48 kB / 0.5875 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.4882, allocations: 7.391 kB / 0.5875 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004795/0.4887, allocations: 207.9 kB / 0.5877 GB, free: 1.098 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.4887, allocations: 0 / 0.5877 GB, free: 1.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005799/0.4893, allocations: 275.7 kB / 0.588 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.4894, allocations: 66.2 kB / 0.588 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.4897, allocations: 293.2 kB / 0.5883 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.4897, allocations: 37.38 kB / 0.5883 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.4898, allocations: 92.92 kB / 0.5884 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.4898, allocations: 42.33 kB / 0.5885 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.4899, allocations: 8.719 kB / 0.5885 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.993e-05/0.4899, allocations: 321.9 kB / 0.5888 GB, free: 296 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.4901, allocations: 98.22 kB / 0.5889 GB, free: 260 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.4904, allocations: 144.3 kB / 0.589 GB, free: 172 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.4906, allocations: 154.7 kB / 0.5892 GB, free: 60 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4906, allocations: 0.9688 kB / 0.5892 GB, free: 60 kB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007542/0.4914, allocations: 411.6 kB / 0.5896 GB, free: 15.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.339e-05/0.4915, allocations: 76.41 kB / 0.5896 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4915, allocations: 2.734 kB / 0.5896 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4915, allocations: 2.75 kB / 0.5896 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.4917, allocations: 26.5 kB / 0.5897 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.4917, allocations: 3.5 kB / 0.5897 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/0.4922, allocations: 81.25 kB / 0.5897 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.106e-05/0.4923, allocations: 63.19 kB / 0.5898 GB, free: 15.77 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.0002031/0.4925, allocations: 175.3 kB / 0.59 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.4926, allocations: 28.98 kB / 0.59 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.499e-05/0.4926, allocations: 27.92 kB / 0.59 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.4926, allocations: 1.938 kB / 0.59 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.4926, allocations: 0.8438 kB / 0.59 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4927, allocations: 1.359 kB / 0.59 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009182/0.4936, allocations: 0.5574 MB / 0.5906 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4936, allocations: 1.75 kB / 0.5906 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.4937, allocations: 12.69 kB / 0.5906 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4937, allocations: 1.188 kB / 0.5906 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.4937, allocations: 14.33 kB / 0.5906 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.4937, allocations: 1.25 kB / 0.5906 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4937, allocations: 4.516 kB / 0.5906 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004786/0.4942, allocations: 319.2 kB / 0.5909 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.4944, allocations: 156.6 kB / 0.5911 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.872e-05/0.4945, allocations: 9.25 kB / 0.5911 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.4947, allocations: 14.08 kB / 0.5911 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.4948, allocations: 19.75 kB / 0.5911 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.4948, allocations: 36.34 kB / 0.5911 GB, free: 14.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002801/0.4951, allocations: 206.7 kB / 0.5913 GB, free: 14.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4951, allocations: 0 / 0.5913 GB, free: 14.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003672/0.4955, allocations: 47.98 kB / 0.5914 GB, free: 14.75 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.000793/0.4963, allocations: 0.869 MB / 0.5922 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000592/0.4969, allocations: 340.1 kB / 0.5925 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4969, allocations: 0.6562 kB / 0.5925 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.4971, allocations: 75.55 kB / 0.5926 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.4974, allocations: 23.91 kB / 0.5926 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.4996, allocations: 1.158 MB / 0.5938 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.5, allocations: 0.7499 MB / 0.5945 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.5001, allocations: 34.5 kB / 0.5945 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.5003, allocations: 50.97 kB / 0.5946 GB, free: 12.33 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5003, allocations: 0 / 0.5946 GB, free: 12.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.5199, allocations: 4.971 MB / 0.5994 GB, free: 10.57 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/0.5201, allocations: 185.9 kB / 0.5996 GB, free: 10.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.471, allocations: 0 / 0.5996 GB, free: 10.33 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) Environment - environmentSimulation: