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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009882/0.0009882, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.745/0.745, allocations: 133.6 MB / 141.6 MB, free: 2.832 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 221.5 MB / 395.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008406/0.0008406, allocations: 100.9 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.711e-05/1.714e-05, allocations: 0 / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5013/0.5013, allocations: 82.3 MB / 0.6339 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.6577, allocations: 112.5 MB / 0.7438 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.658, allocations: 71.95 kB / 0.7439 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01337/0.6714, allocations: 4.459 MB / 0.7482 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6715, allocations: 0 / 0.7482 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.6715, allocations: 4 kB / 0.7482 GB, free: 5.723 MB / 0.5261 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.0008329/0.6723, allocations: 0.5883 MB / 0.7488 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.6724, allocations: 12.03 kB / 0.7488 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.627e-05/0.6725, allocations: 27.72 kB / 0.7488 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.6728, allocations: 254.5 kB / 0.7491 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.6729, allocations: 7.984 kB / 0.7491 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.919e-05/0.6729, allocations: 16 kB / 0.7491 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001335/0.6731, allocations: 39.98 kB / 0.7491 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.6733, allocations: 137.5 kB / 0.7493 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.6733, allocations: 7.922 kB / 0.7493 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.6733, allocations: 3.984 kB / 0.7493 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.6734, allocations: 0 / 0.7493 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.6737, allocations: 305.8 kB / 0.7496 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.6739, allocations: 114.7 kB / 0.7497 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/0.674, allocations: 56.84 kB / 0.7497 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.674, allocations: 0 / 0.7497 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003629/0.6744, allocations: 213.1 kB / 0.7499 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.6744, allocations: 4 kB / 0.7499 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0004004/0.6748, allocations: 209.2 kB / 0.7501 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.6749, allocations: 55.41 kB / 0.7502 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.6751, allocations: 246.3 kB / 0.7504 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/0.6752, allocations: 33.7 kB / 0.7505 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.6753, allocations: 89.36 kB / 0.7505 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.6753, allocations: 39.59 kB / 0.7506 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.6754, allocations: 11.98 kB / 0.7506 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.6755, allocations: 318.8 kB / 0.7509 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.6757, allocations: 88.22 kB / 0.751 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.6759, allocations: 142.1 kB / 0.7511 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.676, allocations: 79.06 kB / 0.7512 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.676, allocations: 4 kB / 0.7512 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000537/0.6766, allocations: 316.2 kB / 0.7515 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.366e-05/0.6767, allocations: 75.39 kB / 0.7516 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6767, allocations: 4 kB / 0.7516 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.6767, allocations: 4 kB / 0.7516 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.6769, allocations: 23.92 kB / 0.7516 GB, free: 2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6769, allocations: 4.172 kB / 0.7516 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.6772, allocations: 43.89 kB / 0.7516 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.896e-05/0.6773, allocations: 55.97 kB / 0.7517 GB, free: 1.898 MB / 0.5261 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 ($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 () * 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.0001252/0.6775, allocations: 127.1 kB / 0.7518 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002985/0.6778, allocations: 206 kB / 0.752 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.6778, allocations: 27.72 kB / 0.752 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/0.6779, allocations: 30.03 kB / 0.7521 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6779, allocations: 0 / 0.7521 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6779, allocations: 4 kB / 0.7521 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6779, allocations: 0 / 0.7521 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006524/0.6786, allocations: 0.5233 MB / 0.7526 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6786, allocations: 3.984 kB / 0.7526 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.6786, allocations: 4 kB / 0.7526 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.6786, allocations: 4 kB / 0.7526 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.6787, allocations: 11.98 kB / 0.7526 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.6787, allocations: 8 kB / 0.7526 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6787, allocations: 0 / 0.7526 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.679, allocations: 308.5 kB / 0.7529 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.6792, allocations: 160.6 kB / 0.7531 GB, free: 420 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/0.6793, allocations: 11.98 kB / 0.7531 GB, free: 408 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.6794, allocations: 8 kB / 0.7531 GB, free: 400 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.6795, allocations: 19.97 kB / 0.7531 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.6795, allocations: 31.98 kB / 0.7531 GB, free: 348 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001583/0.6797, allocations: 194 kB / 0.7533 GB, free: 152 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6797, allocations: 0 / 0.7533 GB, free: 152 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003091/0.68, allocations: 48.31 kB / 0.7534 GB, free: 104 kB / 0.5261 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) * 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.000669/0.6807, allocations: 0.8684 MB / 0.7542 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004712/0.6812, allocations: 322.9 kB / 0.7545 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.6812, allocations: 0 / 0.7545 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.6813, allocations: 71.83 kB / 0.7546 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.6816, allocations: 14.12 kB / 0.7546 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/0.6823, allocations: 335 kB / 0.7549 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.6826, allocations: 0.7435 MB / 0.7556 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000141/0.6828, allocations: 37.2 kB / 0.7557 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.6829, allocations: 43.41 kB / 0.7557 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.6829, allocations: 3.938 kB / 0.7557 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.7083, allocations: 4.925 MB / 0.7605 GB, free: 8.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.7086, allocations: 136.6 kB / 0.7607 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.316, allocations: 0 / 0.7607 GB, free: 8.465 MB / 0.5417 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/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)