Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.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.001743/0.001743, 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.002086/0.002086, 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.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.562 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.309/1.309, allocations: 154.8 MB / 414.4 MB, free: 456 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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.5199 GB, free: 2.273 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.131e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003263/0.003294, allocations: 1.739 MB / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.004971, allocations: 0.6011 MB / 0.5222 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.005043, allocations: 4.812 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.005159, allocations: 11.86 kB / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.005306, allocations: 40.28 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008924/0.006198, allocations: 373.8 kB / 0.5226 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007227/0.006921, allocations: 0.597 MB / 0.5232 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.007013, allocations: 21.3 kB / 0.5232 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006027/0.007616, allocations: 419.5 kB / 0.5236 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.007952, allocations: 140.4 kB / 0.5237 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.008094, allocations: 46 kB / 0.5238 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.008235, allocations: 40 kB / 0.5238 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.008397, allocations: 127.7 kB / 0.5239 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.00861, allocations: 151.7 kB / 0.5241 GB, free: 14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008119/0.009422, allocations: 0.6466 MB / 0.5247 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.009427, allocations: 0.7188 kB / 0.5247 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.233e-06/0.009428, allocations: 0 / 0.5247 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.009435, allocations: 0.6875 kB / 0.5247 GB, free: 13.35 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001923/0.01136, allocations: 0.9731 MB / 0.5257 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.01139, allocations: 8.031 kB / 0.5257 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.01157, allocations: 69.34 kB / 0.5257 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005447/0.01211, allocations: 284.2 kB / 0.526 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.073e-05/0.01216, allocations: 24.36 kB / 0.526 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.493e-05/0.01225, allocations: 28.36 kB / 0.5261 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000682/0.01293, allocations: 220.7 kB / 0.5263 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.01294, allocations: 192 / 0.5263 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.01297, allocations: 5.219 kB / 0.5263 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.01297, allocations: 384 / 0.5263 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.01341, allocations: 102.9 kB / 0.5264 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.01498, allocations: 0.6711 MB / 0.527 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/0.01561, allocations: 159.4 kB / 0.5272 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/0.01602, allocations: 96.62 kB / 0.5273 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.01605, allocations: 4.531 kB / 0.5273 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005895/0.01664, allocations: 224.3 kB / 0.5275 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.01664, allocations: 4 kB / 0.5275 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.001605/0.01824, allocations: 449.2 kB / 0.5279 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.01831, allocations: 63.33 kB / 0.528 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006518/0.01896, allocations: 0.515 MB / 0.5285 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.659e-05/0.01902, allocations: 39.39 kB / 0.5285 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.01916, allocations: 156.1 kB / 0.5287 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.915e-05/0.01922, allocations: 43.69 kB / 0.5287 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.01948, allocations: 155.1 kB / 0.5289 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003118/0.01979, allocations: 0.5001 MB / 0.5294 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004284/0.02022, allocations: 244.5 kB / 0.5296 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/0.02072, allocations: 313.1 kB / 0.5299 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005127/0.02123, allocations: 343.6 kB / 0.5302 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02124, allocations: 0.7188 kB / 0.5302 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001179/0.02242, allocations: 0.6771 MB / 0.5309 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.02252, allocations: 87.38 kB / 0.531 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.02253, allocations: 4 kB / 0.531 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.02254, allocations: 0 / 0.531 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.02276, allocations: 35.91 kB / 0.531 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.02277, allocations: 5.594 kB / 0.531 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.02313, allocations: 47.86 kB / 0.5311 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.864e-05/0.02323, allocations: 58.73 kB / 0.5311 GB, free: 6.469 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002438/0.02347, allocations: 199.1 kB / 0.5313 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.02358, allocations: 51.7 kB / 0.5313 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-05/0.02365, allocations: 31.72 kB / 0.5314 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.02365, allocations: 4 kB / 0.5314 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.02365, allocations: 0 / 0.5314 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.02366, allocations: 2.062 kB / 0.5314 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.02567, allocations: 0.8136 MB / 0.5322 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.02567, allocations: 0.9375 kB / 0.5322 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.02571, allocations: 4 kB / 0.5322 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.02572, allocations: 0 / 0.5322 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/0.02576, allocations: 24.69 kB / 0.5322 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.02577, allocations: 4 kB / 0.5322 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.02577, allocations: 6.375 kB / 0.5322 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.02696, allocations: 0.5101 MB / 0.5327 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.02732, allocations: 169.5 kB / 0.5329 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.112e-05/0.02741, allocations: 16.88 kB / 0.5329 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.02771, allocations: 20.62 kB / 0.5329 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.02775, allocations: 11.98 kB / 0.5329 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.287e-05/0.02783, allocations: 63.25 kB / 0.533 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003625/0.0282, allocations: 311.1 kB / 0.5333 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.0282, allocations: 0 / 0.5333 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004132/0.02861, allocations: 67.95 kB / 0.5333 GB, free: 4.113 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.000184/0.02879, allocations: 127.2 kB / 0.5335 GB, free: 3.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.03005, allocations: 0.6412 MB / 0.5341 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.03005, allocations: 0 / 0.5341 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000454/0.03051, allocations: 107.6 kB / 0.5342 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.03094, allocations: 71.44 kB / 0.5343 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.03213, allocations: 0.5202 MB / 0.5348 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.03234, allocations: 174.8 kB / 0.5349 GB, free: 2.395 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.631e-05/0.03242, allocations: 17.45 kB / 0.535 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.03247, allocations: 16.48 kB / 0.535 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of SimCode: time 6.72e-07/0.03247, allocations: 0 / 0.535 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of Templates: time 0.01215/0.04462, allocations: 6.38 MB / 0.5412 GB, free: 12.12 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.048540726071224]