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.0008895/0.0008896, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006737/0.006738, allocations: 170.9 kB / 16.26 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.341/1.341, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.726/0.726, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003852, allocations: 8 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4504, allocations: 81.57 MB / 0.5837 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002263/0.4527, allocations: 1.208 MB / 0.5849 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.4541, allocations: 437.2 kB / 0.5853 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.4541, allocations: 0 / 0.5853 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.4543, allocations: 6.688 kB / 0.5853 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.4544, allocations: 22.78 kB / 0.5854 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008104/0.4552, allocations: 228.3 kB / 0.5856 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000407/0.4556, allocations: 291.2 kB / 0.5859 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.823e-05/0.4557, allocations: 5.547 kB / 0.5859 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004299/0.4561, allocations: 209.2 kB / 0.5861 GB, free: 2.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.4565, allocations: 119.9 kB / 0.5862 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.918e-05/0.4565, allocations: 10.16 kB / 0.5862 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.241e-05/0.4566, allocations: 8.812 kB / 0.5862 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.4568, allocations: 75.52 kB / 0.5863 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.457, allocations: 144.7 kB / 0.5864 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.4574, allocations: 282.8 kB / 0.5867 GB, free: 2.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4574, allocations: 0.7031 kB / 0.5867 GB, free: 2.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4574, allocations: 0 / 0.5867 GB, free: 2.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.4574, allocations: 1.125 kB / 0.5867 GB, free: 2.18 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.00117/0.4586, allocations: 0.6135 MB / 0.5873 GB, free: 1.598 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.4587, allocations: 14.41 kB / 0.5873 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.318e-05/0.4587, allocations: 42.52 kB / 0.5873 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.4589, allocations: 31.19 kB / 0.5874 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.4592, allocations: 264.9 kB / 0.5876 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/0.4592, allocations: 13.95 kB / 0.5876 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.144e-05/0.4593, allocations: 19.55 kB / 0.5876 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.4597, allocations: 145.3 kB / 0.5878 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4598, allocations: 0 / 0.5878 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.4598, allocations: 5.906 kB / 0.5878 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.4598, allocations: 1.906 kB / 0.5878 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.46, allocations: 49.27 kB / 0.5878 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.4604, allocations: 323.6 kB / 0.5881 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.4608, allocations: 124.3 kB / 0.5883 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.461, allocations: 57.56 kB / 0.5883 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.4611, allocations: 6.266 kB / 0.5883 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006213/0.4617, allocations: 225 kB / 0.5885 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.964e-06/0.4617, allocations: 0 / 0.5885 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008077/0.4625, allocations: 270.1 kB / 0.5888 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.4626, allocations: 61.19 kB / 0.5889 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.463, allocations: 296.3 kB / 0.5891 GB, free: 464 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.4631, allocations: 36.59 kB / 0.5892 GB, free: 428 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.4631, allocations: 92.45 kB / 0.5893 GB, free: 340 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.4632, allocations: 42.58 kB / 0.5893 GB, free: 308 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.885e-05/0.4633, allocations: 34.94 kB / 0.5893 GB, free: 284 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.4634, allocations: 325.8 kB / 0.5896 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.4638, allocations: 90.75 kB / 0.5897 GB, free: 15.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.4642, allocations: 149.7 kB / 0.5899 GB, free: 15.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/0.4646, allocations: 251.4 kB / 0.5901 GB, free: 15.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.4647, allocations: 4.547 kB / 0.5901 GB, free: 15.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001043/0.4657, allocations: 406.4 kB / 0.5905 GB, free: 15.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.789e-05/0.4658, allocations: 75.89 kB / 0.5906 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4658, allocations: 2.25 kB / 0.5906 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.4659, allocations: 7.391 kB / 0.5906 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.4661, allocations: 26.42 kB / 0.5906 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.4661, allocations: 12.3 kB / 0.5906 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007496/0.4669, allocations: 64.66 kB / 0.5907 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.467, allocations: 54.56 kB / 0.5907 GB, free: 15.37 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 (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.0002823/0.4673, allocations: 175.9 kB / 0.5909 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.4674, allocations: 28.09 kB / 0.5909 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.98e-05/0.4675, allocations: 31.48 kB / 0.591 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4675, allocations: 2.922 kB / 0.591 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4675, allocations: 1.375 kB / 0.591 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4675, allocations: 4.641 kB / 0.591 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.4686, allocations: 0.5593 MB / 0.5915 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4687, allocations: 4 kB / 0.5915 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.4687, allocations: 12.12 kB / 0.5915 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.4687, allocations: 1.875 kB / 0.5915 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.4688, allocations: 12.02 kB / 0.5915 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4688, allocations: 0 / 0.5915 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4688, allocations: 1.453 kB / 0.5915 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000632/0.4695, allocations: 325.1 kB / 0.5919 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.4697, allocations: 162.8 kB / 0.592 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-05/0.4698, allocations: 12.77 kB / 0.592 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.4701, allocations: 11.52 kB / 0.592 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-05/0.4702, allocations: 21.22 kB / 0.5921 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.087e-05/0.4703, allocations: 29.34 kB / 0.5921 GB, free: 14.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002993/0.4706, allocations: 208.8 kB / 0.5923 GB, free: 14.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4706, allocations: 0 / 0.5923 GB, free: 14.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004891/0.4711, allocations: 48.03 kB / 0.5923 GB, free: 14.34 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 (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.001144/0.4722, allocations: 0.8705 MB / 0.5932 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009942/0.4733, allocations: 346.1 kB / 0.5935 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4733, allocations: 0 / 0.5935 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.4735, allocations: 71.08 kB / 0.5936 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.4741, allocations: 26.31 kB / 0.5936 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004553/0.4786, allocations: 2.456 MB / 0.596 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.4792, allocations: 0.7413 MB / 0.5967 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000242/0.4794, allocations: 38.61 kB / 0.5968 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.4796, allocations: 43.53 kB / 0.5968 GB, free: 10.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4796, allocations: 0 / 0.5968 GB, free: 10.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2374/0.7171, allocations: 4.981 MB / 0.6017 GB, free: 8.926 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/0.7174, allocations: 207.3 kB / 0.6019 GB, free: 8.668 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/3.332, allocations: 0 / 0.6019 GB, free: 8.668 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/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)