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.001468/0.001468, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001851/0.001851, allocations: 177 kB / 23.36 MB, free: 1.129 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.032/1.032, allocations: 177.2 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.8001/0.8001, allocations: 154.9 MB / 415.1 MB, free: 204 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.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.804e-06/1.804e-06, allocations: 0 / 480.3 MB, free: 6.629 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.266e-05, allocations: 2.312 kB / 480.3 MB, free: 6.625 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002313/0.002336, allocations: 1.554 MB / 481.9 MB, free: 5.09 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009562/0.003292, allocations: 0.5365 MB / 482.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.003362, allocations: 7.938 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.319e-05/0.003456, allocations: 8.203 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.003568, allocations: 33.16 kB / 482.5 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000809/0.004376, allocations: 319.5 kB / 482.8 MB, free: 4.211 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004701/0.004847, allocations: 490.6 kB / 483.3 MB, free: 3.75 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.004884, allocations: 5.5 kB / 483.3 MB, free: 3.746 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000391/0.005275, allocations: 361.4 kB / 483.6 MB, free: 3.395 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.005581, allocations: 134.3 kB / 483.7 MB, free: 3.266 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.977e-05/0.005651, allocations: 28.78 kB / 483.8 MB, free: 3.238 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.873e-05/0.0057, allocations: 28 kB / 483.8 MB, free: 3.211 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.005801, allocations: 124.9 kB / 483.9 MB, free: 3.09 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.00591, allocations: 123.7 kB / 484 MB, free: 2.969 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.006197, allocations: 382.8 kB / 484.4 MB, free: 2.594 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.0062, allocations: 1.062 kB / 484.4 MB, free: 2.594 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.006201, allocations: 0 / 484.4 MB, free: 2.594 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.006205, allocations: 0 / 484.4 MB, free: 2.594 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008547/0.00706, allocations: 0.7392 MB / 485.2 MB, free: 1.793 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.007094, allocations: 9.875 kB / 485.2 MB, free: 1.785 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.477e-05/0.007179, allocations: 56.88 kB / 485.2 MB, free: 1.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.007421, allocations: 239.9 kB / 485.5 MB, free: 1.473 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.007453, allocations: 20.38 kB / 485.5 MB, free: 1.453 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.0075, allocations: 28.36 kB / 485.5 MB, free: 1.426 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.007808, allocations: 186.8 kB / 485.7 MB, free: 1.242 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.007816, allocations: 0.8125 kB / 485.7 MB, free: 1.242 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.007832, allocations: 384 / 485.7 MB, free: 1.242 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.007837, allocations: 1.188 kB / 485.7 MB, free: 1.242 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.007909, allocations: 40.45 kB / 485.7 MB, free: 1.207 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.008083, allocations: 114.3 kB / 485.8 MB, free: 1.082 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.008241, allocations: 97.44 kB / 485.9 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.379e-05/0.008315, allocations: 45.97 kB / 486 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.008333, allocations: 3.984 kB / 486 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.008495, allocations: 144.7 kB / 486.1 MB, free: 0.7891 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.008497, allocations: 0.9375 kB / 486.1 MB, free: 0.7891 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003128/0.00881, allocations: 214 kB / 486.3 MB, free: 0.5898 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.008842, allocations: 63.33 kB / 486.4 MB, free: 0.5156 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.009021, allocations: 329.2 kB / 486.7 MB, free: 188 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.009057, allocations: 41.69 kB / 486.8 MB, free: 140 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.009103, allocations: 101.4 kB / 486.9 MB, free: 32 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/0.009176, allocations: 35.8 kB / 486.9 MB, free: 15.99 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.009291, allocations: 117.3 kB / 487 MB, free: 15.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.601e-05/0.009367, allocations: 327.7 kB / 487.3 MB, free: 15.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.009512, allocations: 151.3 kB / 487.5 MB, free: 15.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.009676, allocations: 214.3 kB / 487.7 MB, free: 15.14 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.009858, allocations: 238.7 kB / 487.9 MB, free: 14.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.009861, allocations: 0.75 kB / 487.9 MB, free: 14.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003787/0.01024, allocations: 436.6 kB / 488.3 MB, free: 14.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/0.01029, allocations: 82.47 kB / 488.4 MB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.0103, allocations: 4 kB / 488.4 MB, free: 14.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.01031, allocations: 4 kB / 488.4 MB, free: 14.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.01042, allocations: 40.81 kB / 488.5 MB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.01043, allocations: 3.984 kB / 488.5 MB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.01084, allocations: 48.58 kB / 488.5 MB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.01089, allocations: 52.55 kB / 488.6 MB, free: 14.19 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.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.0001239/0.01101, allocations: 150.6 kB / 488.7 MB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.01105, allocations: 23.97 kB / 488.7 MB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.01109, allocations: 40.58 kB / 488.8 MB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01109, allocations: 0 / 488.8 MB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01109, allocations: 1.375 kB / 488.8 MB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01109, allocations: 0 / 488.8 MB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.01152, allocations: 383.8 kB / 489.2 MB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01152, allocations: 0 / 489.2 MB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.01154, allocations: 4 kB / 489.2 MB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01155, allocations: 5.656 kB / 489.2 MB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.01156, allocations: 11.97 kB / 489.2 MB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01156, allocations: 0 / 489.2 MB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01157, allocations: 0 / 489.2 MB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.01178, allocations: 248.7 kB / 489.4 MB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.01191, allocations: 115.5 kB / 489.5 MB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.01196, allocations: 12 kB / 489.6 MB, free: 13.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.01213, allocations: 33.94 kB / 489.6 MB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.01216, allocations: 11.92 kB / 489.6 MB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/0.0122, allocations: 52.94 kB / 489.6 MB, free: 13.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.213e-05/0.01229, allocations: 132.6 kB / 489.8 MB, free: 12.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01229, allocations: 0 / 489.8 MB, free: 12.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.0125, allocations: 73.39 kB / 489.8 MB, free: 12.89 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.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.000109/0.01261, allocations: 93.06 kB / 489.9 MB, free: 12.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003882/0.01299, allocations: 410.2 kB / 490.3 MB, free: 12.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.013, allocations: 4 kB / 490.3 MB, free: 12.35 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.261e-05/0.01309, allocations: 62.64 kB / 490.4 MB, free: 12.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.01328, allocations: 41.61 kB / 490.4 MB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.0139, allocations: 467.7 kB / 490.9 MB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.511e-05/0.01395, allocations: 84.19 kB / 491 MB, free: 11.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.738e-05/0.01399, allocations: 14.27 kB / 491 MB, free: 11.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.01416, allocations: 122.8 kB / 491.1 MB, free: 11.56 MB / 458.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01416, allocations: 1.344 kB / 491.1 MB, free: 11.56 MB / 458.7 MB Notification: Performance of Templates: time 0.007053/0.02121, allocations: 5.305 MB / 496.4 MB, free: 6.5 MB / 458.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.915319273713976]