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.001395/0.001395, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001555/0.001555, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.237/1.237, allocations: 154.8 MB / 414.4 MB, free: 436 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 178] 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 2.044e-06/2.044e-06, allocations: 0 / 0.5199 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.927e-05, allocations: 2.969 kB / 0.5199 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003266/0.003295, allocations: 1.713 MB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.004863, allocations: 0.6108 MB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.535e-05/0.004949, allocations: 1 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.005053, allocations: 11.86 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.005199, allocations: 39.72 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.006216, allocations: 372.4 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009174/0.007133, allocations: 0.6009 MB / 0.5232 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.007239, allocations: 21.3 kB / 0.5232 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007288/0.007968, allocations: 424.2 kB / 0.5236 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003649/0.008332, allocations: 141.6 kB / 0.5237 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.008451, allocations: 40 kB / 0.5238 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.00856, allocations: 40 kB / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.008719, allocations: 128.9 kB / 0.5239 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.008934, allocations: 151.7 kB / 0.5241 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008247/0.009759, allocations: 0.6505 MB / 0.5247 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.009763, allocations: 1.781 kB / 0.5247 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.009764, allocations: 0 / 0.5247 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.009777, allocations: 0 / 0.5247 GB, free: 13.31 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.001608/0.01139, allocations: 0.83 MB / 0.5255 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.01142, allocations: 13.78 kB / 0.5255 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.01162, allocations: 60.66 kB / 0.5256 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.01209, allocations: 283.9 kB / 0.5259 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/0.01215, allocations: 20.36 kB / 0.5259 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.733e-05/0.01224, allocations: 33.92 kB / 0.5259 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.01337, allocations: 255.5 kB / 0.5261 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.01338, allocations: 0.9375 kB / 0.5262 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.01342, allocations: 384 / 0.5262 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.01343, allocations: 5.844 kB / 0.5262 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008587/0.01429, allocations: 133.2 kB / 0.5263 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.01565, allocations: 0.54 MB / 0.5268 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.01679, allocations: 188 kB / 0.527 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008286/0.01762, allocations: 125.3 kB / 0.5271 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.01765, allocations: 7.984 kB / 0.5271 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/0.01874, allocations: 241.6 kB / 0.5273 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.01875, allocations: 3.938 kB / 0.5274 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.002907/0.02165, allocations: 0.5417 MB / 0.5279 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.02172, allocations: 67.33 kB / 0.5279 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005848/0.0223, allocations: 444.7 kB / 0.5284 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.034e-05/0.02238, allocations: 37.7 kB / 0.5284 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.0225, allocations: 101.4 kB / 0.5285 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/0.02256, allocations: 47.67 kB / 0.5285 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.02281, allocations: 133.5 kB / 0.5287 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.023, allocations: 322.8 kB / 0.529 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.0234, allocations: 219.3 kB / 0.5292 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004243/0.02382, allocations: 273.9 kB / 0.5295 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.02429, allocations: 297 kB / 0.5297 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.02429, allocations: 0 / 0.5297 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001235/0.02553, allocations: 0.633 MB / 0.5304 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.02563, allocations: 95.31 kB / 0.5304 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.02564, allocations: 2.438 kB / 0.5304 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.02567, allocations: 7.984 kB / 0.5305 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.02583, allocations: 19.92 kB / 0.5305 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.02584, allocations: 4 kB / 0.5305 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.02638, allocations: 70.31 kB / 0.5305 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.02649, allocations: 63.98 kB / 0.5306 GB, free: 6.973 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.0002907/0.02678, allocations: 220.3 kB / 0.5308 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.886e-05/0.02688, allocations: 47.7 kB / 0.5309 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.971e-05/0.02696, allocations: 46.31 kB / 0.5309 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.02696, allocations: 0 / 0.5309 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.02697, allocations: 0 / 0.5309 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.02697, allocations: 4 kB / 0.5309 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.02937, allocations: 0.7441 MB / 0.5316 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.02937, allocations: 0 / 0.5316 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.02941, allocations: 8 kB / 0.5316 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.02941, allocations: 0 / 0.5316 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.434e-05/0.02945, allocations: 23.97 kB / 0.5317 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.02946, allocations: 0 / 0.5317 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.02946, allocations: 0 / 0.5317 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.0314, allocations: 0.5206 MB / 0.5322 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.03172, allocations: 185.4 kB / 0.5324 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.898e-05/0.0318, allocations: 16 kB / 0.5324 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000503/0.03231, allocations: 45.52 kB / 0.5324 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.03234, allocations: 7.984 kB / 0.5324 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.561e-05/0.03242, allocations: 53.27 kB / 0.5325 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003806/0.0328, allocations: 323.1 kB / 0.5328 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.0328, allocations: 0 / 0.5328 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003878/0.03319, allocations: 68.61 kB / 0.5328 GB, free: 4.629 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.0001945/0.03338, allocations: 128 kB / 0.533 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.03488, allocations: 0.5276 MB / 0.5335 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.03489, allocations: 4 kB / 0.5335 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000818/0.0357, allocations: 129.8 kB / 0.5336 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.03616, allocations: 65.52 kB / 0.5337 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.03789, allocations: 0.6272 MB / 0.5343 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.03812, allocations: 180.8 kB / 0.5345 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.169e-05/0.03819, allocations: 20.47 kB / 0.5345 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.03825, allocations: 16.5 kB / 0.5345 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/0.03825, allocations: 0 / 0.5345 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of Templates: time 0.01224/0.05049, allocations: 6.375 MB / 0.5407 GB, free: 12.61 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.964496324886568]