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.008133/0.008133, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7412/0.7412, allocations: 135.2 MB / 151 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.2 MB / 406.8 MB, free: 3.246 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.0008929/0.0008932, allocations: 95.88 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.4542, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.6226, allocations: 113.2 MB / 0.76 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.6229, allocations: 75.95 kB / 0.7601 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01395/0.6369, allocations: 4.483 MB / 0.7645 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.897e-06/0.6369, allocations: 3.984 kB / 0.7645 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.637, allocations: 8 kB / 0.7645 GB, free: 14.24 MB / 0.5417 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.001187/0.6382, allocations: 0.6181 MB / 0.7651 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.148e-05/0.6383, allocations: 8.031 kB / 0.7651 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.183e-05/0.6383, allocations: 38.56 kB / 0.7652 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.898e-05/0.6384, allocations: 35.7 kB / 0.7652 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.6389, allocations: 254.5 kB / 0.7654 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.6389, allocations: 16 kB / 0.7654 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.639, allocations: 16 kB / 0.7655 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.6393, allocations: 147.6 kB / 0.7656 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.6393, allocations: 0 / 0.7656 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.6394, allocations: 4 kB / 0.7656 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.6394, allocations: 0 / 0.7656 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.6395, allocations: 43.97 kB / 0.7657 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.64, allocations: 333.3 kB / 0.766 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.6403, allocations: 130.7 kB / 0.7661 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.6403, allocations: 0 / 0.7661 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004906/0.6408, allocations: 224.8 kB / 0.7663 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.6408, allocations: 0 / 0.7663 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0006241/0.6415, allocations: 266.1 kB / 0.7666 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.6415, allocations: 71.33 kB / 0.7666 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.6418, allocations: 258 kB / 0.7669 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.078e-05/0.6419, allocations: 37.7 kB / 0.7669 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.642, allocations: 93.12 kB / 0.767 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.642, allocations: 39.52 kB / 0.767 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.6421, allocations: 12 kB / 0.767 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.6422, allocations: 318.8 kB / 0.7674 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.6425, allocations: 100.2 kB / 0.7674 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.6428, allocations: 154.4 kB / 0.7676 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.6431, allocations: 160.1 kB / 0.7677 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.6431, allocations: 3.953 kB / 0.7678 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000807/0.6439, allocations: 419.1 kB / 0.7682 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.542e-05/0.644, allocations: 79.31 kB / 0.7682 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.644, allocations: 3.984 kB / 0.7682 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.6441, allocations: 4.188 kB / 0.7682 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.6443, allocations: 31.92 kB / 0.7683 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.6443, allocations: 4 kB / 0.7683 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.6447, allocations: 47.81 kB / 0.7683 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.6448, allocations: 51.98 kB / 0.7684 GB, free: 9.984 MB / 0.5417 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 () * 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.0002229/0.645, allocations: 179.9 kB / 0.7685 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.6451, allocations: 31.58 kB / 0.7686 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.483e-05/0.6452, allocations: 34.25 kB / 0.7686 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6452, allocations: 0 / 0.7686 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.6452, allocations: 4 kB / 0.7686 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6452, allocations: 0 / 0.7686 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008711/0.6461, allocations: 0.5543 MB / 0.7691 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.6461, allocations: 4 kB / 0.7691 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.6461, allocations: 11.98 kB / 0.7692 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6461, allocations: 0 / 0.7692 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.6462, allocations: 15.98 kB / 0.7692 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6462, allocations: 0 / 0.7692 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6462, allocations: 0 / 0.7692 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000442/0.6466, allocations: 332.7 kB / 0.7695 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/0.6469, allocations: 148.7 kB / 0.7696 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.614e-05/0.6469, allocations: 11.98 kB / 0.7696 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.6471, allocations: 16 kB / 0.7697 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.6472, allocations: 15.97 kB / 0.7697 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/0.6472, allocations: 27.98 kB / 0.7697 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002037/0.6474, allocations: 209.9 kB / 0.7699 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6475, allocations: 0 / 0.7699 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003302/0.6478, allocations: 60.36 kB / 0.77 GB, free: 8.254 MB / 0.5417 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) * 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.00083/0.6486, allocations: 0.8747 MB / 0.7708 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006578/0.6493, allocations: 351.6 kB / 0.7712 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6493, allocations: 0 / 0.7712 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.6495, allocations: 69.69 kB / 0.7712 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.6497, allocations: 16.88 kB / 0.7712 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.6511, allocations: 1.612 MB / 0.7728 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.6514, allocations: 0.7438 MB / 0.7735 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.6516, allocations: 41.06 kB / 0.7736 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.6517, allocations: 47.41 kB / 0.7736 GB, free: 4.359 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.6517, allocations: 3.938 kB / 0.7736 GB, free: 4.355 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.669, allocations: 5.33 MB / 0.7788 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.6692, allocations: 166.7 kB / 0.779 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.399, allocations: 0 / 0.779 GB, free: 14.93 MB / 0.5573 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)