Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_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.00191/0.00191, allocations: 174.9 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.7697/0.7697, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.804/1.804, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.001239/0.00124, allocations: 101.9 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.273e-05/4.286e-05, allocations: 2.844 kB / 0.5601 GB, free: 87.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2091, allocations: 82.3 MB / 0.6405 GB, free: 7.766 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8103/1.019, allocations: 113.2 MB / 0.751 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/1.02, allocations: 74.95 kB / 0.7511 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01536/1.035, allocations: 4.493 MB / 0.7555 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.164e-06/1.035, allocations: 0 / 0.7555 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.736e-05/1.035, allocations: 3.781 kB / 0.7555 GB, free: 26.87 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.001644/1.037, allocations: 0.5828 MB / 0.756 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.872e-05/1.037, allocations: 15.47 kB / 0.7561 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/1.037, allocations: 36.72 kB / 0.7561 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/1.037, allocations: 30.94 kB / 0.7561 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005805/1.038, allocations: 253.5 kB / 0.7564 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.51e-05/1.038, allocations: 14.58 kB / 0.7564 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-05/1.038, allocations: 21.61 kB / 0.7564 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/1.039, allocations: 136.2 kB / 0.7565 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/1.039, allocations: 3.844 kB / 0.7565 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/1.039, allocations: 6.812 kB / 0.7565 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/1.039, allocations: 3.938 kB / 0.7565 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/1.039, allocations: 47.11 kB / 0.7566 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005501/1.039, allocations: 333 kB / 0.7569 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/1.04, allocations: 124.9 kB / 0.757 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/1.04, allocations: 54.16 kB / 0.7571 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/1.04, allocations: 7.938 kB / 0.7571 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004513/1.04, allocations: 210.9 kB / 0.7573 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.354e-06/1.04, allocations: 4 kB / 0.7573 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.000558/1.041, allocations: 226.9 kB / 0.7575 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/1.041, allocations: 55.25 kB / 0.7576 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/1.041, allocations: 252.1 kB / 0.7578 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.659e-05/1.041, allocations: 40.91 kB / 0.7578 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/1.041, allocations: 100.1 kB / 0.7579 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/1.042, allocations: 30.8 kB / 0.758 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/1.042, allocations: 11.28 kB / 0.758 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.042, allocations: 322.3 kB / 0.7583 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/1.042, allocations: 106.4 kB / 0.7584 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/1.042, allocations: 144 kB / 0.7585 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/1.043, allocations: 162 kB / 0.7587 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/1.043, allocations: 0 / 0.7587 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007594/1.043, allocations: 413.9 kB / 0.7591 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.149e-05/1.043, allocations: 77.16 kB / 0.7591 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.043, allocations: 0 / 0.7591 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/1.043, allocations: 3.844 kB / 0.7591 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/1.044, allocations: 26.7 kB / 0.7592 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/1.044, allocations: 8.031 kB / 0.7592 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/1.044, allocations: 45.78 kB / 0.7592 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.803e-05/1.044, allocations: 60.59 kB / 0.7593 GB, free: 24.48 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.0001845/1.044, allocations: 132.6 kB / 0.7594 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/1.044, allocations: 27.25 kB / 0.7594 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.679e-05/1.045, allocations: 31.81 kB / 0.7595 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.045, allocations: 0 / 0.7595 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/1.045, allocations: 0 / 0.7595 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/1.045, allocations: 11.91 kB / 0.7595 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009467/1.046, allocations: 0.557 MB / 0.76 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.046, allocations: 0 / 0.76 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/1.046, allocations: 4.75 kB / 0.76 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.046, allocations: 3.844 kB / 0.76 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/1.046, allocations: 13.64 kB / 0.76 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.046, allocations: 3.984 kB / 0.76 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.046, allocations: 0 / 0.76 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/1.046, allocations: 324.2 kB / 0.7604 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/1.046, allocations: 155 kB / 0.7605 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/1.046, allocations: 10.72 kB / 0.7605 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/1.047, allocations: 11.8 kB / 0.7605 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/1.047, allocations: 18.98 kB / 0.7605 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/1.047, allocations: 34.31 kB / 0.7606 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002092/1.047, allocations: 201.7 kB / 0.7608 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/1.047, allocations: 0 / 0.7608 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003582/1.047, allocations: 57.25 kB / 0.7608 GB, free: 23.49 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.0008508/1.048, allocations: 0.8706 MB / 0.7617 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005844/1.049, allocations: 341.5 kB / 0.762 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/1.049, allocations: 0 / 0.762 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/1.049, allocations: 76.55 kB / 0.7621 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/1.049, allocations: 18.5 kB / 0.7621 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008781/1.05, allocations: 339 kB / 0.7624 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/1.051, allocations: 0.7473 MB / 0.7631 GB, free: 21.68 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001517/1.051, allocations: 40.31 kB / 0.7632 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/1.051, allocations: 51.94 kB / 0.7632 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of SimCode: time 4.51e-07/1.051, allocations: 0 / 0.7632 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/1.071, allocations: 5.366 MB / 0.7685 GB, free: 18.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/1.071, allocations: 154.3 kB / 0.7686 GB, free: 18.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.865, allocations: 3.375 kB / 0.7686 GB, free: 18.75 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)