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.0009533/0.0009533, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.0009261/0.0009261, allocations: 173 kB / 24.06 MB, free: 444 kB / 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.9933/0.9933, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.8657/0.8657, allocations: 154.9 MB / 415.9 MB, free: 272 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.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 2.144e-06/2.144e-06, allocations: 0 / 0.5218 GB, free: 1.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.006e-05/4.22e-05, allocations: 2.312 kB / 0.5218 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003472/0.003514, allocations: 1.542 MB / 0.5233 GB, free: 56 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.00495, allocations: 0.5404 MB / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.756e-05/0.005047, allocations: 0 / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.005157, allocations: 3.938 kB / 0.5239 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.005288, allocations: 29.02 kB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009516/0.006239, allocations: 319.9 kB / 0.5242 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005806/0.00682, allocations: 488.7 kB / 0.5247 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.006871, allocations: 4 kB / 0.5247 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005451/0.007416, allocations: 359.5 kB / 0.525 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.007746, allocations: 128.8 kB / 0.5251 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.292e-05/0.007809, allocations: 28.53 kB / 0.5252 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.695e-05/0.007856, allocations: 24 kB / 0.5252 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.007967, allocations: 117.7 kB / 0.5253 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.00808, allocations: 135.7 kB / 0.5254 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.008386, allocations: 374.9 kB / 0.5258 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.008391, allocations: 0 / 0.5258 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.172e-06/0.008392, allocations: 0 / 0.5258 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.008397, allocations: 1.438 kB / 0.5258 GB, free: 13.55 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.0009347/0.009332, allocations: 0.9104 MB / 0.5267 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.009371, allocations: 12.03 kB / 0.5267 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.009473, allocations: 54.17 kB / 0.5268 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.00975, allocations: 266.7 kB / 0.527 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.00979, allocations: 16.38 kB / 0.527 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.009839, allocations: 28.36 kB / 0.527 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.01019, allocations: 203 kB / 0.5272 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.0102, allocations: 192 / 0.5272 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.01022, allocations: 4.359 kB / 0.5272 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.01022, allocations: 6.188 kB / 0.5273 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.45e-05/0.01031, allocations: 53.12 kB / 0.5273 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.01056, allocations: 252.9 kB / 0.5275 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.01074, allocations: 109.3 kB / 0.5276 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.28e-05/0.01082, allocations: 61.69 kB / 0.5277 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.01084, allocations: 4 kB / 0.5277 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.01102, allocations: 173.3 kB / 0.5279 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.01102, allocations: 0.7188 kB / 0.5279 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005013/0.01152, allocations: 360.6 kB / 0.5282 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.01156, allocations: 68.33 kB / 0.5283 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.01181, allocations: 410.5 kB / 0.5287 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.01186, allocations: 42.41 kB / 0.5287 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/0.01192, allocations: 148.1 kB / 0.5289 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.01196, allocations: 38 kB / 0.5289 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/0.01227, allocations: 131.1 kB / 0.529 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.01239, allocations: 0.5 MB / 0.5295 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.01257, allocations: 167.3 kB / 0.5297 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.01275, allocations: 229 kB / 0.5299 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.01298, allocations: 259.8 kB / 0.5301 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01298, allocations: 0 / 0.5301 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004918/0.01347, allocations: 0.5295 MB / 0.5307 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.649e-05/0.01353, allocations: 86.25 kB / 0.5307 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.01354, allocations: 2.125 kB / 0.5307 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.01355, allocations: 7.938 kB / 0.5307 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.01367, allocations: 35.92 kB / 0.5308 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.01368, allocations: 7.984 kB / 0.5308 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.01386, allocations: 47.8 kB / 0.5308 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.01391, allocations: 56.7 kB / 0.5309 GB, free: 8.031 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.0001343/0.01405, allocations: 195.8 kB / 0.5311 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.0141, allocations: 43.77 kB / 0.5311 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.01414, allocations: 37.02 kB / 0.5311 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01415, allocations: 4 kB / 0.5312 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.01415, allocations: 0 / 0.5312 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01415, allocations: 0 / 0.5312 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006499/0.0148, allocations: 0.6132 MB / 0.5318 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01481, allocations: 0 / 0.5318 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.01484, allocations: 4 kB / 0.5318 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01484, allocations: 0.7812 kB / 0.5318 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.01486, allocations: 19.97 kB / 0.5318 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01487, allocations: 6.688 kB / 0.5318 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.01487, allocations: 3.938 kB / 0.5318 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.01525, allocations: 452.2 kB / 0.5322 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.01539, allocations: 125.5 kB / 0.5323 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.01544, allocations: 23.92 kB / 0.5324 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.01559, allocations: 15.98 kB / 0.5324 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.01561, allocations: 15.86 kB / 0.5324 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.01566, allocations: 59.97 kB / 0.5324 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001331/0.01579, allocations: 259 kB / 0.5327 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01579, allocations: 1.531 kB / 0.5327 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002425/0.01603, allocations: 67.98 kB / 0.5328 GB, free: 6.07 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.0001237/0.01616, allocations: 115.4 kB / 0.5329 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004168/0.01657, allocations: 412.8 kB / 0.5333 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01657, allocations: 1.469 kB / 0.5333 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.01668, allocations: 79.58 kB / 0.5333 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.01696, allocations: 52.67 kB / 0.5334 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006951/0.01766, allocations: 478.5 kB / 0.5338 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.425e-05/0.01771, allocations: 92.48 kB / 0.5339 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.809e-05/0.01775, allocations: 11.44 kB / 0.5339 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.01792, allocations: 141.3 kB / 0.5341 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.01792, allocations: 0.625 kB / 0.5341 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of Templates: time 0.007284/0.02521, allocations: 5.485 MB / 0.5394 GB, free: 15.21 MB / 0.5105 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9166841972619295]