Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001042/0.001042, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001881/0.001881, allocations: 173.7 kB / 23.28 MB, free: 1.219 MB / 18.57 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.005/1.005, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.8546/0.8546, allocations: 154.9 MB / 415.1 MB, free: 248 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.5211 GB, free: 1.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.66e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00177/0.001787, allocations: 1.537 MB / 0.5226 GB, free: 32 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009676/0.002754, allocations: 0.5403 MB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.002804, allocations: 0 / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.002913, allocations: 13.2 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.003017, allocations: 23.86 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.00355, allocations: 331.2 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.003887, allocations: 487.4 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.198e-05/0.003919, allocations: 3.984 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003394/0.004258, allocations: 359.6 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.004455, allocations: 135.3 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.35e-05/0.004509, allocations: 24.94 kB / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.179e-05/0.004561, allocations: 28 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.003e-05/0.004651, allocations: 115.7 kB / 0.5246 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.754e-05/0.004748, allocations: 133.1 kB / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.005022, allocations: 374.9 kB / 0.5251 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.005025, allocations: 4 kB / 0.5251 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.61e-07/0.005026, allocations: 1.156 kB / 0.5251 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.005029, allocations: 0 / 0.5251 GB, free: 13.51 MB / 0.4948 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.0007259/0.005755, allocations: 0.9149 MB / 0.526 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.005791, allocations: 13.31 kB / 0.526 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.482e-05/0.005876, allocations: 56.7 kB / 0.526 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.006099, allocations: 262.8 kB / 0.5263 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.006128, allocations: 13.44 kB / 0.5263 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.006171, allocations: 28.36 kB / 0.5263 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.006461, allocations: 206.5 kB / 0.5265 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.006468, allocations: 4.172 kB / 0.5265 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.006485, allocations: 8.812 kB / 0.5265 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.006489, allocations: 1.406 kB / 0.5265 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.11e-05/0.00657, allocations: 57.09 kB / 0.5266 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.006786, allocations: 249 kB / 0.5268 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.006938, allocations: 114.3 kB / 0.5269 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.968e-05/0.007018, allocations: 59.89 kB / 0.527 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.007036, allocations: 4 kB / 0.527 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.0072, allocations: 180.2 kB / 0.5272 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.007201, allocations: 6.594 kB / 0.5272 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0004448/0.007646, allocations: 357.2 kB / 0.5275 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.007676, allocations: 59.41 kB / 0.5276 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.007895, allocations: 411.2 kB / 0.528 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.007926, allocations: 41.69 kB / 0.528 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.00798, allocations: 149.1 kB / 0.5281 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.008012, allocations: 39.72 kB / 0.5282 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.008121, allocations: 131.7 kB / 0.5283 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.008232, allocations: 0.5 MB / 0.5288 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.008375, allocations: 165.6 kB / 0.5289 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.008537, allocations: 229.1 kB / 0.5292 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.008727, allocations: 261.3 kB / 0.5294 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.008729, allocations: 0 / 0.5294 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004537/0.009182, allocations: 0.5289 MB / 0.5299 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/0.009232, allocations: 82.59 kB / 0.53 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.009237, allocations: 4 kB / 0.53 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.009247, allocations: 0 / 0.53 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.009356, allocations: 39.91 kB / 0.53 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.009362, allocations: 5.281 kB / 0.5301 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.009523, allocations: 52.3 kB / 0.5301 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.009573, allocations: 59.97 kB / 0.5302 GB, free: 7.984 MB / 0.4948 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.000125/0.009698, allocations: 192 kB / 0.5303 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.009745, allocations: 43.75 kB / 0.5304 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.009786, allocations: 37.62 kB / 0.5304 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.009788, allocations: 0 / 0.5304 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.00979, allocations: 0 / 0.5304 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.009795, allocations: 3.984 kB / 0.5304 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005717/0.01037, allocations: 0.6154 MB / 0.531 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01037, allocations: 0 / 0.531 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.01039, allocations: 8 kB / 0.531 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01039, allocations: 0 / 0.531 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.01041, allocations: 19.97 kB / 0.5311 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01042, allocations: 4.531 kB / 0.5311 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.01042, allocations: 10.05 kB / 0.5311 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.01078, allocations: 451.3 kB / 0.5315 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.01091, allocations: 130.4 kB / 0.5316 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.01095, allocations: 8 kB / 0.5316 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.01112, allocations: 38.56 kB / 0.5317 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.01114, allocations: 11.92 kB / 0.5317 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.01118, allocations: 59.97 kB / 0.5317 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001217/0.0113, allocations: 267 kB / 0.532 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.0113, allocations: 0.7812 kB / 0.532 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002134/0.01152, allocations: 60 kB / 0.532 GB, free: 6.012 MB / 0.4948 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 8.459e-05/0.0116, allocations: 119.2 kB / 0.5322 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004145/0.01202, allocations: 425.6 kB / 0.5326 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01202, allocations: 0 / 0.5326 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.591e-05/0.01211, allocations: 77.11 kB / 0.5326 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.01234, allocations: 57.22 kB / 0.5327 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006253/0.01297, allocations: 475.6 kB / 0.5331 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.507e-05/0.01301, allocations: 83.81 kB / 0.5332 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.494e-05/0.01305, allocations: 15.33 kB / 0.5332 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.01321, allocations: 141.3 kB / 0.5334 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.01321, allocations: 0.7188 kB / 0.5334 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of Templates: time 0.005929/0.01914, allocations: 5.308 MB / 0.5386 GB, free: 15.32 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7941224994137883]