Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_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.001097/0.001097, allocations: 180.9 kB / 7.651 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.7546/0.7546, 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.412/1.412, allocations: 221.5 MB / 395.4 MB, free: 10.82 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.0009138/0.0009138, allocations: 104.9 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.342e-05/2.343e-05, allocations: 4 kB / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4751/0.4751, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.6345, allocations: 112.5 MB / 0.7438 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.6348, allocations: 71.95 kB / 0.7439 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01396/0.6488, allocations: 4.456 MB / 0.7482 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.266e-06/0.6488, allocations: 4 kB / 0.7482 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.899e-05/0.6488, allocations: 4 kB / 0.7482 GB, free: 5.617 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.001066/0.6499, allocations: 0.5845 MB / 0.7488 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.65, allocations: 8.031 kB / 0.7488 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.6501, allocations: 31.7 kB / 0.7488 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.6506, allocations: 254.4 kB / 0.7491 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.6506, allocations: 11.98 kB / 0.7491 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.785e-05/0.6507, allocations: 16 kB / 0.7491 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000128/0.6508, allocations: 43.98 kB / 0.7491 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.6511, allocations: 133.5 kB / 0.7493 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.6511, allocations: 0 / 0.7493 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.6511, allocations: 0 / 0.7493 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.6511, allocations: 11.98 kB / 0.7493 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.6516, allocations: 305.8 kB / 0.7496 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.6518, allocations: 126.6 kB / 0.7497 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.519e-05/0.6519, allocations: 48.84 kB / 0.7497 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.652, allocations: 0 / 0.7497 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004185/0.6524, allocations: 215.5 kB / 0.7499 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.6524, allocations: 0 / 0.7499 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0004816/0.6529, allocations: 206 kB / 0.7501 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.653, allocations: 59.39 kB / 0.7502 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.6533, allocations: 242.3 kB / 0.7504 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.6533, allocations: 33.7 kB / 0.7505 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.6535, allocations: 89.36 kB / 0.7505 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.6535, allocations: 43.59 kB / 0.7506 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.6536, allocations: 8 kB / 0.7506 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.6538, allocations: 322.8 kB / 0.7509 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.654, allocations: 80.22 kB / 0.751 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.6542, allocations: 146.2 kB / 0.7511 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.6544, allocations: 83.02 kB / 0.7512 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6544, allocations: 0 / 0.7512 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005983/0.655, allocations: 319.6 kB / 0.7515 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.958e-05/0.6551, allocations: 75.39 kB / 0.7516 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.6551, allocations: 4.188 kB / 0.7516 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.6551, allocations: 4 kB / 0.7516 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.6553, allocations: 23.92 kB / 0.7516 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.6553, allocations: 7.984 kB / 0.7516 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.6557, allocations: 39.88 kB / 0.7516 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/0.6558, allocations: 55.98 kB / 0.7517 GB, free: 1.789 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.0001406/0.6559, allocations: 127.1 kB / 0.7518 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003203/0.6563, allocations: 211.2 kB / 0.752 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.6563, allocations: 23.72 kB / 0.752 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.6564, allocations: 26.03 kB / 0.7521 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.6564, allocations: 4 kB / 0.7521 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6564, allocations: 0 / 0.7521 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6564, allocations: 0 / 0.7521 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007205/0.6571, allocations: 0.5337 MB / 0.7526 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.6571, allocations: 0 / 0.7526 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.6572, allocations: 8 kB / 0.7526 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.6572, allocations: 0 / 0.7526 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.6572, allocations: 11.98 kB / 0.7526 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6573, allocations: 0 / 0.7526 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6573, allocations: 0 / 0.7526 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.6577, allocations: 308.4 kB / 0.7529 GB, free: 492 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.6578, allocations: 160.6 kB / 0.7531 GB, free: 312 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.6579, allocations: 15.98 kB / 0.7531 GB, free: 296 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.6581, allocations: 4 kB / 0.7531 GB, free: 292 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.6582, allocations: 19.95 kB / 0.7531 GB, free: 272 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.6582, allocations: 31.98 kB / 0.7531 GB, free: 240 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001841/0.6584, allocations: 198 kB / 0.7533 GB, free: 40 kB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6584, allocations: 0 / 0.7533 GB, free: 40 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000353/0.6588, allocations: 44.42 kB / 0.7534 GB, free: 15.99 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) * 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.0007058/0.6595, allocations: 0.8685 MB / 0.7542 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004776/0.66, allocations: 318.9 kB / 0.7545 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.66, allocations: 0 / 0.7545 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.6601, allocations: 73.08 kB / 0.7546 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.6604, allocations: 17.25 kB / 0.7546 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/0.6612, allocations: 330.7 kB / 0.7549 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.6616, allocations: 0.7435 MB / 0.7556 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001501/0.6617, allocations: 41.2 kB / 0.7557 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.6619, allocations: 43.41 kB / 0.7557 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of SimCode: time 3.51e-07/0.6619, allocations: 4 kB / 0.7557 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.6909, allocations: 4.926 MB / 0.7605 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/0.6913, allocations: 131.4 kB / 0.7607 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.393, allocations: 2.375 kB / 0.7607 GB, free: 8.355 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)