Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",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.001179/0.001179, allocations: 180.2 kB / 7.651 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.828/0.828, allocations: 133.6 MB / 141.6 MB, free: 2.871 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.765/1.765, allocations: 221.5 MB / 395.5 MB, free: 10.84 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.001063/0.001064, allocations: 108.4 kB / 478.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.565e-05/2.559e-05, allocations: 0 / 0.5535 GB, free: 8.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5431/0.5432, allocations: 82.3 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1658/0.709, allocations: 112.5 MB / 0.7437 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.7094, allocations: 71.95 kB / 0.7438 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01428/0.7237, allocations: 4.451 MB / 0.7482 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7237, allocations: 0 / 0.7482 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.038e-05/0.7238, allocations: 4 kB / 0.7482 GB, free: 5.781 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.001115/0.7249, allocations: 0.5866 MB / 0.7487 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.632e-05/0.725, allocations: 8.031 kB / 0.7487 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.7251, allocations: 35.7 kB / 0.7488 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.7255, allocations: 254.5 kB / 0.749 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.7256, allocations: 4 kB / 0.749 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.7256, allocations: 12 kB / 0.749 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001391/0.7258, allocations: 43.98 kB / 0.7491 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.7261, allocations: 133.5 kB / 0.7492 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.7261, allocations: 3.984 kB / 0.7492 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.7261, allocations: 8 kB / 0.7492 GB, free: 4.582 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.7262, allocations: 7.938 kB / 0.7492 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.7266, allocations: 297.9 kB / 0.7495 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.7269, allocations: 122.6 kB / 0.7496 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.727, allocations: 52.84 kB / 0.7497 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.727, allocations: 0 / 0.7497 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004432/0.7275, allocations: 211.5 kB / 0.7499 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.804e-06/0.7275, allocations: 0 / 0.7499 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0004935/0.728, allocations: 206.2 kB / 0.7501 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.7281, allocations: 71.39 kB / 0.7501 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.7284, allocations: 238.3 kB / 0.7504 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.7285, allocations: 29.7 kB / 0.7504 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.633e-05/0.7286, allocations: 97.34 kB / 0.7505 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.7286, allocations: 35.61 kB / 0.7505 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.7287, allocations: 4 kB / 0.7505 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.7289, allocations: 322.8 kB / 0.7508 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.7291, allocations: 88.16 kB / 0.7509 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.7293, allocations: 146.1 kB / 0.7511 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.7295, allocations: 75.08 kB / 0.7511 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.7295, allocations: 0 / 0.7511 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006146/0.7301, allocations: 332.7 kB / 0.7514 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.774e-05/0.7302, allocations: 71.39 kB / 0.7515 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.7302, allocations: 0 / 0.7515 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.7302, allocations: 4 kB / 0.7515 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.7304, allocations: 31.91 kB / 0.7515 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.7304, allocations: 4 kB / 0.7515 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.7308, allocations: 44.06 kB / 0.7516 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.831e-05/0.7309, allocations: 51.98 kB / 0.7516 GB, free: 1.953 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.0001572/0.7311, allocations: 123.1 kB / 0.7518 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003398/0.7314, allocations: 210 kB / 0.752 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.7315, allocations: 27.72 kB / 0.752 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.729e-05/0.7315, allocations: 26.03 kB / 0.752 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.7315, allocations: 8 kB / 0.752 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.7316, allocations: 0 / 0.752 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.7316, allocations: 3.938 kB / 0.752 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008601/0.7324, allocations: 0.5191 MB / 0.7525 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7325, allocations: 0 / 0.7525 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.7325, allocations: 8 kB / 0.7525 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7325, allocations: 0 / 0.7525 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.7326, allocations: 19.97 kB / 0.7526 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.7326, allocations: 0 / 0.7526 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.7326, allocations: 4 kB / 0.7526 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003803/0.733, allocations: 311.9 kB / 0.7529 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.7332, allocations: 156.7 kB / 0.753 GB, free: 476 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/0.7332, allocations: 11.98 kB / 0.753 GB, free: 464 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.7334, allocations: 4 kB / 0.753 GB, free: 460 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.7335, allocations: 19.97 kB / 0.753 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.7335, allocations: 27.98 kB / 0.7531 GB, free: 412 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000216/0.7337, allocations: 202 kB / 0.7533 GB, free: 208 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7338, allocations: 0 / 0.7533 GB, free: 208 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003382/0.7341, allocations: 48.38 kB / 0.7533 GB, free: 160 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.0008251/0.7349, allocations: 0.8604 MB / 0.7541 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005078/0.7355, allocations: 324.8 kB / 0.7545 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7355, allocations: 0 / 0.7545 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.7356, allocations: 79.75 kB / 0.7545 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.7359, allocations: 16.89 kB / 0.7545 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008245/0.7367, allocations: 323.1 kB / 0.7549 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.7372, allocations: 0.7512 MB / 0.7556 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.7373, allocations: 33.22 kB / 0.7556 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.7375, allocations: 51.41 kB / 0.7557 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.7375, allocations: 0 / 0.7557 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.7661, allocations: 4.93 MB / 0.7605 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/0.7664, allocations: 133.7 kB / 0.7606 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.488, allocations: 0 / 0.7606 GB, free: 8.52 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)