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.001409/0.001409, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001003/0.001003, allocations: 177 kB / 23.36 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.025/1.025, 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.8585/0.8585, 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.623e-06/1.623e-06, allocations: 0 / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.64e-05, allocations: 3.078 kB / 480.4 MB, free: 6.492 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002869/0.002895, allocations: 1.762 MB / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.004077, allocations: 0.6219 MB / 482.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.965e-05/0.004166, allocations: 3.188 kB / 482.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.004291, allocations: 8.422 kB / 482.8 MB, free: 4.125 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.004433, allocations: 38.73 kB / 482.8 MB, free: 4.094 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008606/0.005293, allocations: 378.2 kB / 483.2 MB, free: 3.73 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006077/0.005901, allocations: 0.6096 MB / 483.8 MB, free: 3.137 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.006003, allocations: 21.89 kB / 483.8 MB, free: 3.113 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006473/0.00665, allocations: 429.4 kB / 484.3 MB, free: 2.695 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.00696, allocations: 142.7 kB / 484.4 MB, free: 2.559 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.378e-05/0.007024, allocations: 40 kB / 484.4 MB, free: 2.52 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.657e-05/0.00708, allocations: 40 kB / 484.5 MB, free: 2.48 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.007194, allocations: 132.8 kB / 484.6 MB, free: 2.352 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.007316, allocations: 151.7 kB / 484.8 MB, free: 2.203 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.007717, allocations: 426.8 kB / 485.2 MB, free: 1.785 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.007722, allocations: 0.5312 kB / 485.2 MB, free: 1.785 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.007724, allocations: 5.031 kB / 485.2 MB, free: 1.781 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.007734, allocations: 0 / 485.2 MB, free: 1.781 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.001013/0.008747, allocations: 0.7795 MB / 486 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.008785, allocations: 8.031 kB / 486 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.852e-05/0.008884, allocations: 62.8 kB / 486 MB, free: 0.875 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.009178, allocations: 243.9 kB / 486.3 MB, free: 0.6133 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.009221, allocations: 20.36 kB / 486.3 MB, free: 0.5938 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.009275, allocations: 32.36 kB / 486.3 MB, free: 0.5625 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.009652, allocations: 190.2 kB / 486.5 MB, free: 384 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.009663, allocations: 4.812 kB / 486.5 MB, free: 380 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.009685, allocations: 8.969 kB / 486.5 MB, free: 372 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.009692, allocations: 384 / 486.5 MB, free: 372 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.775e-05/0.00978, allocations: 49.25 kB / 486.6 MB, free: 328 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006779/0.01046, allocations: 329.2 kB / 486.9 MB, free: 15.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.01063, allocations: 102.2 kB / 487 MB, free: 15.88 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.205e-05/0.01071, allocations: 42.09 kB / 487 MB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.01072, allocations: 4 kB / 487 MB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.01089, allocations: 157.6 kB / 487.2 MB, free: 15.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.0109, allocations: 1.188 kB / 487.2 MB, free: 15.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003401/0.01124, allocations: 206.4 kB / 487.4 MB, free: 15.49 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.01128, allocations: 63.34 kB / 487.5 MB, free: 15.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.01149, allocations: 347.4 kB / 487.8 MB, free: 15.06 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.01152, allocations: 41.7 kB / 487.8 MB, free: 15.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.01158, allocations: 102.4 kB / 487.9 MB, free: 14.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.01161, allocations: 39.7 kB / 488 MB, free: 14.87 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.01173, allocations: 121.4 kB / 488.1 MB, free: 14.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.01181, allocations: 323.9 kB / 488.4 MB, free: 14.42 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.01198, allocations: 163.3 kB / 488.6 MB, free: 14.25 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.01214, allocations: 214.8 kB / 488.8 MB, free: 14.01 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.01233, allocations: 254.9 kB / 489 MB, free: 13.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01233, allocations: 0 / 489 MB, free: 13.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003776/0.01271, allocations: 453 kB / 489.5 MB, free: 13.26 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.427e-05/0.01277, allocations: 88.28 kB / 489.6 MB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.01278, allocations: 0 / 489.6 MB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.01279, allocations: 4.625 kB / 489.6 MB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.01291, allocations: 35.91 kB / 489.6 MB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.01291, allocations: 4.719 kB / 489.6 MB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.01309, allocations: 53.16 kB / 489.7 MB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/0.01314, allocations: 47.98 kB / 489.7 MB, free: 13.02 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.0001421/0.01328, allocations: 149.6 kB / 489.8 MB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.01333, allocations: 28.52 kB / 489.9 MB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.01338, allocations: 41.06 kB / 489.9 MB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01339, allocations: 0 / 489.9 MB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.01339, allocations: 0 / 489.9 MB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.01339, allocations: 4.5 kB / 489.9 MB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.01387, allocations: 392.8 kB / 490.3 MB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01387, allocations: 0 / 490.3 MB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.0139, allocations: 5.688 kB / 490.3 MB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.0139, allocations: 0 / 490.3 MB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.01392, allocations: 15.97 kB / 490.3 MB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01392, allocations: 3.938 kB / 490.3 MB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01393, allocations: 0 / 490.3 MB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.01417, allocations: 247.9 kB / 490.6 MB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.01433, allocations: 137 kB / 490.7 MB, free: 12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.01439, allocations: 16.97 kB / 490.7 MB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.01457, allocations: 32.94 kB / 490.7 MB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.01459, allocations: 8.984 kB / 490.8 MB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.01464, allocations: 51.97 kB / 490.8 MB, free: 11.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.01474, allocations: 144.7 kB / 490.9 MB, free: 11.75 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01474, allocations: 0.9688 kB / 491 MB, free: 11.75 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.01497, allocations: 68 kB / 491 MB, free: 11.68 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.0001468/0.01511, allocations: 103.3 kB / 491.1 MB, free: 11.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004607/0.01558, allocations: 418.3 kB / 491.5 MB, free: 11.13 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.01558, allocations: 4 kB / 491.5 MB, free: 11.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.634e-05/0.01568, allocations: 65.05 kB / 491.6 MB, free: 11.06 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.01591, allocations: 55.11 kB / 491.6 MB, free: 11.01 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.01655, allocations: 488.7 kB / 492.1 MB, free: 10.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.742e-05/0.0166, allocations: 87.81 kB / 492.2 MB, free: 10.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.863e-05/0.01665, allocations: 18.59 kB / 492.2 MB, free: 10.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.01683, allocations: 122.6 kB / 492.3 MB, free: 10.29 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01683, allocations: 1.344 kB / 492.4 MB, free: 10.29 MB / 458.7 MB Notification: Performance of Templates: time 0.00749/0.02432, allocations: 5.856 MB / 498.2 MB, free: 4.723 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 -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.745315834879875]