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.002379/0.002379, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002833/0.002833, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.617/1.617, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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-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 1.383/1.383, allocations: 154.8 MB / 414.4 MB, free: 460 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 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.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.202e-06/1.202e-06, allocations: 0 / 0.5198 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/2.949e-05, allocations: 11.58 kB / 0.5198 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002852/0.002882, allocations: 1.531 MB / 0.5213 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.004218, allocations: 0.537 MB / 0.5219 GB, free: 264 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.004261, allocations: 0 / 0.5219 GB, free: 264 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.706e-05/0.004348, allocations: 5.469 kB / 0.5219 GB, free: 260 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.004452, allocations: 27.84 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007911/0.005243, allocations: 316.2 kB / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005847/0.005828, allocations: 492.1 kB / 0.5227 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.005862, allocations: 4 kB / 0.5227 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005453/0.006407, allocations: 352.9 kB / 0.523 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.006702, allocations: 128.3 kB / 0.5231 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.006828, allocations: 28.62 kB / 0.5231 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.006956, allocations: 28 kB / 0.5232 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.007118, allocations: 120.7 kB / 0.5233 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.007304, allocations: 123.7 kB / 0.5234 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005746/0.007879, allocations: 463.2 kB / 0.5238 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.007881, allocations: 0 / 0.5238 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.51e-07/0.007882, allocations: 0.7812 kB / 0.5238 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.007887, allocations: 0 / 0.5238 GB, free: 14.22 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.001407/0.009294, allocations: 0.92 MB / 0.5247 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.00933, allocations: 12.03 kB / 0.5248 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.009483, allocations: 60.64 kB / 0.5248 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/0.009964, allocations: 266.8 kB / 0.5251 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.336e-05/0.01002, allocations: 17.48 kB / 0.5251 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.148e-05/0.0101, allocations: 32.36 kB / 0.5251 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006064/0.01071, allocations: 202.2 kB / 0.5253 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.01071, allocations: 192 / 0.5253 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.01074, allocations: 384 / 0.5253 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.01074, allocations: 5.188 kB / 0.5253 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/0.01116, allocations: 84.78 kB / 0.5254 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006774/0.01184, allocations: 336.4 kB / 0.5257 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.01245, allocations: 148.5 kB / 0.5259 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.01284, allocations: 89.11 kB / 0.5259 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.01286, allocations: 4 kB / 0.5259 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005693/0.01343, allocations: 212.8 kB / 0.5261 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.01344, allocations: 0 / 0.5261 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.001552/0.01499, allocations: 440.8 kB / 0.5266 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.01505, allocations: 63.41 kB / 0.5266 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005014/0.01555, allocations: 462.7 kB / 0.5271 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.244e-05/0.01561, allocations: 45.69 kB / 0.5271 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.01573, allocations: 148.2 kB / 0.5273 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.01578, allocations: 40.73 kB / 0.5273 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.01601, allocations: 139.1 kB / 0.5274 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002705/0.01628, allocations: 0.4972 MB / 0.5279 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.01665, allocations: 215.3 kB / 0.5281 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/0.01708, allocations: 285 kB / 0.5284 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.01754, allocations: 317.7 kB / 0.5287 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01754, allocations: 0 / 0.5287 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001051/0.01859, allocations: 0.6215 MB / 0.5293 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.719e-05/0.01868, allocations: 79.38 kB / 0.5294 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.01869, allocations: 4 kB / 0.5294 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.01871, allocations: 4 kB / 0.5294 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.01891, allocations: 39.91 kB / 0.5294 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.01892, allocations: 3.938 kB / 0.5294 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.01926, allocations: 49.27 kB / 0.5295 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.562e-05/0.01935, allocations: 55.98 kB / 0.5295 GB, free: 8.059 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.0002082/0.01956, allocations: 199.7 kB / 0.5297 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.103e-05/0.01964, allocations: 39.77 kB / 0.5298 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.946e-05/0.01971, allocations: 39.67 kB / 0.5298 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.01972, allocations: 4.656 kB / 0.5298 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.01972, allocations: 4.609 kB / 0.5298 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.01973, allocations: 3.938 kB / 0.5298 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.0214, allocations: 0.7485 MB / 0.5305 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.0214, allocations: 0 / 0.5305 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.02143, allocations: 7.984 kB / 0.5305 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.02144, allocations: 0 / 0.5305 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.02148, allocations: 23.91 kB / 0.5306 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.02148, allocations: 6.438 kB / 0.5306 GB, free: 6.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.02148, allocations: 0 / 0.5306 GB, free: 6.941 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.02261, allocations: 499.9 kB / 0.531 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.02292, allocations: 125.5 kB / 0.5312 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/0.02299, allocations: 17.52 kB / 0.5312 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.02327, allocations: 19.98 kB / 0.5312 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.02331, allocations: 7.984 kB / 0.5312 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.067e-05/0.02339, allocations: 61.47 kB / 0.5313 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003052/0.02369, allocations: 287.1 kB / 0.5315 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.0237, allocations: 3.938 kB / 0.5315 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003586/0.02405, allocations: 67.98 kB / 0.5316 GB, free: 5.859 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 0.0001665/0.02422, allocations: 115 kB / 0.5317 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.02537, allocations: 0.5931 MB / 0.5323 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.02538, allocations: 0 / 0.5323 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004354/0.02581, allocations: 120 kB / 0.5324 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.02618, allocations: 41.62 kB / 0.5325 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.02746, allocations: 0.4913 MB / 0.5329 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.02765, allocations: 161.1 kB / 0.5331 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.752e-05/0.02771, allocations: 14.42 kB / 0.5331 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.02775, allocations: 16.48 kB / 0.5331 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of SimCode: time 5.2e-07/0.02775, allocations: 1.531 kB / 0.5331 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of Templates: time 0.01106/0.03881, allocations: 5.863 MB / 0.5388 GB, free: 14.47 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: 6.312443512026221]