Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.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.0008841/0.0008841, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009137/0.0009137, allocations: 177 kB / 23.36 MB, free: 1.133 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.007/1.007, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.8911/0.8911, allocations: 154.9 MB / 415.1 MB, free: 256 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.618e-05, allocations: 3.844 kB / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002296/0.002322, allocations: 1.765 MB / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.003346, allocations: 0.6181 MB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.254e-05/0.003419, allocations: 0.6562 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.003524, allocations: 15.8 kB / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.003659, allocations: 36.7 kB / 482.8 MB, free: 4.074 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007704/0.004429, allocations: 371.8 kB / 483.2 MB, free: 3.715 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.004915, allocations: 0.6039 MB / 483.8 MB, free: 3.125 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.341e-05/0.004999, allocations: 25.88 kB / 483.8 MB, free: 3.098 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003868/0.005385, allocations: 428.5 kB / 484.3 MB, free: 2.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.005604, allocations: 151.9 kB / 484.4 MB, free: 2.535 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.342e-05/0.005657, allocations: 40 kB / 484.4 MB, free: 2.496 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.507e-05/0.005712, allocations: 40 kB / 484.5 MB, free: 2.457 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.945e-05/0.005812, allocations: 131.6 kB / 484.6 MB, free: 2.328 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.005923, allocations: 145.1 kB / 484.8 MB, free: 2.188 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.006249, allocations: 430.8 kB / 485.2 MB, free: 1.766 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.006254, allocations: 4 kB / 485.2 MB, free: 1.762 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006255, allocations: 1.062 kB / 485.2 MB, free: 1.762 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.006258, allocations: 0 / 485.2 MB, free: 1.762 MB / 442.7 MB 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.0008102/0.007069, allocations: 0.7798 MB / 486 MB, free: 0.9219 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.007102, allocations: 11.97 kB / 486 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.233e-05/0.007195, allocations: 60.88 kB / 486 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.007448, allocations: 240.6 kB / 486.3 MB, free: 0.5938 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.007481, allocations: 25.8 kB / 486.3 MB, free: 0.5703 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.00753, allocations: 28.36 kB / 486.3 MB, free: 0.543 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.007854, allocations: 193.9 kB / 486.5 MB, free: 360 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.007861, allocations: 192 / 486.5 MB, free: 360 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.007879, allocations: 8.938 kB / 486.5 MB, free: 352 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.007884, allocations: 0.9688 kB / 486.5 MB, free: 352 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.131e-05/0.007966, allocations: 53.89 kB / 486.6 MB, free: 304 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006034/0.008569, allocations: 329.4 kB / 486.9 MB, free: 15.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.008727, allocations: 98.14 kB / 487 MB, free: 15.87 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.145e-05/0.008798, allocations: 41.88 kB / 487 MB, free: 15.83 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.008814, allocations: 8.719 kB / 487 MB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.008974, allocations: 151.9 kB / 487.2 MB, free: 15.66 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.008976, allocations: 1.062 kB / 487.2 MB, free: 15.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003276/0.009303, allocations: 210.1 kB / 487.4 MB, free: 15.47 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.009341, allocations: 59.41 kB / 487.5 MB, free: 15.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.009553, allocations: 344.2 kB / 487.8 MB, free: 15.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.009595, allocations: 45.69 kB / 487.8 MB, free: 15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.009653, allocations: 107 kB / 487.9 MB, free: 14.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.009681, allocations: 35.67 kB / 488 MB, free: 14.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.009803, allocations: 125.4 kB / 488.1 MB, free: 14.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.009897, allocations: 326.8 kB / 488.4 MB, free: 14.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.01007, allocations: 160.6 kB / 488.6 MB, free: 14.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.01024, allocations: 213.2 kB / 488.8 MB, free: 13.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.01044, allocations: 249.6 kB / 489 MB, free: 13.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01044, allocations: 0 / 489 MB, free: 13.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000382/0.01082, allocations: 454.4 kB / 489.5 MB, free: 13.24 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/0.01088, allocations: 87.38 kB / 489.6 MB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.01089, allocations: 0 / 489.6 MB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.0109, allocations: 6.5 kB / 489.6 MB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.01101, allocations: 39.91 kB / 489.6 MB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.01102, allocations: 4 kB / 489.6 MB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.01119, allocations: 51.81 kB / 489.7 MB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.349e-05/0.01125, allocations: 43.98 kB / 489.7 MB, free: 13 MB / 458.7 MB 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.00014/0.01139, allocations: 152.2 kB / 489.8 MB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.01143, allocations: 28.69 kB / 489.9 MB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.01147, allocations: 39.72 kB / 489.9 MB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.01148, allocations: 1.188 kB / 489.9 MB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01148, allocations: 0 / 489.9 MB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01148, allocations: 4 kB / 489.9 MB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.01192, allocations: 390.6 kB / 490.3 MB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.01192, allocations: 7.938 kB / 490.3 MB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.01194, allocations: 5.25 kB / 490.3 MB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.01195, allocations: 3.984 kB / 490.3 MB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.01197, allocations: 11.98 kB / 490.3 MB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.01197, allocations: 1.344 kB / 490.3 MB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01197, allocations: 0 / 490.3 MB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.0122, allocations: 241.9 kB / 490.6 MB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.01235, allocations: 135.5 kB / 490.7 MB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.0124, allocations: 20 kB / 490.7 MB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.01257, allocations: 29.22 kB / 490.7 MB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.0126, allocations: 7.984 kB / 490.8 MB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.01264, allocations: 53.44 kB / 490.8 MB, free: 11.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.01275, allocations: 148.6 kB / 490.9 MB, free: 11.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01275, allocations: 0 / 490.9 MB, free: 11.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000204/0.01295, allocations: 64 kB / 491 MB, free: 11.66 MB / 458.7 MB 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.0001138/0.01307, allocations: 105.8 kB / 491.1 MB, free: 11.55 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004248/0.01349, allocations: 416.3 kB / 491.5 MB, free: 11.11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.0135, allocations: 4 kB / 491.5 MB, free: 11.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.506e-05/0.01359, allocations: 67.41 kB / 491.6 MB, free: 11.05 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.01381, allocations: 52.55 kB / 491.6 MB, free: 11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005388/0.01435, allocations: 484 kB / 492.1 MB, free: 10.51 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.616e-05/0.0144, allocations: 87.81 kB / 492.2 MB, free: 10.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.184e-05/0.01444, allocations: 19.44 kB / 492.2 MB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.01462, allocations: 126.9 kB / 492.3 MB, free: 10.27 MB / 458.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01462, allocations: 4.75 kB / 492.3 MB, free: 10.27 MB / 458.7 MB Notification: Performance of Templates: time 0.00718/0.0218, allocations: 5.863 MB / 498.2 MB, free: 4.695 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.723373112268746]