Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.001372/0.001372, allocations: 80.75 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.001656/0.001656, allocations: 181 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.107/1.107, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.8443/0.8443, allocations: 154.9 MB / 415.1 MB, free: 216 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 480.5 MB, free: 6.453 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.722e-05, allocations: 3.625 kB / 480.5 MB, free: 6.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003014/0.003041, allocations: 1.805 MB / 482.3 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.004537, allocations: 0.6244 MB / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.54e-05/0.004633, allocations: 1.125 kB / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.004749, allocations: 8.969 kB / 482.9 MB, free: 4.043 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.004907, allocations: 43.12 kB / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008478/0.005754, allocations: 370.8 kB / 483.3 MB, free: 3.648 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006452/0.0064, allocations: 0.6067 MB / 483.9 MB, free: 3.059 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.006522, allocations: 25.94 kB / 483.9 MB, free: 3.031 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000557/0.007079, allocations: 420.2 kB / 484.3 MB, free: 2.621 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.007383, allocations: 147.3 kB / 484.5 MB, free: 2.48 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.972e-05/0.007443, allocations: 40.66 kB / 484.5 MB, free: 2.441 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.174e-05/0.007495, allocations: 44.91 kB / 484.6 MB, free: 2.398 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.774e-05/0.007593, allocations: 131.6 kB / 484.7 MB, free: 2.27 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.0077, allocations: 151.7 kB / 484.8 MB, free: 2.121 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.008043, allocations: 431.4 kB / 485.3 MB, free: 1.699 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.008046, allocations: 0 / 485.3 MB, free: 1.699 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.008049, allocations: 5.25 kB / 485.3 MB, free: 1.695 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.008055, allocations: 0 / 485.3 MB, free: 1.695 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.0008629/0.008918, allocations: 0.7761 MB / 486 MB, free: 0.8594 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.008952, allocations: 8.031 kB / 486.1 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.183e-05/0.009043, allocations: 52.86 kB / 486.1 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.009304, allocations: 256.6 kB / 486.4 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.009339, allocations: 20.36 kB / 486.4 MB, free: 0.5078 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.009385, allocations: 33.33 kB / 486.4 MB, free: 488 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.009719, allocations: 190.9 kB / 486.6 MB, free: 296 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.009727, allocations: 192 / 486.6 MB, free: 296 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.009745, allocations: 5.375 kB / 486.6 MB, free: 292 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.009752, allocations: 384 / 486.6 MB, free: 292 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.533e-05/0.009837, allocations: 53.44 kB / 486.7 MB, free: 244 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.01043, allocations: 325.9 kB / 487 MB, free: 15.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.0106, allocations: 97.64 kB / 487.1 MB, free: 15.81 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/0.01068, allocations: 49.17 kB / 487.1 MB, free: 15.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.0107, allocations: 4.531 kB / 487.1 MB, free: 15.76 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.01087, allocations: 155.5 kB / 487.3 MB, free: 15.61 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.01087, allocations: 0 / 487.3 MB, free: 15.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003437/0.01121, allocations: 207.4 kB / 487.5 MB, free: 15.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.01125, allocations: 59.34 kB / 487.5 MB, free: 15.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.01146, allocations: 344.3 kB / 487.9 MB, free: 14.99 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.01149, allocations: 41.7 kB / 487.9 MB, free: 14.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.01155, allocations: 110.3 kB / 488 MB, free: 14.83 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.01158, allocations: 35.72 kB / 488.1 MB, free: 14.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.0117, allocations: 121.4 kB / 488.2 MB, free: 14.67 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.851e-05/0.01178, allocations: 328 kB / 488.5 MB, free: 14.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.01193, allocations: 163.3 kB / 488.7 MB, free: 14.17 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.01209, allocations: 209.3 kB / 488.9 MB, free: 13.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.01228, allocations: 255.5 kB / 489.1 MB, free: 13.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.01229, allocations: 0 / 489.1 MB, free: 13.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003768/0.01266, allocations: 451.9 kB / 489.5 MB, free: 13.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.575e-05/0.01273, allocations: 91.38 kB / 489.6 MB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01274, allocations: 0 / 489.6 MB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.01275, allocations: 7.938 kB / 489.6 MB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.01287, allocations: 31.97 kB / 489.7 MB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.01287, allocations: 4.781 kB / 489.7 MB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.01304, allocations: 60.33 kB / 489.7 MB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/0.01309, allocations: 56.41 kB / 489.8 MB, free: 12.93 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.0001222/0.01321, allocations: 144.5 kB / 489.9 MB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.01326, allocations: 35.91 kB / 490 MB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.0133, allocations: 27.73 kB / 490 MB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.0133, allocations: 4.688 kB / 490 MB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.0133, allocations: 0 / 490 MB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01331, allocations: 5.297 kB / 490 MB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.01379, allocations: 389.9 kB / 490.4 MB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01379, allocations: 0 / 490.4 MB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.01382, allocations: 11.98 kB / 490.4 MB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01383, allocations: 1.062 kB / 490.4 MB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.01385, allocations: 15.97 kB / 490.4 MB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01385, allocations: 3.938 kB / 490.4 MB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.01385, allocations: 1.438 kB / 490.4 MB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.01408, allocations: 245.5 kB / 490.7 MB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.01423, allocations: 127.5 kB / 490.8 MB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.01427, allocations: 19.98 kB / 490.8 MB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.01445, allocations: 30 kB / 490.8 MB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.01448, allocations: 15.92 kB / 490.9 MB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.01452, allocations: 43.98 kB / 490.9 MB, free: 11.81 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.01463, allocations: 144.7 kB / 491 MB, free: 11.67 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01463, allocations: 2.75 kB / 491 MB, free: 11.67 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002236/0.01485, allocations: 71.98 kB / 491.1 MB, free: 11.6 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.0001438/0.015, allocations: 105.9 kB / 491.2 MB, free: 11.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004402/0.01544, allocations: 413.7 kB / 491.6 MB, free: 11.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.01544, allocations: 4 kB / 491.6 MB, free: 11.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.388e-05/0.01554, allocations: 68.61 kB / 491.7 MB, free: 10.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.01577, allocations: 61.45 kB / 491.7 MB, free: 10.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.01633, allocations: 484.2 kB / 492.2 MB, free: 10.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.351e-05/0.01639, allocations: 91.8 kB / 492.3 MB, free: 10.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.299e-05/0.01643, allocations: 14.95 kB / 492.3 MB, free: 10.31 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.01661, allocations: 121.3 kB / 492.4 MB, free: 10.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01661, allocations: 0.9688 kB / 492.4 MB, free: 10.2 MB / 458.7 MB Notification: Performance of Templates: time 0.007385/0.024, allocations: 5.861 MB / 498.3 MB, free: 4.633 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.932949943933636]