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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 209.6 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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.8775/0.8775, allocations: 134 MB / 446.4 MB, free: 9.953 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002949/0.002949, allocations: 67.67 kB / 0.6185 GB, free: 6.957 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2158, allocations: 85.92 MB / 0.7024 GB, free: 1.129 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002771/0.2186, allocations: 1.477 MB / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009735/0.2196, allocations: 415.3 kB / 0.7042 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.106e-05/0.2196, allocations: 4 kB / 0.7042 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.609e-05/0.2197, allocations: 11.86 kB / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.2199, allocations: 24.22 kB / 0.7042 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007265/0.2206, allocations: 242.1 kB / 0.7045 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003864/0.221, allocations: 303.5 kB / 0.7048 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.2211, allocations: 4 kB / 0.7048 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.2214, allocations: 195.7 kB / 0.705 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.2216, allocations: 112 kB / 0.7051 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.259e-05/0.2217, allocations: 20 kB / 0.7051 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.452e-05/0.2218, allocations: 20 kB / 0.7051 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.2219, allocations: 75.78 kB / 0.7052 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.222, allocations: 103.5 kB / 0.7053 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004341/0.2225, allocations: 283.2 kB / 0.7055 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2225, allocations: 3.938 kB / 0.7055 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2225, allocations: 4 kB / 0.7055 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2225, allocations: 4 kB / 0.7055 GB, free: 13.86 MB / 0.5294 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.001284/0.2238, allocations: 0.6246 MB / 0.7062 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2238, allocations: 12.03 kB / 0.7062 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.085e-05/0.2239, allocations: 34.75 kB / 0.7062 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.137e-05/0.224, allocations: 36.78 kB / 0.7062 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.2243, allocations: 210.5 kB / 0.7064 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.2243, allocations: 16.12 kB / 0.7065 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/0.2244, allocations: 19.98 kB / 0.7065 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.2247, allocations: 145.5 kB / 0.7066 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2247, allocations: 4 kB / 0.7066 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.014e-05/0.2248, allocations: 8 kB / 0.7066 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2248, allocations: 0 / 0.7066 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.2249, allocations: 43.97 kB / 0.7067 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.2253, allocations: 244.6 kB / 0.7069 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.2256, allocations: 126.6 kB / 0.707 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.2257, allocations: 44.84 kB / 0.7071 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.2257, allocations: 4 kB / 0.7071 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004664/0.2262, allocations: 215.6 kB / 0.7073 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.2262, allocations: 4 kB / 0.7073 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006194/0.2268, allocations: 275.3 kB / 0.7075 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.2269, allocations: 59.41 kB / 0.7076 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.2272, allocations: 292.1 kB / 0.7079 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/0.2272, allocations: 41.69 kB / 0.7079 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.2273, allocations: 93.14 kB / 0.708 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.2274, allocations: 51.62 kB / 0.7081 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.2275, allocations: 97.81 kB / 0.7081 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.2277, allocations: 330.8 kB / 0.7085 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.2279, allocations: 155.6 kB / 0.7086 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.2283, allocations: 213.8 kB / 0.7088 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.2286, allocations: 242 kB / 0.709 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2286, allocations: 4 kB / 0.709 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008024/0.2294, allocations: 481.1 kB / 0.7095 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.2295, allocations: 67.39 kB / 0.7096 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2295, allocations: 11.92 kB / 0.7096 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2296, allocations: 0 / 0.7096 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.2297, allocations: 31.91 kB / 0.7096 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.2297, allocations: 192 / 0.7096 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.2302, allocations: 67.78 kB / 0.7097 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/0.2303, allocations: 55.98 kB / 0.7097 GB, free: 9.238 MB / 0.5294 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.0002383/0.2306, allocations: 168.4 kB / 0.7099 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.2306, allocations: 27.8 kB / 0.7099 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.894e-05/0.2307, allocations: 30.19 kB / 0.7099 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2307, allocations: 4 kB / 0.7099 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2307, allocations: 0 / 0.7099 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2307, allocations: 0 / 0.7099 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008644/0.2315, allocations: 0.5265 MB / 0.7105 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2315, allocations: 0 / 0.7105 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.2316, allocations: 15.98 kB / 0.7105 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2316, allocations: 0 / 0.7105 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.2316, allocations: 11.98 kB / 0.7105 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2316, allocations: 4 kB / 0.7105 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2316, allocations: 0 / 0.7105 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004843/0.2321, allocations: 335.1 kB / 0.7108 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.2323, allocations: 85.66 kB / 0.7109 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/0.2324, allocations: 8 kB / 0.7109 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.2326, allocations: 15.92 kB / 0.7109 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.2326, allocations: 19.97 kB / 0.7109 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.2327, allocations: 27.98 kB / 0.711 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002044/0.2329, allocations: 211 kB / 0.7112 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2329, allocations: 0 / 0.7112 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003632/0.2332, allocations: 48 kB / 0.7112 GB, free: 7.648 MB / 0.5294 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.0009571/0.2342, allocations: 0.8837 MB / 0.7121 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006259/0.2348, allocations: 378 kB / 0.7124 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2348, allocations: 0 / 0.7124 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.235, allocations: 69.77 kB / 0.7125 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.2353, allocations: 20.97 kB / 0.7125 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.2388, allocations: 2.672 MB / 0.7151 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.239, allocations: 135.4 kB / 0.7153 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001309/0.2391, allocations: 41.42 kB / 0.7153 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.2393, allocations: 47.41 kB / 0.7153 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of SimCode: time 8.71e-07/0.2393, allocations: 0 / 0.7153 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04471/0.284, allocations: 6.431 MB / 0.7216 GB, free: 12.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.69, allocations: 14.62 kB / 0.7216 GB, free: 12.88 MB / 0.545 GB " [Timeout remaining time 648] (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: 15.382846576161683] Failed to read output from testmodel.py, exit status != 0: 11.804772180970758 11.830979155 11.60368297 Calling exit ...