Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.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.0007152/0.0007152, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009343/0.001649, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007177/0.0007177, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009052/0.001623, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.028/1.028, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08719/1.115, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8162/0.8162, allocations: 155.3 MB / 399.2 MB, free: 15.91 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2637/1.08, allocations: 49.13 MB / 448.4 MB, free: 6.035 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0.7656 kB / 449.7 MB, free: 4.785 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.518e-05, allocations: 7.078 kB / 449.7 MB, free: 4.781 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001768/0.001783, allocations: 1.604 MB / 451.3 MB, free: 3.195 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008276/0.002611, allocations: 0.5555 MB / 451.8 MB, free: 2.645 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.00267, allocations: 7.938 kB / 451.8 MB, free: 2.637 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.987e-05/0.002719, allocations: 6.453 kB / 451.8 MB, free: 2.633 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.917e-05/0.002809, allocations: 29.48 kB / 451.9 MB, free: 2.609 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.003325, allocations: 327.5 kB / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004041/0.003729, allocations: 0.4943 MB / 452.7 MB, free: 1.824 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.379e-05/0.003763, allocations: 4.75 kB / 452.7 MB, free: 1.82 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003451/0.004108, allocations: 377.6 kB / 453.1 MB, free: 1.453 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.004312, allocations: 134.5 kB / 453.2 MB, free: 1.324 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.818e-05/0.00436, allocations: 24 kB / 453.2 MB, free: 1.301 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.39e-05/0.004404, allocations: 33.91 kB / 453.2 MB, free: 1.27 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.472e-05/0.004498, allocations: 95.77 kB / 453.3 MB, free: 1.176 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.004601, allocations: 107.7 kB / 453.4 MB, free: 1.07 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.004911, allocations: 331 kB / 453.8 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.869e-05/0.00493, allocations: 0 / 453.8 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004931, allocations: 4.656 kB / 453.8 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.004951, allocations: 0 / 453.8 MB, free: 0.7422 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009084/0.00586, allocations: 0.8162 MB / 454.6 MB, free: 15.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.005889, allocations: 8.031 kB / 454.6 MB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.005966, allocations: 50.38 kB / 454.6 MB, free: 15.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.006187, allocations: 236 kB / 454.9 MB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.00622, allocations: 16.36 kB / 454.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.006262, allocations: 32.36 kB / 454.9 MB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.00656, allocations: 175.5 kB / 455.1 MB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.006567, allocations: 192 / 455.1 MB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.006584, allocations: 8.359 kB / 455.1 MB, free: 15.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.00659, allocations: 0.875 kB / 455.1 MB, free: 15.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.5e-05/0.006665, allocations: 42.45 kB / 455.1 MB, free: 15.29 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.006826, allocations: 114.3 kB / 455.3 MB, free: 15.17 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.006973, allocations: 94.06 kB / 455.3 MB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.864e-05/0.007042, allocations: 46.34 kB / 455.4 MB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.007065, allocations: 5.031 kB / 455.4 MB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.007247, allocations: 155.1 kB / 455.5 MB, free: 14.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.007249, allocations: 0.5938 kB / 455.5 MB, free: 14.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003547/0.007603, allocations: 208 kB / 455.8 MB, free: 14.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.007653, allocations: 55.41 kB / 455.8 MB, free: 14.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.007886, allocations: 323.3 kB / 456.1 MB, free: 14.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.007925, allocations: 42.53 kB / 456.2 MB, free: 14.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.007977, allocations: 101.4 kB / 456.3 MB, free: 14.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.008019, allocations: 38.36 kB / 456.3 MB, free: 14.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.008132, allocations: 117.4 kB / 456.4 MB, free: 13.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.978e-05/0.008221, allocations: 326.8 kB / 456.7 MB, free: 13.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.008365, allocations: 152.8 kB / 456.9 MB, free: 13.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.008506, allocations: 210.5 kB / 457.1 MB, free: 13.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.008679, allocations: 237.2 kB / 457.3 MB, free: 12.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.008686, allocations: 0.8438 kB / 457.3 MB, free: 12.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003244/0.00901, allocations: 437.5 kB / 457.7 MB, free: 12.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.005e-05/0.00907, allocations: 83.88 kB / 457.8 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.009076, allocations: 0 / 457.8 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.009088, allocations: 4.875 kB / 457.8 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.009219, allocations: 39.91 kB / 457.9 MB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.009223, allocations: 4.656 kB / 457.9 MB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.00938, allocations: 49.31 kB / 457.9 MB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.009429, allocations: 55.92 kB / 458 MB, free: 12.29 MB / 442.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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0001241/0.009553, allocations: 141 kB / 458.1 MB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.009592, allocations: 27.97 kB / 458.1 MB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.009635, allocations: 33.38 kB / 458.2 MB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.009638, allocations: 4 kB / 458.2 MB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.009642, allocations: 0.9062 kB / 458.2 MB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.009646, allocations: 3.984 kB / 458.2 MB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.01008, allocations: 376.2 kB / 458.6 MB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01008, allocations: 3.938 kB / 458.6 MB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.01011, allocations: 9.078 kB / 458.6 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.01024, allocations: 115.5 kB / 458.7 MB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01024, allocations: 1.125 kB / 458.7 MB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.01026, allocations: 11.97 kB / 458.7 MB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.01026, allocations: 3.938 kB / 458.7 MB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.01026, allocations: 4.562 kB / 458.7 MB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.01047, allocations: 240.6 kB / 458.9 MB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.01051, allocations: 11.98 kB / 458.9 MB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.01069, allocations: 33 kB / 459 MB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.01071, allocations: 15.86 kB / 459 MB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.01075, allocations: 49.45 kB / 459 MB, free: 11.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.888e-05/0.01084, allocations: 144.6 kB / 459.2 MB, free: 11.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01084, allocations: 0 / 459.2 MB, free: 11.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.01103, allocations: 67.98 kB / 459.2 MB, free: 11 MB / 442.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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001216/0.01115, allocations: 100 kB / 459.3 MB, free: 10.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003881/0.01154, allocations: 389.7 kB / 459.7 MB, free: 10.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.01155, allocations: 9.406 kB / 459.7 MB, free: 10.47 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.634e-05/0.01163, allocations: 65.88 kB / 459.8 MB, free: 10.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.01184, allocations: 61.59 kB / 459.9 MB, free: 10.35 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008989/0.01274, allocations: 472 kB / 460.3 MB, free: 9.867 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.879e-05/0.01279, allocations: 89.39 kB / 460.4 MB, free: 9.762 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.908e-05/0.01283, allocations: 15.98 kB / 460.4 MB, free: 9.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.01299, allocations: 114.4 kB / 460.5 MB, free: 9.645 MB / 442.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01299, allocations: 0 / 460.5 MB, free: 9.645 MB / 442.7 MB Notification: Performance of Templates: time 0.006783/0.01977, allocations: 5.353 MB / 465.9 MB, free: 4.574 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8622966641560197]