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.001748/0.001748, allocations: 180.9 kB / 7.65 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.8194/0.8194, 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.819/1.819, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.001007/0.001007, allocations: 102 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.848e-05/1.824e-05, allocations: 0 / 0.5535 GB, free: 8.984 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6182/0.6183, allocations: 82.31 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1719/0.7903, allocations: 112.5 MB / 0.7438 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/0.7907, allocations: 75.95 kB / 0.7439 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01428/0.805, allocations: 4.46 MB / 0.7482 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8051, allocations: 0 / 0.7482 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.047e-05/0.8051, allocations: 4 kB / 0.7482 GB, free: 5.652 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.0009856/0.8061, allocations: 0.5866 MB / 0.7488 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.8062, allocations: 11.97 kB / 0.7488 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.8063, allocations: 31.72 kB / 0.7488 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.8067, allocations: 250.5 kB / 0.7491 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.8068, allocations: 8 kB / 0.7491 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.8068, allocations: 19.98 kB / 0.7491 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000131/0.807, allocations: 39.98 kB / 0.7491 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.8072, allocations: 129.5 kB / 0.7493 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.8072, allocations: 4 kB / 0.7493 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.8073, allocations: 3.938 kB / 0.7493 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.8073, allocations: 4 kB / 0.7493 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.8077, allocations: 305.8 kB / 0.7496 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.8079, allocations: 118.7 kB / 0.7497 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.8081, allocations: 52.84 kB / 0.7497 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.8081, allocations: 4 kB / 0.7497 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004253/0.8086, allocations: 207.5 kB / 0.7499 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.8086, allocations: 0 / 0.7499 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0004822/0.8091, allocations: 214.8 kB / 0.7501 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.8092, allocations: 63.41 kB / 0.7502 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.8094, allocations: 234.3 kB / 0.7504 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/0.8095, allocations: 37.69 kB / 0.7505 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.8096, allocations: 97.36 kB / 0.7505 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/0.8097, allocations: 31.61 kB / 0.7506 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.8097, allocations: 4 kB / 0.7506 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.8099, allocations: 322.8 kB / 0.7509 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.81, allocations: 88.2 kB / 0.751 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.8103, allocations: 154 kB / 0.7511 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.8104, allocations: 72.69 kB / 0.7512 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.8104, allocations: 4 kB / 0.7512 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005928/0.811, allocations: 318.1 kB / 0.7515 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.232e-05/0.8111, allocations: 75.39 kB / 0.7516 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.8112, allocations: 0 / 0.7516 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.8112, allocations: 4 kB / 0.7516 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.8114, allocations: 27.91 kB / 0.7516 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.8114, allocations: 4 kB / 0.7516 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.8118, allocations: 44.06 kB / 0.7516 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.645e-05/0.8119, allocations: 55.98 kB / 0.7517 GB, free: 1.828 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.0002034/0.8121, allocations: 131.1 kB / 0.7518 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003333/0.8124, allocations: 205.8 kB / 0.752 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.8125, allocations: 23.72 kB / 0.752 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-05/0.8126, allocations: 30.03 kB / 0.7521 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.8126, allocations: 4 kB / 0.7521 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.8126, allocations: 0 / 0.7521 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.8126, allocations: 3.984 kB / 0.7521 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007666/0.8134, allocations: 0.5268 MB / 0.7526 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8134, allocations: 0 / 0.7526 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.8134, allocations: 11.98 kB / 0.7526 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8134, allocations: 0 / 0.7526 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.8135, allocations: 15.98 kB / 0.7526 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.8135, allocations: 4 kB / 0.7526 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8135, allocations: 0 / 0.7526 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.8139, allocations: 312.1 kB / 0.7529 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.8141, allocations: 156.6 kB / 0.7531 GB, free: 340 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-05/0.8142, allocations: 8 kB / 0.7531 GB, free: 332 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.8143, allocations: 7.984 kB / 0.7531 GB, free: 324 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.8144, allocations: 15.98 kB / 0.7531 GB, free: 308 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.8145, allocations: 35.97 kB / 0.7531 GB, free: 272 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001883/0.8147, allocations: 194 kB / 0.7533 GB, free: 76 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8147, allocations: 0 / 0.7533 GB, free: 76 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003309/0.815, allocations: 48.36 kB / 0.7534 GB, free: 28 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.000778/0.8158, allocations: 0.8618 MB / 0.7542 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004896/0.8163, allocations: 324.7 kB / 0.7545 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8163, allocations: 0 / 0.7545 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.8164, allocations: 71.83 kB / 0.7546 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.8167, allocations: 22.7 kB / 0.7546 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007949/0.8175, allocations: 323.1 kB / 0.7549 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.8179, allocations: 0.7474 MB / 0.7556 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000146/0.8181, allocations: 45.19 kB / 0.7557 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.8182, allocations: 39.42 kB / 0.7557 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of SimCode: time 2.034e-06/0.8182, allocations: 0 / 0.7557 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.8474, allocations: 4.927 MB / 0.7605 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002687/0.8478, allocations: 138.4 kB / 0.7607 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.671, allocations: 9.406 kB / 0.7607 GB, free: 8.383 MB / 0.5417 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)