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.0008938/0.0008938, 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.0008894/0.0008894, 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 1.111/1.111, 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.8015/0.8015, allocations: 154.9 MB / 415.9 MB, free: 268 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.894e-06/1.894e-06, allocations: 0 / 0.5219 GB, free: 1.488 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.131e-05/3.32e-05, allocations: 5.906 kB / 0.5219 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003539/0.003572, allocations: 1.754 MB / 0.5236 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.005258, allocations: 0.616 MB / 0.5242 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.005365, allocations: 3.938 kB / 0.5243 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.00549, allocations: 7.875 kB / 0.5243 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.005652, allocations: 35.78 kB / 0.5243 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009567/0.006609, allocations: 369.2 kB / 0.5246 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007066/0.007316, allocations: 0.597 MB / 0.5252 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.007431, allocations: 21.28 kB / 0.5253 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006058/0.008036, allocations: 424 kB / 0.5257 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003541/0.008391, allocations: 149 kB / 0.5258 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.466e-05/0.008485, allocations: 41.22 kB / 0.5258 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.681e-05/0.008562, allocations: 40 kB / 0.5259 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.008702, allocations: 131.6 kB / 0.526 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.008868, allocations: 140.4 kB / 0.5261 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.009375, allocations: 438.8 kB / 0.5266 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.009379, allocations: 1.406 kB / 0.5266 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.352e-06/0.00938, allocations: 0 / 0.5266 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.009387, allocations: 3.938 kB / 0.5266 GB, free: 12.77 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.001264/0.01065, allocations: 0.946 MB / 0.5275 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.01069, allocations: 8.781 kB / 0.5275 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.01099, allocations: 64.66 kB / 0.5276 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.01138, allocations: 287.9 kB / 0.5278 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/0.01144, allocations: 20.36 kB / 0.5278 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.016e-05/0.01152, allocations: 32.36 kB / 0.5279 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.012, allocations: 206.5 kB / 0.5281 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.01202, allocations: 4.172 kB / 0.5281 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.01204, allocations: 5.594 kB / 0.5281 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.01205, allocations: 384 / 0.5281 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.01219, allocations: 56.81 kB / 0.5281 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.01325, allocations: 0.5517 MB / 0.5287 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.01353, allocations: 118 kB / 0.5288 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.01367, allocations: 62.41 kB / 0.5288 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.01369, allocations: 4 kB / 0.5289 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003129/0.01401, allocations: 180.1 kB / 0.529 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.01401, allocations: 0 / 0.529 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0007635/0.01477, allocations: 362.9 kB / 0.5294 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.01482, allocations: 59.39 kB / 0.5294 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/0.01524, allocations: 430.5 kB / 0.5298 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/0.0153, allocations: 38.52 kB / 0.5299 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.0154, allocations: 152.1 kB / 0.53 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.01545, allocations: 44.33 kB / 0.5301 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.01565, allocations: 139.1 kB / 0.5302 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.0158, allocations: 0.4969 MB / 0.5307 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.01607, allocations: 172.8 kB / 0.5308 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.01636, allocations: 237 kB / 0.5311 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.01669, allocations: 270.4 kB / 0.5313 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.0167, allocations: 0 / 0.5313 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008396/0.01754, allocations: 0.5536 MB / 0.5319 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-05/0.01762, allocations: 87.38 kB / 0.532 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.01764, allocations: 4 kB / 0.532 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.01765, allocations: 4 kB / 0.532 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.01782, allocations: 35.91 kB / 0.532 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.01783, allocations: 5.688 kB / 0.532 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.01812, allocations: 51.84 kB / 0.532 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.883e-05/0.01821, allocations: 55.98 kB / 0.5321 GB, free: 6.781 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.0001785/0.01839, allocations: 188.6 kB / 0.5323 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.852e-05/0.01847, allocations: 47.7 kB / 0.5323 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/0.01853, allocations: 37 kB / 0.5324 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.01853, allocations: 4 kB / 0.5324 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01853, allocations: 0 / 0.5324 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01854, allocations: 0 / 0.5324 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009112/0.01945, allocations: 0.6351 MB / 0.533 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01945, allocations: 0 / 0.533 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.01949, allocations: 11.97 kB / 0.533 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.0195, allocations: 4.688 kB / 0.533 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.01953, allocations: 19.92 kB / 0.533 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01954, allocations: 0.5 kB / 0.533 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.01954, allocations: 5.297 kB / 0.533 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005849/0.02012, allocations: 460.7 kB / 0.5335 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/0.0204, allocations: 173.5 kB / 0.5336 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.479e-05/0.02048, allocations: 16.5 kB / 0.5336 GB, free: 5.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.02072, allocations: 25.31 kB / 0.5337 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.02075, allocations: 11.92 kB / 0.5337 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.069e-05/0.02082, allocations: 59.98 kB / 0.5337 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002203/0.02104, allocations: 263.8 kB / 0.534 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.02104, allocations: 0 / 0.534 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003844/0.02142, allocations: 68.86 kB / 0.5341 GB, free: 4.738 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.0001696/0.02159, allocations: 123.8 kB / 0.5342 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007442/0.02234, allocations: 427.9 kB / 0.5346 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02234, allocations: 0 / 0.5346 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.02249, allocations: 81.97 kB / 0.5347 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.02292, allocations: 63.95 kB / 0.5347 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007898/0.02371, allocations: 498.8 kB / 0.5352 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.082e-05/0.02378, allocations: 91.8 kB / 0.5353 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.129e-05/0.02384, allocations: 15.2 kB / 0.5353 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.02409, allocations: 141.8 kB / 0.5354 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/0.02409, allocations: 0 / 0.5354 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of Templates: time 0.01008/0.03417, allocations: 6.06 MB / 0.5414 GB, free: 13.28 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: 3.861059569288045]