Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.0007879/0.0007879, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008405/0.0008405, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9117/0.9117, allocations: 177.1 MB / 203.5 MB, free: 5.746 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-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 0.7137/0.7137, allocations: 154.5 MB / 414.5 MB, free: 0.8477 MB / 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.6192 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.01e-05, allocations: 2.281 kB / 0.6192 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.001655/0.001675, allocations: 1.505 MB / 0.6207 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008782/0.002553, allocations: 0.5343 MB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.002609, allocations: 0 / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.789e-05/0.002697, allocations: 15.86 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.002798, allocations: 31.58 kB / 0.6213 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006218/0.003419, allocations: 322.5 kB / 0.6216 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005808/0.004, allocations: 491.4 kB / 0.622 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.004037, allocations: 7.984 kB / 0.6221 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.004352, allocations: 351.6 kB / 0.6224 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.004549, allocations: 127.1 kB / 0.6225 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.004596, allocations: 28 kB / 0.6225 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.635e-05/0.004643, allocations: 27.94 kB / 0.6226 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-05/0.004733, allocations: 119.6 kB / 0.6227 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.348e-05/0.004827, allocations: 127.7 kB / 0.6228 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.005149, allocations: 462.8 kB / 0.6232 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.00515, allocations: 0 / 0.6232 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005152, allocations: 0 / 0.6232 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.005156, allocations: 0 / 0.6232 GB, free: 9.195 MB / 0.5886 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.0007933/0.005949, allocations: 0.8028 MB / 0.624 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.005981, allocations: 13.47 kB / 0.624 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.357e-05/0.006065, allocations: 52.69 kB / 0.6241 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.006316, allocations: 263.9 kB / 0.6243 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.006348, allocations: 16.36 kB / 0.6244 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.006394, allocations: 28.36 kB / 0.6244 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.006905, allocations: 233.9 kB / 0.6246 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.006912, allocations: 192 / 0.6246 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.006932, allocations: 8.359 kB / 0.6246 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.006936, allocations: 4.375 kB / 0.6246 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.007291, allocations: 115 kB / 0.6247 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.007543, allocations: 277.1 kB / 0.625 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.008046, allocations: 182.5 kB / 0.6252 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.008396, allocations: 116.8 kB / 0.6253 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.008417, allocations: 0 / 0.6253 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000459/0.008876, allocations: 251 kB / 0.6255 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.008877, allocations: 0 / 0.6255 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.001253/0.01013, allocations: 0.5206 MB / 0.626 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.01017, allocations: 59.39 kB / 0.6261 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.01045, allocations: 413.9 kB / 0.6265 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.01048, allocations: 41.69 kB / 0.6265 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.01054, allocations: 93.45 kB / 0.6266 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.01057, allocations: 39.69 kB / 0.6266 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.01069, allocations: 129.4 kB / 0.6268 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.01077, allocations: 326.8 kB / 0.6271 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.01097, allocations: 195.3 kB / 0.6273 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.01118, allocations: 241.3 kB / 0.6275 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.01142, allocations: 275.3 kB / 0.6278 GB, free: 4.289 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01142, allocations: 3.938 kB / 0.6278 GB, free: 4.285 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005299/0.01195, allocations: 0.5655 MB / 0.6283 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.802e-05/0.012, allocations: 79.38 kB / 0.6284 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.01201, allocations: 4 kB / 0.6284 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.01202, allocations: 0 / 0.6284 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.01211, allocations: 27.92 kB / 0.6284 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.01212, allocations: 11.92 kB / 0.6284 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.01236, allocations: 64.09 kB / 0.6285 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/0.01242, allocations: 55.98 kB / 0.6285 GB, free: 3.441 MB / 0.5886 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.0003982/0.01281, allocations: 204.2 kB / 0.6287 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.01285, allocations: 35.77 kB / 0.6288 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.173e-05/0.01289, allocations: 43.67 kB / 0.6288 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01289, allocations: 0 / 0.6288 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.0129, allocations: 0 / 0.6288 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.0129, allocations: 3.938 kB / 0.6288 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.01405, allocations: 0.7245 MB / 0.6295 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01405, allocations: 0 / 0.6295 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.027e-05/0.01407, allocations: 11.92 kB / 0.6295 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01407, allocations: 0 / 0.6295 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.0141, allocations: 27.91 kB / 0.6296 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.0141, allocations: 4 kB / 0.6296 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.0141, allocations: 0 / 0.6296 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008406/0.01494, allocations: 499.6 kB / 0.63 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.0151, allocations: 141.5 kB / 0.6302 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.01514, allocations: 11.94 kB / 0.6302 GB, free: 1.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.01536, allocations: 43.95 kB / 0.6302 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.01539, allocations: 11.92 kB / 0.6302 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.275e-05/0.01543, allocations: 59.97 kB / 0.6303 GB, free: 1.582 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000186/0.01562, allocations: 295.1 kB / 0.6306 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01562, allocations: 0 / 0.6306 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002296/0.01585, allocations: 68 kB / 0.6306 GB, free: 1.227 MB / 0.5886 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 9.47e-05/0.01594, allocations: 107.2 kB / 0.6308 GB, free: 1.113 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006924/0.01664, allocations: 493.9 kB / 0.6312 GB, free: 0.5938 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01664, allocations: 0 / 0.6312 GB, free: 0.5938 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.01699, allocations: 126.9 kB / 0.6313 GB, free: 484 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.01721, allocations: 32.52 kB / 0.6314 GB, free: 456 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008207/0.01803, allocations: 0.5989 MB / 0.632 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.01814, allocations: 170.8 kB / 0.6321 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.01817, allocations: 16.48 kB / 0.6321 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.01817, allocations: 0 / 0.6321 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.004007/0.02218, allocations: 3.69 MB / 0.6357 GB, free: 11.88 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.457692876458168] Failed to read output from testmodel.py, exit status != 0: 0.026911700144410133 0.035539403000000004 0.028661142 Calling exit ...