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.00102/0.00102, 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.001051/0.001051, allocations: 173 kB / 23.35 MB, free: 1.137 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.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8129/0.8129, 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 9.82e-07/9.82e-07, allocations: 0 / 480.4 MB, free: 6.473 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.724e-05, allocations: 7.016 kB / 480.5 MB, free: 6.469 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002238/0.002256, allocations: 1.802 MB / 482.3 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000986/0.003242, allocations: 0.6251 MB / 482.9 MB, free: 4.074 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.342e-05/0.003315, allocations: 1.031 kB / 482.9 MB, free: 4.074 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 8.876e-05/0.003404, allocations: 16.52 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.003522, allocations: 39 kB / 482.9 MB, free: 4.027 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006472/0.004169, allocations: 370.8 kB / 483.3 MB, free: 3.668 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004813/0.004651, allocations: 0.606 MB / 483.9 MB, free: 3.074 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.809e-05/0.004729, allocations: 22.89 kB / 483.9 MB, free: 3.051 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004027/0.005131, allocations: 435.4 kB / 484.4 MB, free: 2.625 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.005356, allocations: 140.1 kB / 484.5 MB, free: 2.492 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.494e-05/0.005411, allocations: 40 kB / 484.5 MB, free: 2.453 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.23e-05/0.005464, allocations: 41.16 kB / 484.6 MB, free: 2.414 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.754e-05/0.005551, allocations: 131.6 kB / 484.7 MB, free: 2.285 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.005655, allocations: 151.7 kB / 484.8 MB, free: 2.137 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.005948, allocations: 431.4 kB / 485.3 MB, free: 1.715 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.005949, allocations: 1.938 kB / 485.3 MB, free: 1.715 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.00595, allocations: 0 / 485.3 MB, free: 1.715 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005954, allocations: 0 / 485.3 MB, free: 1.715 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.0009822/0.006937, allocations: 0.7757 MB / 486 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.006965, allocations: 12.02 kB / 486.1 MB, free: 0.8672 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.611e-05/0.007041, allocations: 56.88 kB / 486.1 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.007266, allocations: 243.9 kB / 486.4 MB, free: 0.5508 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.007298, allocations: 24.89 kB / 486.4 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.007343, allocations: 29.39 kB / 486.4 MB, free: 0.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.007643, allocations: 191.3 kB / 486.6 MB, free: 320 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.00765, allocations: 5.125 kB / 486.6 MB, free: 316 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.007667, allocations: 4.375 kB / 486.6 MB, free: 312 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.007672, allocations: 4.375 kB / 486.6 MB, free: 308 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.871e-05/0.007751, allocations: 48.75 kB / 486.7 MB, free: 264 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000534/0.008285, allocations: 329.9 kB / 487 MB, free: 15.92 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.008439, allocations: 95.66 kB / 487.1 MB, free: 15.83 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.496e-05/0.008514, allocations: 52.83 kB / 487.1 MB, free: 15.78 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.008527, allocations: 0.5 kB / 487.1 MB, free: 15.78 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.008706, allocations: 148.4 kB / 487.3 MB, free: 15.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.008708, allocations: 0.625 kB / 487.3 MB, free: 15.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003256/0.009033, allocations: 209.7 kB / 487.5 MB, free: 15.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.009062, allocations: 60.06 kB / 487.5 MB, free: 15.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.009264, allocations: 351.4 kB / 487.9 MB, free: 15 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.0093, allocations: 38.98 kB / 487.9 MB, free: 14.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.009351, allocations: 105.3 kB / 488 MB, free: 14.85 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.009379, allocations: 39.7 kB / 488.1 MB, free: 14.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.009495, allocations: 126.1 kB / 488.2 MB, free: 14.68 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.888e-05/0.009564, allocations: 322.8 kB / 488.5 MB, free: 14.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.009717, allocations: 159.9 kB / 488.6 MB, free: 14.19 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.009871, allocations: 210.8 kB / 488.9 MB, free: 13.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.01006, allocations: 254.6 kB / 489.1 MB, free: 13.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.01006, allocations: 3.984 kB / 489.1 MB, free: 13.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003707/0.01043, allocations: 454 kB / 489.5 MB, free: 13.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.01048, allocations: 87.38 kB / 489.6 MB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01049, allocations: 1.703 kB / 489.6 MB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.0105, allocations: 4 kB / 489.6 MB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.01061, allocations: 40.88 kB / 489.7 MB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.01061, allocations: 3.938 kB / 489.7 MB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.01077, allocations: 57.59 kB / 489.7 MB, free: 13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.01082, allocations: 51.97 kB / 489.8 MB, free: 12.95 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.0001117/0.01093, allocations: 141.5 kB / 489.9 MB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.01097, allocations: 32.66 kB / 490 MB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.01101, allocations: 35.73 kB / 490 MB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01101, allocations: 1.125 kB / 490 MB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.01102, allocations: 7.938 kB / 490 MB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01102, allocations: 3.984 kB / 490 MB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.01143, allocations: 388.8 kB / 490.4 MB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01143, allocations: 0 / 490.4 MB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.01145, allocations: 11.92 kB / 490.4 MB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.01146, allocations: 2 kB / 490.4 MB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.01148, allocations: 15.97 kB / 490.4 MB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01148, allocations: 1.25 kB / 490.4 MB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01148, allocations: 0 / 490.4 MB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.01169, allocations: 236.7 kB / 490.6 MB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.01184, allocations: 132.3 kB / 490.8 MB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.01189, allocations: 23.98 kB / 490.8 MB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.01206, allocations: 30.69 kB / 490.8 MB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.01208, allocations: 7.984 kB / 490.8 MB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.01212, allocations: 47.98 kB / 490.9 MB, free: 11.83 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.01223, allocations: 148.7 kB / 491 MB, free: 11.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01223, allocations: 0 / 491 MB, free: 11.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002094/0.01244, allocations: 72.48 kB / 491.1 MB, free: 11.61 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.0001081/0.01255, allocations: 107.4 kB / 491.2 MB, free: 11.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004051/0.01295, allocations: 417.4 kB / 491.6 MB, free: 11.06 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.01296, allocations: 4 kB / 491.6 MB, free: 11.06 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.927e-05/0.01306, allocations: 61.5 kB / 491.7 MB, free: 11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.01328, allocations: 66.28 kB / 491.7 MB, free: 10.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.01379, allocations: 480 kB / 492.2 MB, free: 10.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.134e-05/0.01384, allocations: 92.36 kB / 492.3 MB, free: 10.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.163e-05/0.01388, allocations: 13.44 kB / 492.3 MB, free: 10.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.01407, allocations: 126.2 kB / 492.4 MB, free: 10.22 MB / 458.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01407, allocations: 0.7812 kB / 492.4 MB, free: 10.22 MB / 458.7 MB Notification: Performance of Templates: time 0.007214/0.02129, allocations: 5.865 MB / 498.3 MB, free: 4.637 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 -s gbode -gbm=radauIIA3 -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.7844130266457796]