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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 103.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8786/0.8786, allocations: 134 MB / 436.6 MB, free: 13.93 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 76.06 kB / 0.6051 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4032, allocations: 84.66 MB / 0.6878 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002492/0.4057, allocations: 1.491 MB / 0.6892 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.4068, allocations: 430.3 kB / 0.6896 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.093e-05/0.4068, allocations: 0 / 0.6896 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.407, allocations: 10.02 kB / 0.6896 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.4071, allocations: 27.86 kB / 0.6897 GB, free: 304 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000719/0.4078, allocations: 241.2 kB / 0.6899 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.4082, allocations: 300 kB / 0.6902 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.4082, allocations: 3.875 kB / 0.6902 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/0.4085, allocations: 195.1 kB / 0.6904 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.4088, allocations: 113 kB / 0.6905 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.981e-05/0.4088, allocations: 26.22 kB / 0.6905 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.216e-05/0.4089, allocations: 17.53 kB / 0.6905 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.409, allocations: 81.92 kB / 0.6906 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.4092, allocations: 119.3 kB / 0.6907 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.4096, allocations: 280.8 kB / 0.691 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4096, allocations: 3.938 kB / 0.691 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4096, allocations: 0 / 0.691 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.4096, allocations: 1.281 kB / 0.691 GB, free: 15.47 MB / 0.5137 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.001374/0.411, allocations: 0.6985 MB / 0.6917 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.411, allocations: 9.844 kB / 0.6917 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.743e-05/0.4111, allocations: 36.77 kB / 0.6917 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.581e-05/0.4111, allocations: 30.95 kB / 0.6917 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.4115, allocations: 276 kB / 0.692 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.4116, allocations: 10.78 kB / 0.692 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.157e-05/0.4116, allocations: 22.61 kB / 0.692 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.4119, allocations: 146.9 kB / 0.6922 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.4119, allocations: 0 / 0.6922 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.412, allocations: 1.156 kB / 0.6922 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.412, allocations: 5.125 kB / 0.6922 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.4121, allocations: 46.25 kB / 0.6922 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.4125, allocations: 312.4 kB / 0.6925 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.4127, allocations: 120.8 kB / 0.6926 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.4129, allocations: 49.8 kB / 0.6927 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.4129, allocations: 2.375 kB / 0.6927 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004816/0.4134, allocations: 230.3 kB / 0.6929 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.4134, allocations: 0 / 0.6929 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006323/0.414, allocations: 267.8 kB / 0.6932 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.4141, allocations: 67.91 kB / 0.6932 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.4144, allocations: 291.2 kB / 0.6935 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/0.4145, allocations: 39.64 kB / 0.6935 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.424e-05/0.4145, allocations: 93.88 kB / 0.6936 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.004e-05/0.4146, allocations: 47.47 kB / 0.6937 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.4148, allocations: 103.5 kB / 0.6938 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4149, allocations: 326.3 kB / 0.6941 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.4151, allocations: 94.3 kB / 0.6942 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.4154, allocations: 150 kB / 0.6943 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.4157, allocations: 240 kB / 0.6946 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4157, allocations: 1.375 kB / 0.6946 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000653/0.4163, allocations: 417.2 kB / 0.695 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.001e-05/0.4164, allocations: 75.77 kB / 0.695 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4164, allocations: 1.562 kB / 0.695 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.4164, allocations: 6.75 kB / 0.695 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.4166, allocations: 25.84 kB / 0.6951 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4166, allocations: 6.688 kB / 0.6951 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.4171, allocations: 58.22 kB / 0.6951 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-05/0.4172, allocations: 54.08 kB / 0.6952 GB, free: 12.12 MB / 0.5137 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.0002713/0.4175, allocations: 170.2 kB / 0.6953 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.4175, allocations: 35.48 kB / 0.6954 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.318e-05/0.4176, allocations: 28.62 kB / 0.6954 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.4176, allocations: 2.438 kB / 0.6954 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.4176, allocations: 0 / 0.6954 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4176, allocations: 0 / 0.6954 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.4187, allocations: 0.5606 MB / 0.6959 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4187, allocations: 0 / 0.6959 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.4187, allocations: 17.83 kB / 0.696 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4187, allocations: 1.156 kB / 0.696 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.4188, allocations: 15.08 kB / 0.696 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4188, allocations: 0 / 0.696 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4188, allocations: 1.375 kB / 0.696 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.4193, allocations: 325.4 kB / 0.6963 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.4195, allocations: 155.3 kB / 0.6964 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.4196, allocations: 13.14 kB / 0.6965 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.4198, allocations: 13.64 kB / 0.6965 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.4199, allocations: 16.39 kB / 0.6965 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.4199, allocations: 26.83 kB / 0.6965 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002152/0.4201, allocations: 214.3 kB / 0.6967 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.4201, allocations: 0 / 0.6967 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003494/0.4205, allocations: 46.62 kB / 0.6968 GB, free: 10.92 MB / 0.5137 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.0008101/0.4213, allocations: 0.879 MB / 0.6976 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005381/0.4218, allocations: 313.9 kB / 0.6979 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4218, allocations: 0 / 0.6979 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.422, allocations: 71.42 kB / 0.698 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.4223, allocations: 29.36 kB / 0.698 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.4252, allocations: 2.398 MB / 0.7004 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.4256, allocations: 0.7439 MB / 0.7011 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001296/0.4257, allocations: 39.23 kB / 0.7011 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.4259, allocations: 48.72 kB / 0.7012 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.4259, allocations: 0 / 0.7012 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.456, allocations: 5.28 MB / 0.7063 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.647, allocations: 16.66 kB / 0.7063 GB, free: 3.203 MB / 0.5137 GB " [Timeout remaining time 651] (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/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.11831646412611] Failed to read output from testmodel.py, exit status != 0: 8.71529162209481 8.72944236 8.317085455 Calling exit ...