Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.005765/0.005764, allocations: 170.3 kB / 15.11 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.741/0.741, allocations: 135.2 MB / 151 MB, free: 13.82 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.594/1.594, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001135/0.001135, allocations: 102 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003638, allocations: 11.98 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4635, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.171/0.6346, allocations: 113.2 MB / 0.7601 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.635, allocations: 79.95 kB / 0.7602 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01452/0.6495, allocations: 4.494 MB / 0.7646 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6496, allocations: 0 / 0.7646 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.847e-05/0.6496, allocations: 4 kB / 0.7646 GB, free: 14.17 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.001071/0.6507, allocations: 0.6259 MB / 0.7652 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.6508, allocations: 12.03 kB / 0.7652 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.184e-05/0.6508, allocations: 30.56 kB / 0.7652 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.6509, allocations: 31.72 kB / 0.7652 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.6514, allocations: 258.4 kB / 0.7655 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.6514, allocations: 11.98 kB / 0.7655 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/0.6515, allocations: 20 kB / 0.7655 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.6518, allocations: 145.5 kB / 0.7657 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.6518, allocations: 0 / 0.7657 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.6519, allocations: 4 kB / 0.7657 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.6519, allocations: 4 kB / 0.7657 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.652, allocations: 47.97 kB / 0.7657 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.6525, allocations: 329.3 kB / 0.766 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.6528, allocations: 126.7 kB / 0.7662 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.6528, allocations: 4 kB / 0.7662 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000452/0.6533, allocations: 228.2 kB / 0.7664 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.6533, allocations: 0 / 0.7664 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0006207/0.6539, allocations: 270.5 kB / 0.7666 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.654, allocations: 59.34 kB / 0.7667 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.6543, allocations: 262 kB / 0.7669 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/0.6543, allocations: 37.7 kB / 0.767 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.884e-05/0.6544, allocations: 89.14 kB / 0.7671 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.597e-05/0.6545, allocations: 47.48 kB / 0.7671 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.6545, allocations: 8 kB / 0.7671 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.6547, allocations: 322.8 kB / 0.7674 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.6549, allocations: 100.2 kB / 0.7675 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.6553, allocations: 160.8 kB / 0.7677 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.6556, allocations: 152.1 kB / 0.7678 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.6556, allocations: 3.953 kB / 0.7678 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007955/0.6564, allocations: 421.8 kB / 0.7682 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.975e-05/0.6565, allocations: 76.48 kB / 0.7683 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.6565, allocations: 3.984 kB / 0.7683 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.6566, allocations: 4 kB / 0.7683 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.6567, allocations: 23.92 kB / 0.7683 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.6568, allocations: 4 kB / 0.7683 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.6572, allocations: 52 kB / 0.7684 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-05/0.6573, allocations: 55.98 kB / 0.7684 GB, free: 9.91 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.0002303/0.6575, allocations: 178.7 kB / 0.7686 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.6575, allocations: 31.58 kB / 0.7686 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.395e-05/0.6576, allocations: 30.25 kB / 0.7687 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.6576, allocations: 0 / 0.7687 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.6576, allocations: 4 kB / 0.7687 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6577, allocations: 4 kB / 0.7687 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009001/0.6586, allocations: 0.5544 MB / 0.7692 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.6586, allocations: 0 / 0.7692 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.6586, allocations: 11.92 kB / 0.7692 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.6586, allocations: 4 kB / 0.7692 GB, free: 9.039 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.6587, allocations: 11.98 kB / 0.7692 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6587, allocations: 0 / 0.7692 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6587, allocations: 4 kB / 0.7692 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.6591, allocations: 330.9 kB / 0.7696 GB, free: 8.684 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.6594, allocations: 148.7 kB / 0.7697 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.6594, allocations: 19.98 kB / 0.7697 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.6596, allocations: 4 kB / 0.7697 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.914e-05/0.6597, allocations: 15.97 kB / 0.7697 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/0.6597, allocations: 31.98 kB / 0.7698 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002093/0.6599, allocations: 205.9 kB / 0.77 GB, free: 8.246 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.66, allocations: 8 kB / 0.77 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000337/0.6603, allocations: 56.36 kB / 0.77 GB, free: 8.184 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.0009386/0.6612, allocations: 0.873 MB / 0.7709 GB, free: 7.285 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006778/0.6619, allocations: 355.8 kB / 0.7712 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.662, allocations: 4.062 kB / 0.7712 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.6621, allocations: 67.97 kB / 0.7713 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.6624, allocations: 22.75 kB / 0.7713 GB, free: 6.82 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.664, allocations: 1.604 MB / 0.7729 GB, free: 5.145 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.6644, allocations: 0.7477 MB / 0.7736 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.6646, allocations: 37.08 kB / 0.7736 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.6647, allocations: 47.41 kB / 0.7737 GB, free: 4.289 MB / 0.5417 GB Notification: Performance of SimCode: time 5.41e-07/0.6647, allocations: 0 / 0.7737 GB, free: 4.289 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.6842, allocations: 5.341 MB / 0.7789 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.6844, allocations: 181.8 kB / 0.7791 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.433, allocations: 4 kB / 0.7791 GB, free: 14.84 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)