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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007407/0.007407, allocations: 100.9 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 192.5 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.908/0.908, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 71.88 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4454, allocations: 80.9 MB / 0.6641 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002292/0.4478, allocations: 1.483 MB / 0.6656 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00085/0.4486, allocations: 435.4 kB / 0.666 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.788e-05/0.4487, allocations: 0 / 0.666 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.791e-05/0.4488, allocations: 3.938 kB / 0.666 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.791e-05/0.4489, allocations: 20.05 kB / 0.666 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006145/0.4495, allocations: 242 kB / 0.6662 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.4498, allocations: 320.1 kB / 0.6666 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.4499, allocations: 9.938 kB / 0.6666 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.4501, allocations: 190.8 kB / 0.6667 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.4503, allocations: 111.3 kB / 0.6668 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.282e-05/0.4504, allocations: 18.56 kB / 0.6669 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.043e-05/0.4504, allocations: 18.81 kB / 0.6669 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.704e-05/0.4505, allocations: 85.31 kB / 0.667 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.4507, allocations: 123.2 kB / 0.6671 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.4509, allocations: 284.8 kB / 0.6674 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4509, allocations: 0 / 0.6674 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4509, allocations: 0 / 0.6674 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.4509, allocations: 0 / 0.6674 GB, free: 4.898 MB / 0.4981 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.001001/0.452, allocations: 0.6953 MB / 0.668 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.452, allocations: 9.656 kB / 0.668 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.452, allocations: 41.22 kB / 0.6681 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.4521, allocations: 35.42 kB / 0.6681 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.4524, allocations: 255 kB / 0.6684 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.4524, allocations: 19.83 kB / 0.6684 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/0.4525, allocations: 14.03 kB / 0.6684 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.4527, allocations: 152.9 kB / 0.6685 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4528, allocations: 0 / 0.6685 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.4528, allocations: 1.5 kB / 0.6685 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4528, allocations: 1.562 kB / 0.6685 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.4529, allocations: 46.19 kB / 0.6686 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.4532, allocations: 310.8 kB / 0.6689 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.4534, allocations: 137.4 kB / 0.669 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.4536, allocations: 58.45 kB / 0.6691 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.4536, allocations: 2.125 kB / 0.6691 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003914/0.454, allocations: 214 kB / 0.6693 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.454, allocations: 0 / 0.6693 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005279/0.4545, allocations: 276.1 kB / 0.6695 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.4546, allocations: 68.33 kB / 0.6696 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.4548, allocations: 286 kB / 0.6699 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.4548, allocations: 44.25 kB / 0.6699 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.4549, allocations: 94.11 kB / 0.67 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.4549, allocations: 43.52 kB / 0.67 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.4551, allocations: 107.2 kB / 0.6702 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.4551, allocations: 321.2 kB / 0.6705 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.4553, allocations: 90.97 kB / 0.6705 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.4555, allocations: 151.6 kB / 0.6707 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.4558, allocations: 244.8 kB / 0.6709 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4558, allocations: 1.219 kB / 0.6709 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006004/0.4564, allocations: 412.5 kB / 0.6713 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/0.4565, allocations: 71.73 kB / 0.6714 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4565, allocations: 1.094 kB / 0.6714 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4565, allocations: 3.594 kB / 0.6714 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.4567, allocations: 32.12 kB / 0.6714 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.4567, allocations: 3.438 kB / 0.6714 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/0.4572, allocations: 55.02 kB / 0.6715 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.618e-05/0.4572, allocations: 54.61 kB / 0.6715 GB, free: 1.59 MB / 0.4981 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.4574, allocations: 180.9 kB / 0.6717 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.4574, allocations: 31.56 kB / 0.6717 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.018e-05/0.4575, allocations: 36.92 kB / 0.6718 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4575, allocations: 1.312 kB / 0.6718 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4575, allocations: 1.562 kB / 0.6718 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4575, allocations: 0 / 0.6718 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006505/0.4582, allocations: 0.56 MB / 0.6723 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4582, allocations: 1 kB / 0.6723 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.4582, allocations: 9.703 kB / 0.6723 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.4582, allocations: 1.438 kB / 0.6723 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.4583, allocations: 18.02 kB / 0.6723 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4583, allocations: 1.312 kB / 0.6723 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4583, allocations: 0 / 0.6723 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.4586, allocations: 325.5 kB / 0.6727 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.4588, allocations: 155 kB / 0.6728 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.4588, allocations: 8.219 kB / 0.6728 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.459, allocations: 10.08 kB / 0.6728 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.4591, allocations: 20.83 kB / 0.6728 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.4592, allocations: 30.91 kB / 0.6729 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001576/0.4593, allocations: 206.1 kB / 0.6731 GB, free: 392 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4593, allocations: 0 / 0.6731 GB, free: 392 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003124/0.4596, allocations: 55.23 kB / 0.6731 GB, free: 380 kB / 0.4981 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006452/0.4603, allocations: 0.8714 MB / 0.674 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005464/0.4609, allocations: 347 kB / 0.6743 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4609, allocations: 0 / 0.6743 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.461, allocations: 71.84 kB / 0.6744 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.4614, allocations: 24.94 kB / 0.6744 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002887/0.4643, allocations: 2.399 MB / 0.6767 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.4647, allocations: 0.7433 MB / 0.6775 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.4648, allocations: 47.44 kB / 0.6775 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.465, allocations: 48.02 kB / 0.6776 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.465, allocations: 0 / 0.6776 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.4899, allocations: 5.272 MB / 0.6827 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.555, allocations: 12.55 kB / 0.6827 GB, free: 9.965 MB / 0.5137 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/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)