Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.001518/0.001518, allocations: 88.22 kB / 20.18 MB, free: 4.352 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.001169/0.001169, allocations: 169 kB / 23.5 MB, free: 1.039 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.052/1.052, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.8334/0.8334, 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.5206 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.752e-05, allocations: 4 kB / 0.5206 GB, free: 2.215 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.00218/0.002207, allocations: 1.762 MB / 0.5223 GB, free: 472 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.003292, allocations: 0.6145 MB / 0.5229 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.382e-05/0.003376, allocations: 1.438 kB / 0.5229 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.003477, allocations: 11.86 kB / 0.523 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.003594, allocations: 35.78 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007593/0.004354, allocations: 379 kB / 0.5234 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004788/0.004832, allocations: 0.59 MB / 0.5239 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.004939, allocations: 25.28 kB / 0.524 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004177/0.005356, allocations: 422.6 kB / 0.5244 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.005577, allocations: 143.5 kB / 0.5245 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.809e-05/0.005635, allocations: 40 kB / 0.5245 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.527e-05/0.005691, allocations: 40 kB / 0.5246 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.005795, allocations: 131.6 kB / 0.5247 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.005922, allocations: 147.7 kB / 0.5248 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.00628, allocations: 443.2 kB / 0.5253 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006282, allocations: 0 / 0.5253 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.42e-07/0.006283, allocations: 1.188 kB / 0.5253 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.006289, allocations: 0 / 0.5253 GB, free: 13.48 MB / 0.4948 GB 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.0009733/0.007263, allocations: 0.9387 MB / 0.5262 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.007302, allocations: 8.031 kB / 0.5262 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.00743, allocations: 69.61 kB / 0.5262 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.007721, allocations: 282.7 kB / 0.5265 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.007762, allocations: 24.38 kB / 0.5265 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/0.007818, allocations: 33.3 kB / 0.5266 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.00821, allocations: 223.6 kB / 0.5268 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.008218, allocations: 0.7812 kB / 0.5268 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.008238, allocations: 384 / 0.5268 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.008247, allocations: 5.562 kB / 0.5268 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.008363, allocations: 59.91 kB / 0.5269 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008079/0.00917, allocations: 0.6104 MB / 0.5274 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.009383, allocations: 122.4 kB / 0.5276 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.009487, allocations: 68.97 kB / 0.5276 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.009507, allocations: 4 kB / 0.5276 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.009722, allocations: 188.8 kB / 0.5278 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.009723, allocations: 0 / 0.5278 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.00056/0.01028, allocations: 380.9 kB / 0.5282 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.01032, allocations: 63.41 kB / 0.5282 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.01062, allocations: 431.3 kB / 0.5286 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.01066, allocations: 45.69 kB / 0.5287 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.01073, allocations: 148.8 kB / 0.5288 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.01077, allocations: 43.69 kB / 0.5289 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.0109, allocations: 139.6 kB / 0.529 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.01102, allocations: 0.4977 MB / 0.5295 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.01124, allocations: 175.3 kB / 0.5297 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.01146, allocations: 257 kB / 0.5299 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.01171, allocations: 284.4 kB / 0.5302 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01172, allocations: 0.875 kB / 0.5302 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005945/0.01231, allocations: 0.5819 MB / 0.5307 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.2e-05/0.01237, allocations: 88.38 kB / 0.5308 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.01238, allocations: 0 / 0.5308 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.0124, allocations: 4 kB / 0.5308 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.01252, allocations: 41.09 kB / 0.5309 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.01253, allocations: 4 kB / 0.5309 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.01272, allocations: 50.23 kB / 0.5309 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/0.01278, allocations: 55.98 kB / 0.531 GB, free: 7.316 MB / 0.4948 GB 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.0001382/0.01291, allocations: 187.1 kB / 0.5312 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.01297, allocations: 55.69 kB / 0.5312 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.01301, allocations: 30.05 kB / 0.5312 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01302, allocations: 4 kB / 0.5312 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.01302, allocations: 0 / 0.5312 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01302, allocations: 0 / 0.5312 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000672/0.0137, allocations: 0.7072 MB / 0.5319 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.0137, allocations: 0 / 0.5319 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.01372, allocations: 4 kB / 0.5319 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.269e-06/0.01373, allocations: 8 kB / 0.5319 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.01375, allocations: 23.97 kB / 0.532 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01375, allocations: 0 / 0.532 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01375, allocations: 0 / 0.532 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.01415, allocations: 469.8 kB / 0.5324 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.01433, allocations: 177.5 kB / 0.5326 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/0.01438, allocations: 15.98 kB / 0.5326 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.01453, allocations: 28.7 kB / 0.5326 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.01456, allocations: 7.984 kB / 0.5326 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.01461, allocations: 61.84 kB / 0.5327 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001777/0.01478, allocations: 279.1 kB / 0.533 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01478, allocations: 0 / 0.533 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002502/0.01503, allocations: 64 kB / 0.533 GB, free: 5.172 MB / 0.4948 GB 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.0001357/0.01517, allocations: 130 kB / 0.5331 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004838/0.01565, allocations: 452 kB / 0.5336 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01565, allocations: 0 / 0.5336 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.01577, allocations: 92.28 kB / 0.5337 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.01607, allocations: 57.3 kB / 0.5337 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/0.01669, allocations: 498.7 kB / 0.5342 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.222e-05/0.01674, allocations: 88.31 kB / 0.5343 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.348e-05/0.01678, allocations: 21.09 kB / 0.5343 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.01682, allocations: 20.48 kB / 0.5343 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of SimCode: time 8.11e-07/0.01682, allocations: 0 / 0.5343 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.007614/0.02444, allocations: 6.372 MB / 0.5405 GB, free: 13.47 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.134295615134761]