Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_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.00711/0.00711, allocations: 168.4 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.7426/0.7426, allocations: 135.2 MB / 151 MB, free: 13.83 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.575/1.575, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.00125/0.00125, allocations: 96.7 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004014, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.4831, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.6479, allocations: 113.2 MB / 0.7601 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.6482, allocations: 71.95 kB / 0.7601 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01438/0.6626, allocations: 4.486 MB / 0.7645 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6627, allocations: 7.938 kB / 0.7645 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.6627, allocations: 3.938 kB / 0.7645 GB, free: 14.22 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.001196/0.6639, allocations: 0.6259 MB / 0.7651 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.664, allocations: 8.031 kB / 0.7651 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.946e-05/0.664, allocations: 38.55 kB / 0.7652 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.6642, allocations: 27.72 kB / 0.7652 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.6646, allocations: 254.5 kB / 0.7654 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.557e-05/0.6647, allocations: 12 kB / 0.7654 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-05/0.6648, allocations: 19.98 kB / 0.7655 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.6651, allocations: 149.1 kB / 0.7656 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.6651, allocations: 0 / 0.7656 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.6652, allocations: 3.984 kB / 0.7656 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.6652, allocations: 4 kB / 0.7656 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.6653, allocations: 43.97 kB / 0.7657 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.6658, allocations: 329.3 kB / 0.766 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.6661, allocations: 126.7 kB / 0.7661 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.6661, allocations: 7.984 kB / 0.7661 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004497/0.6666, allocations: 220.4 kB / 0.7663 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 3.406e-06/0.6666, allocations: 4 kB / 0.7663 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0006476/0.6673, allocations: 274.2 kB / 0.7666 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.6673, allocations: 59.39 kB / 0.7666 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.6677, allocations: 258.1 kB / 0.7669 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.604e-05/0.6678, allocations: 33.7 kB / 0.7669 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.6679, allocations: 97.12 kB / 0.767 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.22e-05/0.668, allocations: 39.5 kB / 0.767 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.668, allocations: 8 kB / 0.767 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.6682, allocations: 322.8 kB / 0.7674 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003294/0.6685, allocations: 108.2 kB / 0.7675 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.6689, allocations: 148.8 kB / 0.7676 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.6692, allocations: 160.1 kB / 0.7678 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.6693, allocations: 7.953 kB / 0.7678 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009251/0.6702, allocations: 414 kB / 0.7682 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.6703, allocations: 80.94 kB / 0.7682 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.6703, allocations: 4 kB / 0.7682 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.6704, allocations: 4 kB / 0.7682 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.6706, allocations: 23.92 kB / 0.7683 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.423e-05/0.6706, allocations: 4 kB / 0.7683 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/0.6711, allocations: 55.98 kB / 0.7683 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.6712, allocations: 59.97 kB / 0.7684 GB, free: 9.957 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.0002837/0.6715, allocations: 167.9 kB / 0.7685 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.6716, allocations: 35.58 kB / 0.7686 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.845e-05/0.6716, allocations: 30.25 kB / 0.7686 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.6717, allocations: 7.938 kB / 0.7686 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.6717, allocations: 0 / 0.7686 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.6717, allocations: 3.984 kB / 0.7686 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.6727, allocations: 0.5529 MB / 0.7692 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6727, allocations: 0 / 0.7692 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.989e-05/0.6728, allocations: 8 kB / 0.7692 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.6728, allocations: 0 / 0.7692 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.6728, allocations: 19.97 kB / 0.7692 GB, free: 9.074 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.6728, allocations: 4 kB / 0.7692 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.6728, allocations: 0 / 0.7692 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.6733, allocations: 328.5 kB / 0.7695 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/0.6736, allocations: 152.7 kB / 0.7696 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/0.6737, allocations: 8 kB / 0.7696 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.6739, allocations: 15.98 kB / 0.7697 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.674, allocations: 11.98 kB / 0.7697 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-05/0.674, allocations: 39.97 kB / 0.7697 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002426/0.6743, allocations: 201.9 kB / 0.7699 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6743, allocations: 0 / 0.7699 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003805/0.6747, allocations: 56.36 kB / 0.77 GB, free: 8.238 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.0009378/0.6756, allocations: 0.8732 MB / 0.7708 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007338/0.6764, allocations: 356.5 kB / 0.7712 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6764, allocations: 0 / 0.7712 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.6765, allocations: 67.97 kB / 0.7712 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.6769, allocations: 20.88 kB / 0.7712 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.6785, allocations: 1.608 MB / 0.7728 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.6789, allocations: 0.7477 MB / 0.7735 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.6791, allocations: 37.06 kB / 0.7736 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.6792, allocations: 47.41 kB / 0.7736 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of SimCode: time 1.152e-06/0.6792, allocations: 0 / 0.7736 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.7011, allocations: 5.329 MB / 0.7788 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/0.7015, allocations: 168.1 kB / 0.779 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.52, allocations: 0 / 0.779 GB, free: 14.89 MB / 0.5573 GB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)