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.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.001362/0.001362, 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.001539/0.001539, allocations: 212.2 kB / 22.25 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.538/1.538, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.342/1.342, allocations: 203.8 MB / 0.5041 GB, free: 4.613 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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.002105/0.002105, allocations: 67.89 kB / 0.7186 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6685/0.6706, allocations: 102 MB / 0.8182 GB, free: 28.89 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003043/0.6737, allocations: 1.524 MB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.675, allocations: 0.5324 MB / 0.8202 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.675, allocations: 4.938 kB / 0.8202 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.6751, allocations: 10.88 kB / 0.8203 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.6752, allocations: 28.48 kB / 0.8203 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008214/0.6761, allocations: 316.5 kB / 0.8206 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0006106/0.6767, allocations: 489.1 kB / 0.8211 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.302e-05/0.6767, allocations: 3.25 kB / 0.8211 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000488/0.6772, allocations: 281.2 kB / 0.8213 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.6776, allocations: 133.4 kB / 0.8215 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.6777, allocations: 27.47 kB / 0.8215 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.6778, allocations: 26 kB / 0.8215 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.678, allocations: 120.2 kB / 0.8216 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.6782, allocations: 154.2 kB / 0.8218 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0005239/0.6787, allocations: 430.2 kB / 0.8222 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6787, allocations: 2.047 kB / 0.8222 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6787, allocations: 0 / 0.8222 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.6788, allocations: 0 / 0.8222 GB, free: 26.74 MB / 0.6387 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.001317/0.6801, allocations: 0.8032 MB / 0.823 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.6801, allocations: 9.844 kB / 0.823 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.6803, allocations: 53.05 kB / 0.823 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.6807, allocations: 254.5 kB / 0.8233 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/0.6807, allocations: 18.64 kB / 0.8233 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-05/0.6808, allocations: 30.25 kB / 0.8233 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.6819, allocations: 213.2 kB / 0.8235 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.6819, allocations: 1.719 kB / 0.8235 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.682, allocations: 5.938 kB / 0.8235 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.682, allocations: 1.5 kB / 0.8235 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008545/0.6828, allocations: 104.5 kB / 0.8236 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.6833, allocations: 279.9 kB / 0.8239 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.6844, allocations: 165.1 kB / 0.824 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007677/0.6851, allocations: 105.4 kB / 0.8241 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.6852, allocations: 2.438 kB / 0.8241 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.6862, allocations: 226 kB / 0.8244 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=16): time 2.514e-06/0.6862, allocations: 0 / 0.8244 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16): time 0.00267/0.6889, allocations: 496.2 kB / 0.8248 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.689, allocations: 62.25 kB / 0.8249 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005257/0.6895, allocations: 410.9 kB / 0.8253 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.159e-05/0.6895, allocations: 40.48 kB / 0.8253 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.6896, allocations: 95.83 kB / 0.8254 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.6897, allocations: 36.48 kB / 0.8255 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.6899, allocations: 128.5 kB / 0.8256 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.69, allocations: 325.6 kB / 0.8259 GB, free: 24.53 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.6903, allocations: 193.3 kB / 0.8261 GB, free: 24.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.6907, allocations: 248.3 kB / 0.8263 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/0.691, allocations: 269.3 kB / 0.8266 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.691, allocations: 1.875 kB / 0.8266 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009248/0.692, allocations: 0.5526 MB / 0.8271 GB, free: 23.78 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.83e-05/0.692, allocations: 80.92 kB / 0.8272 GB, free: 23.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.6921, allocations: 5.312 kB / 0.8272 GB, free: 23.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.6921, allocations: 6.688 kB / 0.8272 GB, free: 23.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.6923, allocations: 32.48 kB / 0.8272 GB, free: 23.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.6923, allocations: 3.406 kB / 0.8272 GB, free: 23.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/0.6928, allocations: 57.56 kB / 0.8273 GB, free: 23.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.876e-05/0.6929, allocations: 58.2 kB / 0.8273 GB, free: 23.68 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0002684/0.6932, allocations: 200.7 kB / 0.8275 GB, free: 23.54 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/0.6933, allocations: 36.83 kB / 0.8276 GB, free: 23.52 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.924e-05/0.6933, allocations: 41.91 kB / 0.8276 GB, free: 23.49 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.6933, allocations: 1.375 kB / 0.8276 GB, free: 23.49 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.6933, allocations: 2.172 kB / 0.8276 GB, free: 23.49 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6933, allocations: 0.7031 kB / 0.8276 GB, free: 23.49 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.6956, allocations: 0.6862 MB / 0.8283 GB, free: 23.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6956, allocations: 8.781 kB / 0.8283 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.6957, allocations: 5.266 kB / 0.8283 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.6957, allocations: 1.438 kB / 0.8283 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.6957, allocations: 26 kB / 0.8283 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.6957, allocations: 1.312 kB / 0.8283 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6957, allocations: 0 / 0.8283 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.6975, allocations: 483.8 kB / 0.8288 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003461/0.6978, allocations: 137 kB / 0.8289 GB, free: 22.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.386e-05/0.6979, allocations: 10.2 kB / 0.8289 GB, free: 22.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/0.6984, allocations: 36.45 kB / 0.829 GB, free: 22.87 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.6984, allocations: 8.469 kB / 0.829 GB, free: 22.87 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.575e-05/0.6985, allocations: 60.33 kB / 0.829 GB, free: 22.86 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003448/0.6989, allocations: 293.9 kB / 0.8293 GB, free: 22.73 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6989, allocations: 0 / 0.8293 GB, free: 22.73 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005033/0.6994, allocations: 65.95 kB / 0.8294 GB, free: 22.73 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0001584/0.6995, allocations: 111.9 kB / 0.8295 GB, free: 22.63 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.701, allocations: 474.8 kB / 0.8299 GB, free: 22.37 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.701, allocations: 0 / 0.8299 GB, free: 22.37 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008381/0.7018, allocations: 112.8 kB / 0.83 GB, free: 22.35 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.7023, allocations: 30.92 kB / 0.8301 GB, free: 22.32 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.704, allocations: 0.5604 MB / 0.8306 GB, free: 22.01 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.7042, allocations: 171.9 kB / 0.8308 GB, free: 21.92 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.205e-05/0.7043, allocations: 12.19 kB / 0.8308 GB, free: 21.92 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.7044, allocations: 19.94 kB / 0.8308 GB, free: 21.91 MB / 0.6387 GB Notification: Performance of SimCode: time 9.52e-07/0.7044, allocations: 0 / 0.8308 GB, free: 21.91 MB / 0.6387 GB Notification: Performance of Templates: time 0.01286/0.7172, allocations: 6.046 MB / 0.8367 GB, free: 20.73 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.205106841400266] Failed to read output from testmodel.py, exit status != 0: 0.7262366265058517 0.741312808 0.059757674000000004 Calling exit ...