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.001206/0.001206, allocations: 93.06 kB / 19.65 MB, free: 276 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.001377/0.001377, allocations: 169 kB / 23.02 MB, free: 1.551 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.013/1.013, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.7903/0.7903, allocations: 154.8 MB / 414.7 MB, free: 492 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.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 1.703e-06/1.703e-06, allocations: 0 / 0.5206 GB, free: 1.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.528e-05, allocations: 4.141 kB / 0.5206 GB, free: 1.926 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.00553/0.005555, allocations: 1.759 MB / 0.5223 GB, free: 176 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.007065, allocations: 0.623 MB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.007133, allocations: 3.938 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.003132/0.01027, allocations: 7.875 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.01041, allocations: 36.34 kB / 0.523 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008531/0.01126, allocations: 372.7 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005748/0.01183, allocations: 0.5975 MB / 0.5239 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.01193, allocations: 21.28 kB / 0.5239 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004796/0.01241, allocations: 424.5 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.01267, allocations: 145.2 kB / 0.5245 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.262e-05/0.01275, allocations: 40 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.314e-05/0.01282, allocations: 40 kB / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.01295, allocations: 128.3 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.01311, allocations: 147.7 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004441/0.01355, allocations: 440.4 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.01355, allocations: 0 / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.41e-07/0.01355, allocations: 0 / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.01356, allocations: 0 / 0.5252 GB, free: 13.2 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.0009466/0.01451, allocations: 0.9465 MB / 0.5262 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.01454, allocations: 8.031 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.01465, allocations: 69.47 kB / 0.5262 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.01495, allocations: 278.8 kB / 0.5265 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.01499, allocations: 25.58 kB / 0.5265 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.304e-05/0.01504, allocations: 32.36 kB / 0.5266 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.01541, allocations: 213.9 kB / 0.5268 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.01542, allocations: 192 / 0.5268 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.01544, allocations: 9.359 kB / 0.5268 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.01545, allocations: 384 / 0.5268 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.01556, allocations: 66.02 kB / 0.5268 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007657/0.01632, allocations: 0.6061 MB / 0.5274 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.01652, allocations: 130.3 kB / 0.5276 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.934e-05/0.01662, allocations: 69.97 kB / 0.5276 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.01664, allocations: 4 kB / 0.5276 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.01684, allocations: 185.2 kB / 0.5278 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.193e-06/0.01684, allocations: 2.438 kB / 0.5278 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005478/0.01739, allocations: 375.3 kB / 0.5282 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.01743, allocations: 63.39 kB / 0.5282 GB, free: 10 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.01772, allocations: 431.4 kB / 0.5286 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.01775, allocations: 41.7 kB / 0.5287 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.01782, allocations: 148.9 kB / 0.5288 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.01786, allocations: 51.61 kB / 0.5289 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.01799, allocations: 136.5 kB / 0.529 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.01811, allocations: 0.4962 MB / 0.5295 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.01832, allocations: 179.3 kB / 0.5296 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.01853, allocations: 255.4 kB / 0.5299 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005056/0.01904, allocations: 283.5 kB / 0.5302 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01904, allocations: 4 kB / 0.5302 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005627/0.01961, allocations: 0.5784 MB / 0.5307 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.587e-05/0.01966, allocations: 91.38 kB / 0.5308 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01967, allocations: 1.406 kB / 0.5308 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.01969, allocations: 4 kB / 0.5308 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.01983, allocations: 35.91 kB / 0.5309 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.01984, allocations: 4.531 kB / 0.5309 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.02002, allocations: 45.08 kB / 0.5309 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.02007, allocations: 59.98 kB / 0.531 GB, free: 7.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 (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.0001194/0.02019, allocations: 192.1 kB / 0.5311 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.02024, allocations: 47.7 kB / 0.5312 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.02029, allocations: 36.53 kB / 0.5312 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.02029, allocations: 4 kB / 0.5312 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.02029, allocations: 1.281 kB / 0.5312 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.0203, allocations: 0 / 0.5312 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006504/0.02095, allocations: 0.7096 MB / 0.5319 GB, free: 6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.02095, allocations: 0 / 0.5319 GB, free: 6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.02098, allocations: 7.984 kB / 0.5319 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.02098, allocations: 0 / 0.5319 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.021, allocations: 23.98 kB / 0.532 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.02101, allocations: 0 / 0.532 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02101, allocations: 0.5625 kB / 0.532 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.0214, allocations: 468.7 kB / 0.5324 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.02156, allocations: 174.6 kB / 0.5326 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.02161, allocations: 16 kB / 0.5326 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.02175, allocations: 28.47 kB / 0.5326 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.02178, allocations: 4.578 kB / 0.5326 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/0.02182, allocations: 64.86 kB / 0.5327 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001649/0.02199, allocations: 275.1 kB / 0.5329 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02199, allocations: 0 / 0.5329 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002196/0.02221, allocations: 74.33 kB / 0.533 GB, free: 4.879 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.000102/0.02231, allocations: 127.2 kB / 0.5331 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004502/0.02276, allocations: 450.9 kB / 0.5336 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.02276, allocations: 0 / 0.5336 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.02287, allocations: 82.45 kB / 0.5336 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.02314, allocations: 70.41 kB / 0.5337 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.0237, allocations: 0.4889 MB / 0.5342 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.915e-05/0.02375, allocations: 91.8 kB / 0.5343 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.02379, allocations: 14.11 kB / 0.5343 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.02382, allocations: 17.19 kB / 0.5343 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.02382, allocations: 0 / 0.5343 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of Templates: time 0.007075/0.0309, allocations: 6.383 MB / 0.5405 GB, free: 13.17 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: 4.095807365141809]