Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_dev_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.001757/0.001757, 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.8569/0.8569, allocations: 133.6 MB / 141.6 MB, free: 2.945 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.671/1.671, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.001077/0.001076, allocations: 99 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.054e-05/2.056e-05, allocations: 4 kB / 0.5535 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5324/0.5325, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.6932, allocations: 112.5 MB / 0.7438 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.6935, allocations: 67.97 kB / 0.7439 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01368/0.7072, allocations: 4.464 MB / 0.7482 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7073, allocations: 0 / 0.7482 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.7073, allocations: 4 kB / 0.7482 GB, free: 5.621 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.0009004/0.7082, allocations: 0.5788 MB / 0.7488 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.7083, allocations: 12.03 kB / 0.7488 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.939e-05/0.7084, allocations: 31.66 kB / 0.7488 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.7088, allocations: 258.5 kB / 0.7491 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.7088, allocations: 4 kB / 0.7491 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.7089, allocations: 15.98 kB / 0.7491 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001203/0.709, allocations: 39.98 kB / 0.7491 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.7092, allocations: 140.9 kB / 0.7493 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.7092, allocations: 0 / 0.7493 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.7093, allocations: 3.938 kB / 0.7493 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.7093, allocations: 4 kB / 0.7493 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.7097, allocations: 297.9 kB / 0.7496 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.7099, allocations: 126.6 kB / 0.7497 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.966e-05/0.71, allocations: 52.84 kB / 0.7497 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.71, allocations: 0 / 0.7497 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004182/0.7104, allocations: 211.5 kB / 0.7499 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.7104, allocations: 0 / 0.7499 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0004215/0.7109, allocations: 214.3 kB / 0.7501 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.7109, allocations: 55.41 kB / 0.7502 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.7112, allocations: 242.3 kB / 0.7504 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.7112, allocations: 41.69 kB / 0.7505 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/0.7113, allocations: 89.36 kB / 0.7505 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.7114, allocations: 35.61 kB / 0.7506 GB, free: 3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.7114, allocations: 4 kB / 0.7506 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.7116, allocations: 330.8 kB / 0.7509 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.7117, allocations: 84.2 kB / 0.751 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.7119, allocations: 146.2 kB / 0.7511 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.7121, allocations: 78.88 kB / 0.7512 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7121, allocations: 0 / 0.7512 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000539/0.7126, allocations: 315.8 kB / 0.7515 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.651e-05/0.7127, allocations: 75.39 kB / 0.7516 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.7128, allocations: 3.984 kB / 0.7516 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.7128, allocations: 4 kB / 0.7516 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.713, allocations: 27.92 kB / 0.7516 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.713, allocations: 4 kB / 0.7516 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.7133, allocations: 39.88 kB / 0.7516 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.121e-05/0.7134, allocations: 55.98 kB / 0.7517 GB, free: 1.805 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.0001377/0.7136, allocations: 131.1 kB / 0.7518 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000306/0.7139, allocations: 209.8 kB / 0.752 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.7139, allocations: 23.72 kB / 0.752 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.714, allocations: 26.03 kB / 0.7521 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.714, allocations: 4 kB / 0.7521 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.714, allocations: 7.922 kB / 0.7521 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.714, allocations: 3.938 kB / 0.7521 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007234/0.7148, allocations: 0.5193 MB / 0.7526 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.7148, allocations: 0 / 0.7526 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.658e-05/0.7148, allocations: 15.98 kB / 0.7526 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7148, allocations: 0 / 0.7526 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.7149, allocations: 11.98 kB / 0.7526 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7149, allocations: 4 kB / 0.7526 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.7149, allocations: 0 / 0.7526 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.7152, allocations: 312.1 kB / 0.7529 GB, free: 492 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.7154, allocations: 160.6 kB / 0.7531 GB, free: 312 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.7155, allocations: 8 kB / 0.7531 GB, free: 304 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.7156, allocations: 7.984 kB / 0.7531 GB, free: 296 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.7157, allocations: 15.97 kB / 0.7531 GB, free: 280 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.7157, allocations: 31.98 kB / 0.7531 GB, free: 248 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001587/0.7159, allocations: 190 kB / 0.7533 GB, free: 56 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7159, allocations: 4 kB / 0.7533 GB, free: 52 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003356/0.7163, allocations: 52.36 kB / 0.7534 GB, free: 0 / 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.0006815/0.717, allocations: 0.8567 MB / 0.7542 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.7174, allocations: 328.7 kB / 0.7545 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7175, allocations: 4.312 kB / 0.7545 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.7176, allocations: 75.83 kB / 0.7546 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.7178, allocations: 18.59 kB / 0.7546 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007638/0.7186, allocations: 318.8 kB / 0.7549 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.719, allocations: 0.7513 MB / 0.7556 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.7191, allocations: 33.2 kB / 0.7557 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.7193, allocations: 47.42 kB / 0.7557 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of SimCode: time 2.81e-07/0.7193, allocations: 0 / 0.7557 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.7465, allocations: 4.937 MB / 0.7605 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/0.7469, allocations: 137.5 kB / 0.7607 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.579, allocations: 4 kB / 0.7607 GB, free: 8.355 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)