Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.001009/0.001009, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7465/0.7465, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.589/1.589, allocations: 221.3 MB / 400.4 MB, free: 5.805 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008809/0.000881, allocations: 99.81 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.98e-05, allocations: 2.656 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1731, allocations: 82.3 MB / 0.6405 GB, free: 7.688 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6578/0.831, allocations: 113.2 MB / 0.751 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.8313, allocations: 73.78 kB / 0.7511 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01243/0.8437, allocations: 4.5 MB / 0.7555 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8438, allocations: 0 / 0.7555 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.8438, allocations: 3.844 kB / 0.7555 GB, free: 27.04 MB / 0.5105 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.0007859/0.8446, allocations: 0.5876 MB / 0.7561 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.8446, allocations: 11.47 kB / 0.7561 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.8447, allocations: 37.86 kB / 0.7561 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.8448, allocations: 31.09 kB / 0.7561 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.8451, allocations: 251.2 kB / 0.7564 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.8451, allocations: 11.41 kB / 0.7564 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.8452, allocations: 19 kB / 0.7564 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.8454, allocations: 135.4 kB / 0.7565 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.8454, allocations: 7.938 kB / 0.7565 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.8455, allocations: 7.469 kB / 0.7565 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.8455, allocations: 0 / 0.7565 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.85e-05/0.8456, allocations: 44.02 kB / 0.7566 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.8459, allocations: 338.9 kB / 0.7569 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.8461, allocations: 124.1 kB / 0.757 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.368e-05/0.8462, allocations: 61.16 kB / 0.7571 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.8463, allocations: 0 / 0.7571 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003462/0.8466, allocations: 209.6 kB / 0.7573 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.482e-06/0.8466, allocations: 4 kB / 0.7573 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0004076/0.847, allocations: 223.8 kB / 0.7575 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.8471, allocations: 61.95 kB / 0.7576 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.8473, allocations: 255.5 kB / 0.7578 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.343e-05/0.8474, allocations: 36.11 kB / 0.7578 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.8474, allocations: 95.33 kB / 0.7579 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.8475, allocations: 37.23 kB / 0.758 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.8475, allocations: 14.05 kB / 0.758 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.8476, allocations: 317.8 kB / 0.7583 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.8478, allocations: 103.9 kB / 0.7584 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.848, allocations: 150.2 kB / 0.7585 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.8482, allocations: 159.8 kB / 0.7587 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.8483, allocations: 0 / 0.7587 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005741/0.8488, allocations: 410 kB / 0.7591 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.424e-05/0.8489, allocations: 74.84 kB / 0.7591 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.8489, allocations: 3.984 kB / 0.7591 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.8489, allocations: 3.906 kB / 0.7591 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.8491, allocations: 35.02 kB / 0.7592 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.8491, allocations: 0 / 0.7592 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.8495, allocations: 45.88 kB / 0.7592 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-05/0.8495, allocations: 58.12 kB / 0.7593 GB, free: 24.5 MB / 0.5105 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.0001212/0.8497, allocations: 137.5 kB / 0.7594 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.8497, allocations: 23.34 kB / 0.7594 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/0.8498, allocations: 31.38 kB / 0.7595 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.8498, allocations: 0 / 0.7595 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8498, allocations: 0 / 0.7595 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.8498, allocations: 3.984 kB / 0.7595 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007038/0.8505, allocations: 0.561 MB / 0.76 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.8505, allocations: 4 kB / 0.76 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.8506, allocations: 3.906 kB / 0.76 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.8506, allocations: 7.812 kB / 0.76 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.8506, allocations: 15.69 kB / 0.76 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.8506, allocations: 1.406 kB / 0.76 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8506, allocations: 3.812 kB / 0.76 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.851, allocations: 319.1 kB / 0.7604 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.8511, allocations: 151.1 kB / 0.7605 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.8512, allocations: 14.47 kB / 0.7605 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.8513, allocations: 15.7 kB / 0.7605 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.8514, allocations: 15.33 kB / 0.7605 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.8515, allocations: 31.06 kB / 0.7606 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001679/0.8516, allocations: 205.2 kB / 0.7608 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8516, allocations: 0 / 0.7608 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003128/0.852, allocations: 58.11 kB / 0.7608 GB, free: 23.51 MB / 0.5105 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.0006715/0.8526, allocations: 0.8673 MB / 0.7617 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004785/0.8531, allocations: 342.1 kB / 0.762 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8531, allocations: 3.875 kB / 0.762 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.8532, allocations: 72.58 kB / 0.7621 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.8535, allocations: 19.06 kB / 0.7621 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006607/0.8542, allocations: 344.3 kB / 0.7624 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.8545, allocations: 0.7457 MB / 0.7631 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.8547, allocations: 39.98 kB / 0.7632 GB, free: 21.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.8548, allocations: 45.34 kB / 0.7632 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/0.8548, allocations: 0 / 0.7632 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.8729, allocations: 5.382 MB / 0.7685 GB, free: 18.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.8731, allocations: 158.7 kB / 0.7686 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.576, allocations: 0 / 0.7686 GB, free: 18.77 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)