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.00141/0.00141, allocations: 176.2 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.7633/0.7633, allocations: 133.6 MB / 141.6 MB, free: 2.898 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.686/1.686, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.0009687/0.0009689, allocations: 102.1 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.918e-05/1.92e-05, allocations: 0 / 0.5535 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4978/0.4978, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.6506, allocations: 112.5 MB / 0.7437 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.651, allocations: 71.95 kB / 0.7438 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01354/0.6645, allocations: 4.457 MB / 0.7482 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6646, allocations: 0 / 0.7482 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.6646, allocations: 4 kB / 0.7482 GB, free: 5.691 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.0008769/0.6655, allocations: 0.5905 MB / 0.7487 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.6655, allocations: 8.031 kB / 0.7487 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.862e-05/0.6656, allocations: 31.72 kB / 0.7488 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.666, allocations: 250.5 kB / 0.749 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.666, allocations: 4 kB / 0.749 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/0.6661, allocations: 23.98 kB / 0.749 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001174/0.6662, allocations: 39.98 kB / 0.7491 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.6665, allocations: 133.5 kB / 0.7492 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.6665, allocations: 0 / 0.7492 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.6665, allocations: 0 / 0.7492 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.6665, allocations: 4 kB / 0.7492 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.6669, allocations: 301.8 kB / 0.7495 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.6671, allocations: 122.6 kB / 0.7496 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/0.6672, allocations: 52.84 kB / 0.7497 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.6673, allocations: 7.984 kB / 0.7497 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000378/0.6677, allocations: 216.6 kB / 0.7499 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.6677, allocations: 0 / 0.7499 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.000413/0.6681, allocations: 205.2 kB / 0.7501 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.6682, allocations: 59.41 kB / 0.7501 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.6684, allocations: 238.3 kB / 0.7504 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.6685, allocations: 37.69 kB / 0.7504 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.6685, allocations: 93.36 kB / 0.7505 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.6686, allocations: 31.61 kB / 0.7505 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.6686, allocations: 8 kB / 0.7505 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.6688, allocations: 326.8 kB / 0.7508 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.6689, allocations: 84.2 kB / 0.7509 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.6691, allocations: 142.1 kB / 0.751 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.6693, allocations: 80.62 kB / 0.7511 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6693, allocations: 3.938 kB / 0.7511 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000525/0.6698, allocations: 319.1 kB / 0.7514 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.872e-05/0.6699, allocations: 79.38 kB / 0.7515 GB, free: 2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.6699, allocations: 0 / 0.7515 GB, free: 2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.6699, allocations: 4 kB / 0.7515 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.6701, allocations: 20.17 kB / 0.7515 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.6701, allocations: 15.92 kB / 0.7515 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.6705, allocations: 39.88 kB / 0.7516 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/0.6706, allocations: 59.97 kB / 0.7516 GB, free: 1.863 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.0001369/0.6707, allocations: 129 kB / 0.7518 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002965/0.671, allocations: 214.1 kB / 0.752 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.6711, allocations: 27.7 kB / 0.752 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.59e-05/0.6712, allocations: 22.05 kB / 0.752 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.6712, allocations: 7.984 kB / 0.752 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6712, allocations: 0 / 0.752 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.6712, allocations: 0 / 0.752 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006659/0.6719, allocations: 0.527 MB / 0.7525 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.6719, allocations: 0 / 0.7525 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.6719, allocations: 11.98 kB / 0.7525 GB, free: 0.8789 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6719, allocations: 4 kB / 0.7525 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.672, allocations: 11.98 kB / 0.7526 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.672, allocations: 0 / 0.7526 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.672, allocations: 0 / 0.7526 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.6723, allocations: 308.4 kB / 0.7529 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.6725, allocations: 160.6 kB / 0.753 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.6726, allocations: 8 kB / 0.753 GB, free: 372 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.6727, allocations: 11.98 kB / 0.753 GB, free: 360 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.6728, allocations: 19.97 kB / 0.753 GB, free: 340 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.6729, allocations: 27.98 kB / 0.7531 GB, free: 312 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001672/0.673, allocations: 194 kB / 0.7533 GB, free: 116 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.673, allocations: 0 / 0.7533 GB, free: 116 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003153/0.6734, allocations: 48.36 kB / 0.7533 GB, free: 68 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.0006754/0.674, allocations: 0.8621 MB / 0.7541 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000456/0.6745, allocations: 322.9 kB / 0.7545 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6745, allocations: 0 / 0.7545 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.6746, allocations: 71.83 kB / 0.7545 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.6749, allocations: 22.06 kB / 0.7545 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007333/0.6756, allocations: 323.1 kB / 0.7549 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.676, allocations: 0.7474 MB / 0.7556 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001396/0.6761, allocations: 45.19 kB / 0.7556 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.6763, allocations: 43.36 kB / 0.7557 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of SimCode: time 2.81e-07/0.6763, allocations: 0 / 0.7557 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.7025, allocations: 4.921 MB / 0.7605 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/0.7028, allocations: 132.5 kB / 0.7606 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.322, allocations: 3.938 kB / 0.7606 GB, free: 8.426 MB / 0.5417 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)