Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001552/0.001552, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002037/0.002037, allocations: 212.3 kB / 22.24 MB, free: 5.242 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.809 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.8913/0.8913, allocations: 134 MB / 446.4 MB, free: 9.902 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: translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") [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.002167/0.002167, allocations: 62.94 kB / 0.6189 GB, free: 6.402 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2022, allocations: 85.9 MB / 0.7028 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003477/0.2057, allocations: 1.501 MB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2068, allocations: 407.3 kB / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.391e-05/0.2069, allocations: 0 / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.2071, allocations: 11.88 kB / 0.7047 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.2072, allocations: 24.22 kB / 0.7047 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008791/0.2081, allocations: 247.3 kB / 0.705 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000471/0.2085, allocations: 307.5 kB / 0.7052 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.2086, allocations: 0 / 0.7052 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/0.209, allocations: 199.7 kB / 0.7054 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.2093, allocations: 105.7 kB / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.128e-05/0.2094, allocations: 16 kB / 0.7056 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.67e-05/0.2094, allocations: 20 kB / 0.7056 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.2096, allocations: 75.78 kB / 0.7056 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.2097, allocations: 103.5 kB / 0.7057 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.2101, allocations: 294.9 kB / 0.706 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2101, allocations: 4 kB / 0.706 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2101, allocations: 0 / 0.706 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.2101, allocations: 0 / 0.706 GB, free: 13.29 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.001491/0.2116, allocations: 0.6246 MB / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2117, allocations: 8.031 kB / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.2118, allocations: 32.78 kB / 0.7067 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.2122, allocations: 206.5 kB / 0.7069 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.2122, allocations: 12.38 kB / 0.7069 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.434e-05/0.2123, allocations: 27.92 kB / 0.7069 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.2126, allocations: 149.5 kB / 0.7071 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2126, allocations: 0 / 0.7071 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.2127, allocations: 4 kB / 0.7071 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.2127, allocations: 4 kB / 0.7071 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.2128, allocations: 43.97 kB / 0.7071 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.2132, allocations: 217.1 kB / 0.7073 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.2135, allocations: 118.6 kB / 0.7074 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.2136, allocations: 48.83 kB / 0.7075 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.2136, allocations: 11.88 kB / 0.7075 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004944/0.2141, allocations: 229.5 kB / 0.7077 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.2141, allocations: 0 / 0.7077 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.000642/0.2148, allocations: 269.3 kB / 0.708 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/0.2148, allocations: 55.41 kB / 0.708 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.2152, allocations: 292.2 kB / 0.7083 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.137e-05/0.2152, allocations: 49.64 kB / 0.7083 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.2153, allocations: 85.14 kB / 0.7084 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.2154, allocations: 51.62 kB / 0.7085 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.2156, allocations: 109.8 kB / 0.7086 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.2158, allocations: 318.8 kB / 0.7089 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.216, allocations: 159.6 kB / 0.709 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.2164, allocations: 205.8 kB / 0.7092 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.2167, allocations: 246 kB / 0.7095 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.2168, allocations: 0 / 0.7095 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008522/0.2176, allocations: 477.8 kB / 0.7099 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.244e-05/0.2177, allocations: 75.31 kB / 0.71 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.2177, allocations: 4 kB / 0.71 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.2177, allocations: 4 kB / 0.71 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.2179, allocations: 28.11 kB / 0.71 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.2179, allocations: 11.92 kB / 0.71 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.2184, allocations: 59.84 kB / 0.7101 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.2185, allocations: 51.98 kB / 0.7101 GB, free: 8.77 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.0002244/0.2187, allocations: 172.4 kB / 0.7103 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.2188, allocations: 27.8 kB / 0.7103 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.38e-05/0.2189, allocations: 34.19 kB / 0.7104 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2189, allocations: 0 / 0.7104 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.2189, allocations: 0 / 0.7104 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2189, allocations: 7.984 kB / 0.7104 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008956/0.2198, allocations: 0.4922 MB / 0.7108 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2198, allocations: 4 kB / 0.7109 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.824e-05/0.2198, allocations: 11.98 kB / 0.7109 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.2198, allocations: 0 / 0.7109 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.2199, allocations: 15.98 kB / 0.7109 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2199, allocations: 0 / 0.7109 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2199, allocations: 0 / 0.7109 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004862/0.2203, allocations: 339 kB / 0.7112 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.2205, allocations: 89.66 kB / 0.7113 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.2206, allocations: 8 kB / 0.7113 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.2208, allocations: 7.984 kB / 0.7113 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.2209, allocations: 23.91 kB / 0.7113 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.2209, allocations: 27.98 kB / 0.7114 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002317/0.2212, allocations: 211 kB / 0.7116 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2212, allocations: 3.938 kB / 0.7116 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003401/0.2215, allocations: 52 kB / 0.7116 GB, free: 7.203 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.0001744/0.2217, allocations: 111.8 kB / 0.7117 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006794/0.2223, allocations: 380 kB / 0.7121 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2223, allocations: 0 / 0.7121 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.2225, allocations: 63.91 kB / 0.7121 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.2229, allocations: 32.5 kB / 0.7122 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007889/0.2236, allocations: 394.3 kB / 0.7125 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.2238, allocations: 135.1 kB / 0.7127 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.2239, allocations: 41.42 kB / 0.7127 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.2241, allocations: 31.42 kB / 0.7127 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.2241, allocations: 0 / 0.7127 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of Templates: time 0.009477/0.2335, allocations: 4.644 MB / 0.7173 GB, free: 1.359 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.084115928038955] Failed to read output from testmodel.py, exit status != 0: 0.2419507708400488 0.257845135 0.044309028 Calling exit ...