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.001242/0.001242, allocations: 69.89 kB / 20.65 MB, free: 3.844 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.001691/0.001691, allocations: 169 kB / 24.06 MB, free: 448 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 1.107/1.107, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.8444/0.8444, allocations: 154.9 MB / 415.9 MB, free: 284 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.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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.5218 GB, free: 1.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.123e-05, allocations: 4.719 kB / 0.5219 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003413/0.003444, allocations: 1.547 MB / 0.5234 GB, free: 44 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.005025, allocations: 0.539 MB / 0.5239 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.471e-05/0.00512, allocations: 0 / 0.5239 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.005261, allocations: 15.8 kB / 0.5239 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.005408, allocations: 19.88 kB / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008134/0.006222, allocations: 320.4 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.006711, allocations: 491.9 kB / 0.5247 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.698e-05/0.006768, allocations: 4.875 kB / 0.5247 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.007156, allocations: 351.6 kB / 0.525 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.007376, allocations: 129.2 kB / 0.5252 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.898e-05/0.007435, allocations: 28 kB / 0.5252 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.497e-05/0.00748, allocations: 28 kB / 0.5252 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.007583, allocations: 116.6 kB / 0.5253 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.007696, allocations: 131.7 kB / 0.5255 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.008014, allocations: 371.9 kB / 0.5258 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.008018, allocations: 0 / 0.5258 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.00802, allocations: 0 / 0.5258 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.008025, allocations: 5.469 kB / 0.5258 GB, free: 13.54 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.0009593/0.008985, allocations: 0.9143 MB / 0.5267 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.009025, allocations: 8.031 kB / 0.5267 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.009133, allocations: 61.52 kB / 0.5268 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.009409, allocations: 262.7 kB / 0.527 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/0.009449, allocations: 21.64 kB / 0.527 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.009497, allocations: 28.36 kB / 0.5271 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.009839, allocations: 198.4 kB / 0.5273 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.009848, allocations: 192 / 0.5273 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.009866, allocations: 4.375 kB / 0.5273 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.009872, allocations: 1.312 kB / 0.5273 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.663e-05/0.009959, allocations: 56.47 kB / 0.5273 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002575/0.01022, allocations: 249 kB / 0.5276 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.0104, allocations: 111.7 kB / 0.5277 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/0.01048, allocations: 64.97 kB / 0.5277 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.0105, allocations: 4 kB / 0.5277 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.01069, allocations: 173 kB / 0.5279 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.01069, allocations: 0.5312 kB / 0.5279 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.000494/0.01119, allocations: 365 kB / 0.5282 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.01123, allocations: 55.41 kB / 0.5283 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.01148, allocations: 421.8 kB / 0.5287 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.01152, allocations: 41.69 kB / 0.5287 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.01159, allocations: 144.1 kB / 0.5289 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.01163, allocations: 43.66 kB / 0.5289 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.01176, allocations: 139 kB / 0.529 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.01189, allocations: 0.5 MB / 0.5295 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.01206, allocations: 155.3 kB / 0.5297 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.01225, allocations: 229.1 kB / 0.5299 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.01248, allocations: 262.1 kB / 0.5302 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01248, allocations: 3.938 kB / 0.5302 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005069/0.01299, allocations: 0.5301 MB / 0.5307 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.184e-05/0.01305, allocations: 81.56 kB / 0.5308 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01306, allocations: 4 kB / 0.5308 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.01307, allocations: 0.75 kB / 0.5308 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.01319, allocations: 35.91 kB / 0.5308 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.0132, allocations: 4.531 kB / 0.5308 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.01339, allocations: 53.7 kB / 0.5308 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/0.01344, allocations: 63.97 kB / 0.5309 GB, free: 8.016 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.000133/0.01358, allocations: 187.2 kB / 0.5311 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.01363, allocations: 47.73 kB / 0.5311 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.01368, allocations: 40.25 kB / 0.5312 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01368, allocations: 0.9375 kB / 0.5312 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.01369, allocations: 0 / 0.5312 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01369, allocations: 0 / 0.5312 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006356/0.01433, allocations: 0.6112 MB / 0.5318 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01433, allocations: 0 / 0.5318 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.01436, allocations: 9.266 kB / 0.5318 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.01436, allocations: 4 kB / 0.5318 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.01438, allocations: 19.98 kB / 0.5318 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.01439, allocations: 5.547 kB / 0.5318 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.01439, allocations: 7.922 kB / 0.5318 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.01478, allocations: 448.1 kB / 0.5322 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.01494, allocations: 134.8 kB / 0.5324 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.01498, allocations: 8 kB / 0.5324 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.01514, allocations: 19.02 kB / 0.5324 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.01517, allocations: 15.92 kB / 0.5324 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.735e-05/0.01522, allocations: 59.97 kB / 0.5325 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001315/0.01535, allocations: 259 kB / 0.5327 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01535, allocations: 0 / 0.5327 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002374/0.01559, allocations: 68 kB / 0.5328 GB, free: 6.059 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.0001267/0.01571, allocations: 113.8 kB / 0.5329 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004415/0.01616, allocations: 419.8 kB / 0.5333 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.01616, allocations: 0 / 0.5333 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.01627, allocations: 74.48 kB / 0.5334 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.01656, allocations: 58.28 kB / 0.5334 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007093/0.01727, allocations: 474.9 kB / 0.5339 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.545e-05/0.01733, allocations: 83.81 kB / 0.5339 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.844e-05/0.01736, allocations: 15.58 kB / 0.534 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.01754, allocations: 145.5 kB / 0.5341 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.01754, allocations: 0 / 0.5341 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of Templates: time 0.007156/0.02469, allocations: 5.492 MB / 0.5395 GB, free: 15.2 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.076288369949907]