Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.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.0009646/0.0009646, allocations: 73.09 kB / 20.66 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.001486/0.001486, allocations: 169 kB / 24.06 MB, free: 456 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.9907/0.9907, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.9126/0.9126, 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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.5218 GB, free: 1.594 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.731e-05, allocations: 2.312 kB / 0.5218 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002085/0.002112, allocations: 1.543 MB / 0.5234 GB, free: 60 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.00313, allocations: 0.5398 MB / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.003201, allocations: 0.625 kB / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.003314, allocations: 7.922 kB / 0.5239 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.00344, allocations: 28.5 kB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006193/0.004059, allocations: 308.5 kB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003697/0.004429, allocations: 492 kB / 0.5247 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.004468, allocations: 7.984 kB / 0.5247 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000334/0.004802, allocations: 357.3 kB / 0.525 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.005011, allocations: 127.7 kB / 0.5251 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.049e-05/0.005062, allocations: 28 kB / 0.5252 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.292e-05/0.005115, allocations: 25.62 kB / 0.5252 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.005216, allocations: 115.7 kB / 0.5253 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.005327, allocations: 131.7 kB / 0.5254 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.005635, allocations: 382.9 kB / 0.5258 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005638, allocations: 1.312 kB / 0.5258 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.41e-07/0.005639, allocations: 0 / 0.5258 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.005645, allocations: 0 / 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.001012/0.006657, allocations: 0.9032 MB / 0.5267 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.006691, allocations: 12.78 kB / 0.5267 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.672e-05/0.006788, allocations: 60.69 kB / 0.5268 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.00705, allocations: 264.2 kB / 0.527 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.007088, allocations: 16.36 kB / 0.527 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.093e-05/0.007139, allocations: 32.36 kB / 0.5271 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.00747, allocations: 193.7 kB / 0.5272 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.007479, allocations: 1.656 kB / 0.5272 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.007497, allocations: 384 / 0.5272 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.007504, allocations: 4.375 kB / 0.5272 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.635e-05/0.00759, allocations: 57.34 kB / 0.5273 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002615/0.007852, allocations: 256.9 kB / 0.5275 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.008033, allocations: 114.6 kB / 0.5277 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.417e-05/0.008117, allocations: 65.44 kB / 0.5277 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.008134, allocations: 0 / 0.5277 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.008323, allocations: 174 kB / 0.5279 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 9.82e-07/0.008324, allocations: 0 / 0.5279 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005124/0.008836, allocations: 368.5 kB / 0.5282 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001726/0.009009, allocations: 60.02 kB / 0.5283 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.009255, allocations: 414.5 kB / 0.5287 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.009291, allocations: 38.39 kB / 0.5287 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.009353, allocations: 144.1 kB / 0.5289 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.00939, allocations: 40.39 kB / 0.5289 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.009521, allocations: 139.7 kB / 0.529 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.009633, allocations: 0.4922 MB / 0.5295 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.009805, allocations: 164 kB / 0.5297 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.01, allocations: 229.6 kB / 0.5299 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.01032, allocations: 264.6 kB / 0.5301 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.01033, allocations: 0 / 0.5301 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005569/0.01088, allocations: 0.5317 MB / 0.5307 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.711e-05/0.01094, allocations: 79.38 kB / 0.5307 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.01095, allocations: 7.984 kB / 0.5307 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.01096, allocations: 12.86 kB / 0.5308 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.01109, allocations: 31.92 kB / 0.5308 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.01109, allocations: 4 kB / 0.5308 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.0113, allocations: 53.58 kB / 0.5308 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/0.01135, allocations: 63.97 kB / 0.5309 GB, free: 8.023 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0001384/0.01149, allocations: 182.1 kB / 0.5311 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.01155, allocations: 47.75 kB / 0.5311 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.01159, allocations: 31.69 kB / 0.5311 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.0116, allocations: 4 kB / 0.5312 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.0116, allocations: 0 / 0.5312 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01161, allocations: 5.359 kB / 0.5312 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006571/0.01226, allocations: 0.6099 MB / 0.5318 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01226, allocations: 0 / 0.5318 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.0123, allocations: 4 kB / 0.5318 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.0123, allocations: 0 / 0.5318 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.01232, allocations: 27.97 kB / 0.5318 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01233, allocations: 0 / 0.5318 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.01233, allocations: 3.938 kB / 0.5318 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/0.01273, allocations: 452.6 kB / 0.5322 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.0129, allocations: 129.5 kB / 0.5323 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.01295, allocations: 11.94 kB / 0.5324 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.01312, allocations: 20.97 kB / 0.5324 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.01314, allocations: 19.86 kB / 0.5324 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/0.01319, allocations: 52.73 kB / 0.5324 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001361/0.01332, allocations: 263 kB / 0.5327 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01332, allocations: 0.5312 kB / 0.5327 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002552/0.01358, allocations: 71.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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.0001226/0.0137, allocations: 114.8 kB / 0.5329 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000448/0.01415, allocations: 415.3 kB / 0.5333 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01415, allocations: 0 / 0.5333 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.01426, allocations: 76.08 kB / 0.5333 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.01454, allocations: 47.88 kB / 0.5334 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.01526, allocations: 486.3 kB / 0.5339 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.127e-05/0.01531, allocations: 87.81 kB / 0.5339 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.055e-05/0.01535, allocations: 17.12 kB / 0.534 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.01553, allocations: 141.8 kB / 0.5341 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/0.01553, allocations: 4 kB / 0.5341 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of Templates: time 0.006966/0.0225, allocations: 5.571 MB / 0.5395 GB, free: 15.13 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8983202702365816]