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.001114/0.001114, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001396/0.001396, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.078/1.078, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.7793/0.7793, allocations: 154.8 MB / 415.1 MB, free: 496 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 1.844e-06/1.844e-06, allocations: 0 / 0.5206 GB, free: 1.113 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.775e-05, allocations: 4.984 kB / 0.5206 GB, free: 1.109 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002085/0.002113, allocations: 1.775 MB / 0.5224 GB, free: 15.34 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.003128, allocations: 0.6122 MB / 0.523 GB, free: 14.73 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/0.003192, allocations: 0 / 0.523 GB, free: 14.73 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 9.171e-05/0.003283, allocations: 12.48 kB / 0.523 GB, free: 14.72 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.003392, allocations: 37.59 kB / 0.523 GB, free: 14.68 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.00401, allocations: 379.2 kB / 0.5234 GB, free: 14.31 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003995/0.004409, allocations: 0.5947 MB / 0.5239 GB, free: 13.72 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.004502, allocations: 21.3 kB / 0.524 GB, free: 13.7 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003587/0.004861, allocations: 419.6 kB / 0.5244 GB, free: 13.29 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.00506, allocations: 141.8 kB / 0.5245 GB, free: 13.15 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.325e-05/0.005114, allocations: 40 kB / 0.5245 GB, free: 13.11 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.351e-05/0.005167, allocations: 40 kB / 0.5246 GB, free: 13.07 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.005275, allocations: 135.6 kB / 0.5247 GB, free: 12.94 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.005394, allocations: 148.2 kB / 0.5248 GB, free: 12.8 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.005742, allocations: 439.5 kB / 0.5253 GB, free: 12.37 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005745, allocations: 0 / 0.5253 GB, free: 12.37 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005746, allocations: 1.469 kB / 0.5253 GB, free: 12.37 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.005751, allocations: 0 / 0.5253 GB, free: 12.37 MB / 458.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.001141/0.006891, allocations: 0.9455 MB / 0.5262 GB, free: 11.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.006925, allocations: 9.375 kB / 0.5262 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.007033, allocations: 64.66 kB / 0.5263 GB, free: 11.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.0073, allocations: 278.8 kB / 0.5265 GB, free: 10.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.007339, allocations: 27.89 kB / 0.5266 GB, free: 10.95 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.007388, allocations: 32.3 kB / 0.5266 GB, free: 10.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.007763, allocations: 219 kB / 0.5268 GB, free: 10.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.007771, allocations: 192 / 0.5268 GB, free: 10.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.007792, allocations: 4.359 kB / 0.5268 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.007801, allocations: 6.062 kB / 0.5268 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.00791, allocations: 59.84 kB / 0.5269 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007393/0.008649, allocations: 0.6152 MB / 0.5275 GB, free: 9.996 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.008854, allocations: 126.5 kB / 0.5276 GB, free: 9.867 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.955e-05/0.008953, allocations: 66.72 kB / 0.5276 GB, free: 9.801 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.008972, allocations: 5.719 kB / 0.5277 GB, free: 9.797 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.009176, allocations: 182 kB / 0.5278 GB, free: 9.613 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.009177, allocations: 3.938 kB / 0.5278 GB, free: 9.609 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005437/0.009721, allocations: 376.5 kB / 0.5282 GB, free: 9.246 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.009761, allocations: 63.92 kB / 0.5282 GB, free: 9.172 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.01004, allocations: 432.2 kB / 0.5287 GB, free: 8.738 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.01008, allocations: 45.69 kB / 0.5287 GB, free: 8.688 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/0.01015, allocations: 148.1 kB / 0.5288 GB, free: 8.535 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.01018, allocations: 43.69 kB / 0.5289 GB, free: 8.492 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.01031, allocations: 136.1 kB / 0.529 GB, free: 8.352 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.01043, allocations: 0.4962 MB / 0.5295 GB, free: 7.844 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.01065, allocations: 183.3 kB / 0.5297 GB, free: 7.652 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.01087, allocations: 262.2 kB / 0.5299 GB, free: 7.355 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.01111, allocations: 279.2 kB / 0.5302 GB, free: 7.043 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01112, allocations: 0 / 0.5302 GB, free: 7.043 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005819/0.0117, allocations: 0.5858 MB / 0.5308 GB, free: 6.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.249e-05/0.01176, allocations: 97.2 kB / 0.5309 GB, free: 6.324 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.01177, allocations: 0 / 0.5309 GB, free: 6.324 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.01178, allocations: 4 kB / 0.5309 GB, free: 6.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.01191, allocations: 31.92 kB / 0.5309 GB, free: 6.289 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.01191, allocations: 7.984 kB / 0.5309 GB, free: 6.281 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.0121, allocations: 49.05 kB / 0.5309 GB, free: 6.234 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/0.01215, allocations: 57.7 kB / 0.531 GB, free: 6.18 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.0001292/0.01228, allocations: 187.1 kB / 0.5312 GB, free: 5.988 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.01234, allocations: 51.7 kB / 0.5312 GB, free: 5.938 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.01238, allocations: 33.41 kB / 0.5313 GB, free: 5.906 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01238, allocations: 4 kB / 0.5313 GB, free: 5.902 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01239, allocations: 0 / 0.5313 GB, free: 5.902 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01239, allocations: 0 / 0.5313 GB, free: 5.902 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006756/0.01307, allocations: 0.705 MB / 0.532 GB, free: 5.164 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01307, allocations: 0 / 0.532 GB, free: 5.164 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.538e-05/0.01309, allocations: 4 kB / 0.532 GB, free: 5.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.0131, allocations: 4 kB / 0.532 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.01312, allocations: 19.97 kB / 0.532 GB, free: 5.137 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.01312, allocations: 0.9375 kB / 0.532 GB, free: 5.137 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01313, allocations: 3.984 kB / 0.532 GB, free: 5.133 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.01353, allocations: 473.1 kB / 0.5324 GB, free: 4.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.0137, allocations: 174.6 kB / 0.5326 GB, free: 4.488 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.01376, allocations: 12 kB / 0.5326 GB, free: 4.477 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.01391, allocations: 29.33 kB / 0.5326 GB, free: 4.449 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.01394, allocations: 7.984 kB / 0.5326 GB, free: 4.441 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.01399, allocations: 59.97 kB / 0.5327 GB, free: 4.383 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003155/0.0143, allocations: 279.1 kB / 0.533 GB, free: 4.109 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0143, allocations: 0.625 kB / 0.533 GB, free: 4.109 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002398/0.01454, allocations: 71.94 kB / 0.533 GB, free: 4.039 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.0001365/0.01468, allocations: 121.4 kB / 0.5332 GB, free: 3.914 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004822/0.01516, allocations: 459.3 kB / 0.5336 GB, free: 3.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01516, allocations: 0 / 0.5336 GB, free: 3.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.01528, allocations: 88.56 kB / 0.5337 GB, free: 3.348 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.01557, allocations: 56.56 kB / 0.5337 GB, free: 3.297 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.01619, allocations: 0.4898 MB / 0.5342 GB, free: 2.785 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.736e-05/0.01625, allocations: 91.8 kB / 0.5343 GB, free: 2.676 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.796e-05/0.01629, allocations: 15.83 kB / 0.5343 GB, free: 2.664 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.01632, allocations: 16.5 kB / 0.5343 GB, free: 2.648 MB / 458.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01633, allocations: 0 / 0.5343 GB, free: 2.648 MB / 458.7 MB Notification: Performance of Templates: time 0.007658/0.02398, allocations: 6.386 MB / 0.5406 GB, free: 12.36 MB / 474.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 -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.827031334862113]